Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.001233/0.001233, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001333/0.001333, allocations: 161.4 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.9512/0.9512, 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.8/1.8, 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.CalendarTimeMonthsMinus,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.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,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.CalendarTimeMonthsMinus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.8115 GB, free: 1.777 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.232e-05/2.386e-05, allocations: 3.297 kB / 0.8115 GB, free: 1.773 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001987/0.002011, allocations: 1.581 MB / 0.813 GB, free: 208 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00118/0.003191, allocations: 0.5406 MB / 0.8136 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.569e-05/0.003257, allocations: 0 / 0.8136 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001089/0.003366, allocations: 7.922 kB / 0.8136 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001202/0.003486, allocations: 19.88 kB / 0.8136 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007114/0.004197, allocations: 328.7 kB / 0.8139 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003928/0.00459, allocations: 485 kB / 0.8144 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.802e-05/0.004628, allocations: 4 kB / 0.8144 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003593/0.004988, allocations: 359.6 kB / 0.8147 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002238/0.005211, allocations: 129.3 kB / 0.8148 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.899e-05/0.00527, allocations: 28 kB / 0.8149 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.786e-05/0.005328, allocations: 28 kB / 0.8149 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.738e-05/0.005426, allocations: 115.7 kB / 0.815 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.005537, allocations: 132.3 kB / 0.8151 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003228/0.00586, allocations: 375.6 kB / 0.8155 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.005863, allocations: 0 / 0.8155 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.272e-06/0.005864, allocations: 0.6875 kB / 0.8155 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.00587, allocations: 0 / 0.8155 GB, free: 13.7 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.0009172/0.006787, allocations: 0.9117 MB / 0.8164 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.006826, allocations: 8.031 kB / 0.8164 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001165/0.006943, allocations: 69.95 kB / 0.8164 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/0.007213, allocations: 254.9 kB / 0.8167 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.807e-05/0.007251, allocations: 20.36 kB / 0.8167 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.45e-05/0.007296, allocations: 24.36 kB / 0.8167 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003884/0.007684, allocations: 213.9 kB / 0.8169 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.007693, allocations: 192 / 0.8169 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.181e-05/0.007715, allocations: 4.375 kB / 0.8169 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.007724, allocations: 4.844 kB / 0.8169 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.007829, allocations: 64.97 kB / 0.817 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002995/0.008128, allocations: 308.4 kB / 0.8173 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.008321, allocations: 122.7 kB / 0.8174 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.566e-05/0.008417, allocations: 65.22 kB / 0.8175 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.008436, allocations: 4 kB / 0.8175 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002064/0.008643, allocations: 185.5 kB / 0.8177 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/0.008644, allocations: 3.25 kB / 0.8177 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0005216/0.009166, allocations: 372.1 kB / 0.818 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.009204, allocations: 67.41 kB / 0.8181 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002457/0.00945, allocations: 422.7 kB / 0.8185 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.629e-05/0.009486, allocations: 41.69 kB / 0.8185 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.651e-05/0.009552, allocations: 140.1 kB / 0.8187 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.543e-05/0.009588, allocations: 39.72 kB / 0.8187 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.009707, allocations: 135.1 kB / 0.8188 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.009813, allocations: 0.4923 MB / 0.8193 GB, free: 9.582 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/0.01001, allocations: 175.3 kB / 0.8195 GB, free: 9.398 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001909/0.0102, allocations: 249 kB / 0.8197 GB, free: 9.113 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002246/0.01042, allocations: 271.5 kB / 0.82 GB, free: 8.809 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.01042, allocations: 3.938 kB / 0.82 GB, free: 8.805 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006927/0.01112, allocations: 0.5586 MB / 0.8205 GB, free: 8.215 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.203e-05/0.01117, allocations: 82.22 kB / 0.8206 GB, free: 8.125 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.01117, allocations: 8 kB / 0.8206 GB, free: 8.117 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.01119, allocations: 4 kB / 0.8206 GB, free: 8.113 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.01132, allocations: 35.91 kB / 0.8206 GB, free: 8.078 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.01133, allocations: 3.938 kB / 0.8207 GB, free: 8.074 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001893/0.01151, allocations: 47.86 kB / 0.8207 GB, free: 8.027 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-05/0.01157, allocations: 63.98 kB / 0.8208 GB, free: 7.965 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.000125/0.01169, allocations: 186.5 kB / 0.8209 GB, free: 7.773 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.876e-05/0.01174, allocations: 47.77 kB / 0.821 GB, free: 7.727 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.911e-05/0.01178, allocations: 35.67 kB / 0.821 GB, free: 7.688 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.01179, allocations: 7.984 kB / 0.821 GB, free: 7.68 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.01179, allocations: 0 / 0.821 GB, free: 7.68 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.01179, allocations: 3.938 kB / 0.821 GB, free: 7.676 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006253/0.01242, allocations: 0.675 MB / 0.8217 GB, free: 6.957 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.01242, allocations: 0 / 0.8217 GB, free: 6.957 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.752e-05/0.01245, allocations: 4 kB / 0.8217 GB, free: 6.953 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.01245, allocations: 4 kB / 0.8217 GB, free: 6.949 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.909e-05/0.01248, allocations: 23.91 kB / 0.8217 GB, free: 6.926 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.01248, allocations: 0 / 0.8217 GB, free: 6.926 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.01249, allocations: 0 / 0.8217 GB, free: 6.926 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003658/0.01285, allocations: 463.9 kB / 0.8222 GB, free: 6.453 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.01298, allocations: 125.5 kB / 0.8223 GB, free: 6.328 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.506e-05/0.01303, allocations: 19.94 kB / 0.8223 GB, free: 6.309 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.01317, allocations: 19.97 kB / 0.8223 GB, free: 6.289 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.237e-05/0.0132, allocations: 11.98 kB / 0.8223 GB, free: 6.277 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.312e-05/0.01324, allocations: 63.97 kB / 0.8224 GB, free: 6.215 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001428/0.01338, allocations: 267.1 kB / 0.8226 GB, free: 5.957 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01338, allocations: 0 / 0.8226 GB, free: 5.957 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002177/0.0136, allocations: 67.98 kB / 0.8227 GB, free: 5.891 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.961e-05/0.0137, allocations: 115.8 kB / 0.8228 GB, free: 5.77 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004014/0.0141, allocations: 428.3 kB / 0.8232 GB, free: 5.312 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.0141, allocations: 0 / 0.8232 GB, free: 5.312 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.01422, allocations: 99.81 kB / 0.8233 GB, free: 5.211 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.01448, allocations: 47.84 kB / 0.8234 GB, free: 5.164 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006718/0.01515, allocations: 479 kB / 0.8238 GB, free: 4.664 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.887e-05/0.0152, allocations: 87.8 kB / 0.8239 GB, free: 4.559 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.244e-05/0.01523, allocations: 13.16 kB / 0.8239 GB, free: 4.547 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.174e-05/0.01526, allocations: 20.48 kB / 0.8239 GB, free: 4.527 MB / 0.7761 GB Notification: Performance of SimCode: time 6.61e-07/0.01526, allocations: 0 / 0.8239 GB, free: 4.527 MB / 0.7761 GB Notification: Performance of Templates: time 0.007295/0.02256, allocations: 6.494 MB / 0.8303 GB, free: 14 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.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: 4.967346684075892]