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.0009587/0.0009587, allocations: 83.69 kB / 20.45 MB, free: 4.125 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.001019/0.001019, allocations: 169 kB / 23.82 MB, free: 0.7539 MB / 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.9492/0.9492, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.888/1.888, allocations: 377.8 MB / 0.6236 GB, free: 8.555 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 1.563e-06/1.563e-06, allocations: 0 / 0.8115 GB, free: 1.801 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.217e-05/2.374e-05, allocations: 6.781 kB / 0.8115 GB, free: 1.793 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.001903/0.001926, allocations: 1.57 MB / 0.813 GB, free: 240 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001002/0.002928, allocations: 0.5354 MB / 0.8135 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.486e-05/0.002993, allocations: 0 / 0.8135 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001045/0.003098, allocations: 13.45 kB / 0.8136 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001117/0.003209, allocations: 27.8 kB / 0.8136 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006866/0.003896, allocations: 320.5 kB / 0.8139 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003935/0.004289, allocations: 483.4 kB / 0.8143 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.697e-05/0.004326, allocations: 5.656 kB / 0.8144 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003471/0.004673, allocations: 355.6 kB / 0.8147 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002013/0.004875, allocations: 124.4 kB / 0.8148 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.365e-05/0.004938, allocations: 28 kB / 0.8148 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.16e-05/0.00499, allocations: 28.97 kB / 0.8149 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.919e-05/0.005089, allocations: 119.6 kB / 0.815 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001128/0.005202, allocations: 131.7 kB / 0.8151 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003086/0.005511, allocations: 376 kB / 0.8155 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.005513, allocations: 0 / 0.8155 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.31e-07/0.005513, allocations: 0 / 0.8155 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.005519, allocations: 1.375 kB / 0.8155 GB, free: 13.73 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.0009/0.006419, allocations: 0.9105 MB / 0.8164 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.006454, allocations: 9.781 kB / 0.8164 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.006562, allocations: 60.66 kB / 0.8164 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002763/0.006838, allocations: 254.8 kB / 0.8167 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.696e-05/0.006885, allocations: 20.36 kB / 0.8167 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.154e-05/0.006937, allocations: 28.36 kB / 0.8167 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003543/0.007291, allocations: 206.2 kB / 0.8169 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.007301, allocations: 4.688 kB / 0.8169 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.225e-05/0.007324, allocations: 12.36 kB / 0.8169 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.007331, allocations: 2.125 kB / 0.8169 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.007437, allocations: 59.62 kB / 0.817 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002845/0.007722, allocations: 309.2 kB / 0.8173 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.007924, allocations: 122 kB / 0.8174 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.008031, allocations: 66.38 kB / 0.8175 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.008054, allocations: 5.906 kB / 0.8175 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001987/0.008253, allocations: 190 kB / 0.8176 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.823e-06/0.008255, allocations: 0 / 0.8176 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0005396/0.008795, allocations: 379.1 kB / 0.818 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.008834, allocations: 63.41 kB / 0.8181 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002641/0.009098, allocations: 422.6 kB / 0.8185 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.584e-05/0.009134, allocations: 41.69 kB / 0.8185 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.863e-05/0.009192, allocations: 140.1 kB / 0.8186 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.572e-05/0.009228, allocations: 39.73 kB / 0.8187 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.009351, allocations: 139.1 kB / 0.8188 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.00946, allocations: 0.4923 MB / 0.8193 GB, free: 9.613 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002024/0.009663, allocations: 183.2 kB / 0.8195 GB, free: 9.422 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/0.009873, allocations: 245.1 kB / 0.8197 GB, free: 9.141 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002353/0.01011, allocations: 275.1 kB / 0.82 GB, free: 8.832 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.01011, allocations: 0 / 0.82 GB, free: 8.832 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005523/0.01066, allocations: 0.5598 MB / 0.8205 GB, free: 8.242 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.759e-05/0.01071, allocations: 79.38 kB / 0.8206 GB, free: 8.152 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.01072, allocations: 4 kB / 0.8206 GB, free: 8.148 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.01073, allocations: 4 kB / 0.8206 GB, free: 8.145 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.01086, allocations: 35.91 kB / 0.8206 GB, free: 8.109 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.01087, allocations: 3.938 kB / 0.8206 GB, free: 8.105 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/0.01104, allocations: 47.86 kB / 0.8207 GB, free: 8.059 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.954e-05/0.0111, allocations: 59.98 kB / 0.8207 GB, free: 8 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.0001149/0.01121, allocations: 186.7 kB / 0.8209 GB, free: 7.809 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.158e-05/0.01127, allocations: 47.77 kB / 0.821 GB, free: 7.762 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.236e-05/0.01131, allocations: 35.67 kB / 0.821 GB, free: 7.723 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.01131, allocations: 4 kB / 0.821 GB, free: 7.719 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.01132, allocations: 4 kB / 0.821 GB, free: 7.715 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.01132, allocations: 3.938 kB / 0.821 GB, free: 7.711 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006628/0.01198, allocations: 0.6692 MB / 0.8217 GB, free: 6.996 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.01198, allocations: 4 kB / 0.8217 GB, free: 6.992 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.532e-05/0.01201, allocations: 7.938 kB / 0.8217 GB, free: 6.984 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.01201, allocations: 0 / 0.8217 GB, free: 6.984 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.475e-05/0.01204, allocations: 27.91 kB / 0.8217 GB, free: 6.957 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.01204, allocations: 0 / 0.8217 GB, free: 6.957 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01204, allocations: 0 / 0.8217 GB, free: 6.957 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003819/0.01242, allocations: 470.2 kB / 0.8221 GB, free: 6.48 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001439/0.01256, allocations: 121.5 kB / 0.8223 GB, free: 6.359 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.62e-05/0.01261, allocations: 19.94 kB / 0.8223 GB, free: 6.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.01276, allocations: 23.97 kB / 0.8223 GB, free: 6.316 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.719e-05/0.01279, allocations: 7.984 kB / 0.8223 GB, free: 6.309 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-05/0.01283, allocations: 59.97 kB / 0.8224 GB, free: 6.25 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001524/0.01298, allocations: 271.1 kB / 0.8226 GB, free: 5.988 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01298, allocations: 0 / 0.8226 GB, free: 5.988 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002264/0.01321, allocations: 67.98 kB / 0.8227 GB, free: 5.922 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 9.125e-05/0.0133, allocations: 111.8 kB / 0.8228 GB, free: 5.805 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004642/0.01377, allocations: 429.6 kB / 0.8232 GB, free: 5.344 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01377, allocations: 0 / 0.8232 GB, free: 5.344 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.01388, allocations: 87.89 kB / 0.8233 GB, free: 5.254 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.01413, allocations: 57.55 kB / 0.8233 GB, free: 5.195 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007149/0.01484, allocations: 479 kB / 0.8238 GB, free: 4.695 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.698e-05/0.01489, allocations: 87.8 kB / 0.8239 GB, free: 4.59 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.281e-05/0.01492, allocations: 13.16 kB / 0.8239 GB, free: 4.578 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.315e-05/0.01496, allocations: 16.48 kB / 0.8239 GB, free: 4.562 MB / 0.7761 GB Notification: Performance of SimCode: time 5.41e-07/0.01496, allocations: 4 kB / 0.8239 GB, free: 4.559 MB / 0.7761 GB Notification: Performance of Templates: time 0.007055/0.02201, allocations: 5.891 MB / 0.8297 GB, free: 14.62 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.243032647296786]