Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6833/0.6833, allocations: 127.3 MB / 139.8 MB, free: 15.43 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001059/0.001059, allocations: 187.7 kB / 169.7 MB, free: 1.723 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.629/1.629, allocations: 205.1 MB / 404.5 MB, free: 1.648 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001224/0.001224, allocations: 102.1 kB / 481.8 MB, free: 4.297 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.875e-05/2.903e-05, allocations: 0 / 0.5533 GB, free: 54.75 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1452, allocations: 76.77 MB / 0.6282 GB, free: 9.926 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4891/0.6344, allocations: 104.5 MB / 0.7303 GB, free: 8.879 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/0.6347, allocations: 77.19 kB / 0.7304 GB, free: 8.836 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01335/0.6481, allocations: 4.68 MB / 0.7349 GB, free: 4.781 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.6481, allocations: 0 / 0.7349 GB, free: 4.781 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.357e-06/0.6481, allocations: 4 kB / 0.7349 GB, free: 4.777 MB / 490.7 MB 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.0008029/0.6489, allocations: 0.5387 MB / 0.7355 GB, free: 4.188 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.649, allocations: 12.03 kB / 0.7355 GB, free: 4.176 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.781e-05/0.649, allocations: 34.06 kB / 0.7355 GB, free: 4.137 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.622e-05/0.6491, allocations: 39.66 kB / 0.7356 GB, free: 4.098 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001799/0.6493, allocations: 191.9 kB / 0.7357 GB, free: 3.867 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.762e-05/0.6494, allocations: 11.94 kB / 0.7357 GB, free: 3.859 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.883e-05/0.6495, allocations: 15.98 kB / 0.7358 GB, free: 3.844 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000265/0.6497, allocations: 130.9 kB / 0.7359 GB, free: 3.73 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.6497, allocations: 4 kB / 0.7359 GB, free: 3.727 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.387e-05/0.6498, allocations: 7.938 kB / 0.7359 GB, free: 3.723 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.6498, allocations: 0 / 0.7359 GB, free: 3.723 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.6499, allocations: 49.81 kB / 0.7359 GB, free: 3.684 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003645/0.6503, allocations: 314.1 kB / 0.7362 GB, free: 3.375 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002144/0.6505, allocations: 115.2 kB / 0.7364 GB, free: 3.285 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.6506, allocations: 63.64 kB / 0.7364 GB, free: 3.234 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.6506, allocations: 0 / 0.7364 GB, free: 3.234 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003493/0.651, allocations: 207.9 kB / 0.7366 GB, free: 3.043 MB / 490.7 MB Notification: Performance of pre-optimization done (n=18): time 3.146e-06/0.651, allocations: 0 / 0.7366 GB, free: 3.043 MB / 490.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004484/0.6515, allocations: 211.2 kB / 0.7368 GB, free: 2.863 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.6515, allocations: 62.64 kB / 0.7369 GB, free: 2.793 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.6517, allocations: 196.8 kB / 0.7371 GB, free: 2.625 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.137e-05/0.6518, allocations: 37.02 kB / 0.7371 GB, free: 2.586 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.421e-05/0.6519, allocations: 100.2 kB / 0.7372 GB, free: 2.488 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.601e-05/0.6519, allocations: 45.89 kB / 0.7372 GB, free: 2.453 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.806e-05/0.652, allocations: 7.688 kB / 0.7372 GB, free: 2.449 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.6521, allocations: 326.3 kB / 0.7376 GB, free: 2.125 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/0.6523, allocations: 87.53 kB / 0.7376 GB, free: 2.066 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002276/0.6525, allocations: 143.5 kB / 0.7378 GB, free: 1.941 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002148/0.6528, allocations: 157.3 kB / 0.7379 GB, free: 1.801 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.6528, allocations: 0 / 0.7379 GB, free: 1.801 MB / 490.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006695/0.6535, allocations: 392.1 kB / 0.7383 GB, free: 1.465 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.769e-05/0.6535, allocations: 82.62 kB / 0.7384 GB, free: 1.379 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.6535, allocations: 4 kB / 0.7384 GB, free: 1.375 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.6536, allocations: 4 kB / 0.7384 GB, free: 1.371 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.6537, allocations: 23.92 kB / 0.7384 GB, free: 1.348 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.6538, allocations: 0 / 0.7384 GB, free: 1.348 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003472/0.6541, allocations: 51.25 kB / 0.7385 GB, free: 1.301 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.182e-05/0.6542, allocations: 47.17 kB / 0.7385 GB, free: 1.258 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001194/0.6543, allocations: 133.9 kB / 0.7386 GB, free: 1.133 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.264e-05/0.6544, allocations: 19.81 kB / 0.7386 GB, free: 1.113 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.903e-05/0.6544, allocations: 20.45 kB / 0.7387 GB, free: 1.102 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.6544, allocations: 4 kB / 0.7387 GB, free: 1.098 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.6544, allocations: 0 / 0.7387 GB, free: 1.098 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.6545, allocations: 0 / 0.7387 GB, free: 1.098 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007542/0.6552, allocations: 0.5385 MB / 0.7392 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.6552, allocations: 0 / 0.7392 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.275e-05/0.6553, allocations: 11.98 kB / 0.7392 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.6553, allocations: 0 / 0.7392 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.516e-05/0.6553, allocations: 11.23 kB / 0.7392 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.6553, allocations: 4 kB / 0.7392 GB, free: 0.543 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.6553, allocations: 0 / 0.7392 GB, free: 0.543 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003598/0.6557, allocations: 308.8 kB / 0.7395 GB, free: 268 kB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001481/0.6559, allocations: 142.1 kB / 0.7397 GB, free: 116 kB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.529e-05/0.6559, allocations: 7.438 kB / 0.7397 GB, free: 112 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.6561, allocations: 19.17 kB / 0.7397 GB, free: 96 kB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.458e-05/0.6562, allocations: 11.98 kB / 0.7397 GB, free: 84 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.636e-05/0.6562, allocations: 31.03 kB / 0.7397 GB, free: 56 kB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001392/0.6563, allocations: 160.6 kB / 0.7399 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6564, allocations: 3.938 kB / 0.7399 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003028/0.6567, allocations: 54.48 kB / 0.7399 GB, free: 15.87 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$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.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,calTim.year) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007075/0.6574, allocations: 0.8627 MB / 0.7408 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004766/0.6579, allocations: 334.3 kB / 0.7411 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.6579, allocations: 0 / 0.7411 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.658, allocations: 74.25 kB / 0.7412 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002253/0.6582, allocations: 19.97 kB / 0.7412 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006336/0.6589, allocations: 272.6 kB / 0.7414 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.6592, allocations: 0.7282 MB / 0.7422 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001124/0.6593, allocations: 37.14 kB / 0.7422 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.6595, allocations: 44.2 kB / 0.7422 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of SimCode: time 2.4e-07/0.6595, allocations: 0 / 0.7422 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01708/0.6766, allocations: 4.998 MB / 0.7471 GB, free: 8.695 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001747/0.6768, allocations: 170.5 kB / 0.7473 GB, free: 8.469 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.651/2.328, allocations: 3.938 kB / 0.7473 GB, free: 8.465 MB / 0.4948 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)