Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008999/0.0008999, allocations: 71.75 kB / 20.97 MB, free: 3.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009479/0.0009479, allocations: 169.3 kB / 24.28 MB, free: 280 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9354/0.9354, allocations: 177.1 MB / 204.6 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.885/1.885, allocations: 377.9 MB / 0.6239 GB, free: 8.574 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 0.8115 GB, free: 2.141 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.514e-05/2.721e-05, allocations: 5.125 kB / 0.8115 GB, free: 2.137 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.003047/0.003075, allocations: 1.556 MB / 0.813 GB, free: 0.5898 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001407/0.004481, allocations: 0.5464 MB / 0.8135 GB, free: 44 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.06e-05/0.004552, allocations: 5.531 kB / 0.8135 GB, free: 40 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001148/0.004667, allocations: 11.86 kB / 0.8136 GB, free: 28 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001227/0.004789, allocations: 19.88 kB / 0.8136 GB, free: 8 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007832/0.005573, allocations: 316.7 kB / 0.8139 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000367/0.00594, allocations: 487.4 kB / 0.8143 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.43e-05/0.005984, allocations: 4.875 kB / 0.8143 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000341/0.006325, allocations: 355.6 kB / 0.8147 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000196/0.006521, allocations: 128.7 kB / 0.8148 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.623e-05/0.006567, allocations: 24.78 kB / 0.8148 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.91e-05/0.006616, allocations: 28 kB / 0.8149 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.837e-05/0.006715, allocations: 116.3 kB / 0.815 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.006827, allocations: 136.2 kB / 0.8151 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002995/0.007126, allocations: 374.8 kB / 0.8155 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.007129, allocations: 0.6875 kB / 0.8155 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.543e-06/0.00713, allocations: 0 / 0.8155 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.007135, allocations: 5.375 kB / 0.8155 GB, free: 14.08 MB / 0.7761 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.0008556/0.007991, allocations: 0.9027 MB / 0.8163 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.008027, allocations: 13.72 kB / 0.8164 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.008139, allocations: 64.66 kB / 0.8164 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.008393, allocations: 250.9 kB / 0.8167 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.784e-05/0.008431, allocations: 20.36 kB / 0.8167 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.866e-05/0.00848, allocations: 32.36 kB / 0.8167 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003678/0.008847, allocations: 210.4 kB / 0.8169 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.008854, allocations: 192 / 0.8169 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.138e-05/0.008876, allocations: 4.875 kB / 0.8169 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.008883, allocations: 1.969 kB / 0.8169 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.008985, allocations: 55.5 kB / 0.817 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000283/0.009268, allocations: 309.3 kB / 0.8173 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002059/0.009474, allocations: 126 kB / 0.8174 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.009577, allocations: 65.16 kB / 0.8174 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.009597, allocations: 4 kB / 0.8174 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002072/0.009805, allocations: 190.6 kB / 0.8176 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/0.009806, allocations: 0 / 0.8176 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0005447/0.01035, allocations: 384.9 kB / 0.818 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.01039, allocations: 63.34 kB / 0.8181 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002651/0.01066, allocations: 422.6 kB / 0.8185 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.917e-05/0.0107, allocations: 45.69 kB / 0.8185 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.384e-05/0.01076, allocations: 140.2 kB / 0.8186 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.766e-05/0.0108, allocations: 39.72 kB / 0.8187 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.01092, allocations: 135.1 kB / 0.8188 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.01104, allocations: 0.4923 MB / 0.8193 GB, free: 9.965 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002055/0.01125, allocations: 175.3 kB / 0.8195 GB, free: 9.781 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002045/0.01145, allocations: 245.1 kB / 0.8197 GB, free: 9.5 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002302/0.01168, allocations: 279.3 kB / 0.82 GB, free: 9.188 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.01168, allocations: 0 / 0.82 GB, free: 9.188 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000551/0.01223, allocations: 0.5508 MB / 0.8205 GB, free: 8.605 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.767e-05/0.0123, allocations: 87.38 kB / 0.8206 GB, free: 8.508 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.01231, allocations: 0 / 0.8206 GB, free: 8.508 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.01233, allocations: 4 kB / 0.8206 GB, free: 8.504 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.01247, allocations: 40.09 kB / 0.8206 GB, free: 8.465 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.01248, allocations: 11.94 kB / 0.8206 GB, free: 8.453 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001838/0.01267, allocations: 47.8 kB / 0.8207 GB, free: 8.406 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.485e-05/0.01272, allocations: 59.98 kB / 0.8207 GB, free: 8.348 MB / 0.7761 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.0001293/0.01285, allocations: 182.5 kB / 0.8209 GB, free: 8.16 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.48e-05/0.0129, allocations: 47.77 kB / 0.8209 GB, free: 8.113 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.581e-05/0.01295, allocations: 31.67 kB / 0.821 GB, free: 8.078 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.01295, allocations: 8 kB / 0.821 GB, free: 8.07 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.01296, allocations: 0 / 0.821 GB, free: 8.07 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.01296, allocations: 3.938 kB / 0.821 GB, free: 8.066 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007005/0.01366, allocations: 0.6731 MB / 0.8216 GB, free: 7.348 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.01367, allocations: 0 / 0.8216 GB, free: 7.348 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.031e-05/0.0137, allocations: 4 kB / 0.8217 GB, free: 7.344 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.0137, allocations: 0 / 0.8217 GB, free: 7.344 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.545e-05/0.01373, allocations: 27.91 kB / 0.8217 GB, free: 7.316 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.01373, allocations: 4 kB / 0.8217 GB, free: 7.312 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.01373, allocations: 4 kB / 0.8217 GB, free: 7.309 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003826/0.01411, allocations: 462.8 kB / 0.8221 GB, free: 6.84 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001403/0.01425, allocations: 125.5 kB / 0.8222 GB, free: 6.715 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.869e-05/0.0143, allocations: 11.94 kB / 0.8223 GB, free: 6.703 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/0.01446, allocations: 23.97 kB / 0.8223 GB, free: 6.68 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.941e-05/0.01449, allocations: 7.984 kB / 0.8223 GB, free: 6.672 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.221e-05/0.01453, allocations: 59.92 kB / 0.8223 GB, free: 6.613 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001496/0.01468, allocations: 279.1 kB / 0.8226 GB, free: 6.344 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01468, allocations: 0 / 0.8226 GB, free: 6.344 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002256/0.0149, allocations: 67.98 kB / 0.8227 GB, free: 6.277 MB / 0.7761 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.0001113/0.01501, allocations: 111.8 kB / 0.8228 GB, free: 6.16 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004504/0.01546, allocations: 425.6 kB / 0.8232 GB, free: 5.703 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.01547, allocations: 4.375 kB / 0.8232 GB, free: 5.699 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.01558, allocations: 91.52 kB / 0.8233 GB, free: 5.605 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.01585, allocations: 53.84 kB / 0.8233 GB, free: 5.555 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007556/0.0166, allocations: 492.2 kB / 0.8238 GB, free: 5.047 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.363e-05/0.01666, allocations: 83.81 kB / 0.8239 GB, free: 4.945 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.915e-05/0.0167, allocations: 17.12 kB / 0.8239 GB, free: 4.93 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.586e-05/0.01673, allocations: 24.48 kB / 0.8239 GB, free: 4.906 MB / 0.7761 GB Notification: Performance of SimCode: time 7.92e-07/0.01673, allocations: 0 / 0.8239 GB, free: 4.906 MB / 0.7761 GB Notification: Performance of Templates: time 0.006727/0.02346, allocations: 5.881 MB / 0.8297 GB, free: 14.98 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.16496130800806]