Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.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.001795/0.001795, allocations: 80.2 kB / 19.18 MB, free: 2.527 MB / 14.72 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.002229/0.002229, allocations: 173.5 kB / 22.46 MB, free: 5.355 MB / 14.72 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 1.494/1.494, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.875/2.875, allocations: 359 MB / 0.6037 GB, free: 15 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Controls.OBC.CDL.Reals.Sources.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_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.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_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 0.951 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.215e-05/3.39e-05, allocations: 4.812 kB / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003295/0.003329, allocations: 1.723 MB / 0.9527 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001514/0.004843, allocations: 0.6155 MB / 0.9533 GB, free: 9.195 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.572e-05/0.004928, allocations: 0 / 0.9533 GB, free: 9.195 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001007/0.005029, allocations: 11.81 kB / 0.9533 GB, free: 9.184 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001516/0.005181, allocations: 35.78 kB / 0.9534 GB, free: 9.148 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.006232, allocations: 378.3 kB / 0.9537 GB, free: 8.781 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000838/0.00707, allocations: 0.6048 MB / 0.9543 GB, free: 8.176 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.007203, allocations: 29.22 kB / 0.9543 GB, free: 8.145 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007988/0.008002, allocations: 419.6 kB / 0.9547 GB, free: 7.734 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003919/0.008394, allocations: 135.7 kB / 0.9549 GB, free: 7.602 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001531/0.008547, allocations: 40 kB / 0.9549 GB, free: 7.562 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.00867, allocations: 40 kB / 0.9549 GB, free: 7.523 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001702/0.00884, allocations: 127.7 kB / 0.9551 GB, free: 7.398 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002347/0.009075, allocations: 155.7 kB / 0.9552 GB, free: 7.246 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008391/0.009914, allocations: 0.6428 MB / 0.9558 GB, free: 6.602 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.009918, allocations: 0 / 0.9558 GB, free: 6.602 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.012e-06/0.009919, allocations: 0 / 0.9558 GB, free: 6.602 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.647e-05/0.009946, allocations: 0 / 0.9558 GB, free: 6.602 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001886/0.01183, allocations: 0.8378 MB / 0.9567 GB, free: 5.691 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.01187, allocations: 12.03 kB / 0.9567 GB, free: 5.68 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001768/0.01205, allocations: 56.66 kB / 0.9567 GB, free: 5.625 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005012/0.01255, allocations: 287.9 kB / 0.957 GB, free: 5.32 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.863e-05/0.0126, allocations: 20.38 kB / 0.957 GB, free: 5.301 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.397e-05/0.01269, allocations: 32.36 kB / 0.957 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/0.0139, allocations: 252.2 kB / 0.9573 GB, free: 5.02 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.01391, allocations: 192 / 0.9573 GB, free: 5.02 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.45e-05/0.01394, allocations: 4.375 kB / 0.9573 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.01395, allocations: 384 / 0.9573 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008882/0.01484, allocations: 135.8 kB / 0.9574 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001428/0.01627, allocations: 0.5314 MB / 0.9579 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001209/0.01748, allocations: 194.5 kB / 0.9581 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008347/0.01831, allocations: 124.7 kB / 0.9582 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.01833, allocations: 4 kB / 0.9582 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001069/0.0194, allocations: 255.1 kB / 0.9585 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 2.194e-06/0.0194, allocations: 4 kB / 0.9585 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.002896/0.0223, allocations: 0.5305 MB / 0.959 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.085e-05/0.02237, allocations: 59.41 kB / 0.9591 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006229/0.02299, allocations: 449.8 kB / 0.9595 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001713/0.02316, allocations: 37.7 kB / 0.9595 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.0233, allocations: 105.3 kB / 0.9596 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.473e-05/0.02335, allocations: 39.78 kB / 0.9597 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002955/0.02365, allocations: 133.4 kB / 0.9598 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001758/0.02382, allocations: 326.8 kB / 0.9601 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004132/0.02424, allocations: 219.3 kB / 0.9603 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000444/0.02468, allocations: 277.2 kB / 0.9606 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004827/0.02516, allocations: 297.2 kB / 0.9609 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.02517, allocations: 0 / 0.9609 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001154/0.02632, allocations: 0.6074 MB / 0.9615 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.000109/0.02643, allocations: 87.56 kB / 0.9615 GB, free: 444 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.02644, allocations: 8 kB / 0.9616 GB, free: 436 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.622e-05/0.02647, allocations: 0 / 0.9616 GB, free: 436 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001982/0.02667, allocations: 19.98 kB / 0.9616 GB, free: 416 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.02668, allocations: 7.938 kB / 0.9616 GB, free: 408 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000536/0.02722, allocations: 63.89 kB / 0.9616 GB, free: 344 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/0.02732, allocations: 63.98 kB / 0.9617 GB, free: 280 kB / 0.8575 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.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.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.0003561/0.02768, allocations: 228.2 kB / 0.9619 GB, free: 40 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.0278, allocations: 43.84 kB / 0.962 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/0.0279, allocations: 43.72 kB / 0.962 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.02791, allocations: 4 kB / 0.962 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.02791, allocations: 0 / 0.962 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.02792, allocations: 0 / 0.962 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002611/0.03053, allocations: 0.7478 MB / 0.9627 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.03053, allocations: 0 / 0.9627 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.686e-05/0.03058, allocations: 7.938 kB / 0.9627 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.03059, allocations: 0 / 0.9627 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.915e-05/0.03064, allocations: 23.97 kB / 0.9628 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.03064, allocations: 0 / 0.9628 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.03064, allocations: 0 / 0.9628 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002014/0.03266, allocations: 0.5102 MB / 0.9633 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003923/0.03305, allocations: 185.4 kB / 0.9634 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.03316, allocations: 16 kB / 0.9635 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005142/0.03367, allocations: 39.95 kB / 0.9635 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.95e-05/0.03371, allocations: 7.984 kB / 0.9635 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.022e-05/0.03379, allocations: 59.98 kB / 0.9636 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004206/0.03422, allocations: 323.1 kB / 0.9639 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of sort global known variables: time 8e-08/0.03422, allocations: 3.938 kB / 0.9639 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004795/0.03469, allocations: 71.98 kB / 0.9639 GB, free: 13.91 MB / 0.8731 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.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.0002561/0.03495, allocations: 128.4 kB / 0.9641 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001651/0.0366, allocations: 0.5213 MB / 0.9646 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.0366, allocations: 0 / 0.9646 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008766/0.03748, allocations: 127.9 kB / 0.9647 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004751/0.03796, allocations: 41.56 kB / 0.9647 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/0.0398, allocations: 0.6024 MB / 0.9653 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000216/0.04001, allocations: 179 kB / 0.9655 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 8.602e-05/0.0401, allocations: 21.41 kB / 0.9655 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.846e-05/0.04017, allocations: 20.48 kB / 0.9655 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of SimCode: time 1.302e-06/0.04017, allocations: 4 kB / 0.9655 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of Templates: time 0.01193/0.0521, allocations: 6.38 MB / 0.9718 GB, free: 5.773 MB / 0.8731 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.298725292086601]