Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_10_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_10_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 193.1 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.522/2.522, allocations: 437 MB / 0.7104 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 59.91 kB / 0.8693 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.629/0.6304, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.003209/0.6337, allocations: 1.515 MB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001361/0.6351, allocations: 0.5383 MB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.617e-05/0.6352, allocations: 0 / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 9.835e-05/0.6353, allocations: 15.86 kB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001161/0.6354, allocations: 27.8 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008845/0.6363, allocations: 311 kB / 1.02 GB, free: 60 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0006196/0.637, allocations: 0.5071 MB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.332e-05/0.637, allocations: 8 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004781/0.6375, allocations: 267.7 kB / 1.021 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003401/0.6379, allocations: 139.6 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001449/0.638, allocations: 28 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.6381, allocations: 24 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001484/0.6383, allocations: 111.7 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002816/0.6386, allocations: 187 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005378/0.6391, allocations: 429 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.6391, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.352e-06/0.6391, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.378e-05/0.6392, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001309/0.6405, allocations: 0.8742 MB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.6405, allocations: 8.031 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.635e-05/0.6406, allocations: 42.69 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001326/0.6407, allocations: 48.47 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003768/0.6411, allocations: 310.2 kB / 1.023 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.912e-05/0.6412, allocations: 20.36 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.611e-05/0.6412, allocations: 28.36 kB / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009775/0.6422, allocations: 210 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.6423, allocations: 3.938 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.057e-05/0.6423, allocations: 3.984 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.6423, allocations: 4 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007858/0.6431, allocations: 103.9 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00044/0.6435, allocations: 385.2 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.6446, allocations: 186.4 kB / 1.024 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007691/0.6454, allocations: 112.8 kB / 1.024 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.6454, allocations: 0 / 1.024 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009689/0.6464, allocations: 227 kB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 2.034e-06/0.6464, allocations: 0 / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.002629/0.6491, allocations: 486.1 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/0.6491, allocations: 55.41 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004793/0.6496, allocations: 421.8 kB / 1.025 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.039e-05/0.6497, allocations: 37.7 kB / 1.025 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.863e-05/0.6498, allocations: 101.4 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.675e-05/0.6498, allocations: 35.48 kB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002001/0.65, allocations: 129.3 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.6501, allocations: 318.8 kB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002683/0.6504, allocations: 127.9 kB / 1.025 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002947/0.6507, allocations: 177.9 kB / 1.026 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003798/0.6511, allocations: 278.3 kB / 1.026 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.6511, allocations: 0 / 1.026 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008384/0.652, allocations: 0.4905 MB / 1.026 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.144e-05/0.6521, allocations: 92.88 kB / 1.026 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.6521, allocations: 4 kB / 1.026 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.6521, allocations: 4 kB / 1.026 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.6523, allocations: 16.17 kB / 1.027 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.6523, allocations: 11.94 kB / 1.027 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000529/0.6528, allocations: 59.78 kB / 1.027 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.422e-05/0.6529, allocations: 63.98 kB / 1.027 GB, free: 8.645 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (calTim.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.year) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002231/0.6532, allocations: 187.3 kB / 1.027 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.898e-05/0.6532, allocations: 47.41 kB / 1.027 GB, free: 8.41 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.695e-05/0.6533, allocations: 51.67 kB / 1.027 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.6533, allocations: 0 / 1.027 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.6533, allocations: 0 / 1.027 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.6533, allocations: 0 / 1.027 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002222/0.6556, allocations: 0.7364 MB / 1.028 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.6556, allocations: 0 / 1.028 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.875e-05/0.6556, allocations: 11.92 kB / 1.028 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.6556, allocations: 0 / 1.028 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.504e-05/0.6557, allocations: 19.98 kB / 1.028 GB, free: 7.527 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.6557, allocations: 3.984 kB / 1.028 GB, free: 7.523 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.6557, allocations: 0 / 1.028 GB, free: 7.523 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001759/0.6574, allocations: 475.9 kB / 1.028 GB, free: 7.043 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002416/0.6577, allocations: 200.5 kB / 1.028 GB, free: 6.828 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.519e-05/0.6578, allocations: 11.98 kB / 1.028 GB, free: 6.816 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004865/0.6583, allocations: 31.97 kB / 1.028 GB, free: 6.785 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.6583, allocations: 11.98 kB / 1.028 GB, free: 6.773 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.777e-05/0.6584, allocations: 59.95 kB / 1.028 GB, free: 6.715 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002869/0.6587, allocations: 295.1 kB / 1.029 GB, free: 6.434 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.31e-07/0.6587, allocations: 0 / 1.029 GB, free: 6.434 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003622/0.6591, allocations: 64 kB / 1.029 GB, free: 6.371 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002181/0.6613, allocations: 1.022 MB / 1.03 GB, free: 5.324 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00131/0.6626, allocations: 456.4 kB / 1.03 GB, free: 4.855 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.6626, allocations: 0 / 1.03 GB, free: 4.855 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0007797/0.6634, allocations: 119.8 kB / 1.03 GB, free: 4.738 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000408/0.6638, allocations: 37.05 kB / 1.03 GB, free: 4.703 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004143/0.668, allocations: 2.776 MB / 1.033 GB, free: 1.797 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003603/0.6683, allocations: 0.7783 MB / 1.034 GB, free: 0.9922 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.58e-05/0.6684, allocations: 17.08 kB / 1.034 GB, free: 0.9766 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.752e-05/0.6685, allocations: 23.42 kB / 1.034 GB, free: 0.9531 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.6685, allocations: 0 / 1.034 GB, free: 0.9531 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02388/0.6924, allocations: 6.117 MB / 1.04 GB, free: 10.8 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.459/8.151, allocations: 7.984 kB / 1.04 GB, free: 10.79 MB / 0.795 GB (rm -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu > Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)