Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001804/0.001804, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.002609/0.002609, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.498/1.498, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.229/3.229, allocations: 429.6 MB / 0.673 GB, free: 3.898 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 0.8776 GB, free: 6.48 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.56e-05/2.746e-05, allocations: 3 kB / 0.8776 GB, free: 6.477 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003342/0.003369, allocations: 1.732 MB / 0.8793 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001556/0.004925, allocations: 0.6084 MB / 0.8799 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.448e-05/0.005009, allocations: 4 kB / 0.8799 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001076/0.005117, allocations: 14.31 kB / 0.8799 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001462/0.005263, allocations: 39.94 kB / 0.88 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.006267, allocations: 373.2 kB / 0.8803 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0007846/0.007052, allocations: 0.597 MB / 0.8809 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.007153, allocations: 25.3 kB / 0.8809 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007198/0.007872, allocations: 424.3 kB / 0.8813 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003453/0.008218, allocations: 136.2 kB / 0.8815 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0001255/0.008343, allocations: 44.69 kB / 0.8815 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.008446, allocations: 40 kB / 0.8816 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001669/0.008613, allocations: 128.7 kB / 0.8817 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0002384/0.008851, allocations: 151.7 kB / 0.8818 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0008368/0.009688, allocations: 0.6428 MB / 0.8825 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.009692, allocations: 3.562 kB / 0.8825 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.533e-06/0.009693, allocations: 0 / 0.8825 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.776e-06/0.009702, allocations: 0 / 0.8825 GB, free: 1.562 MB / 0.8386 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.001591/0.01129, allocations: 0.8377 MB / 0.8833 GB, free: 0.6523 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.01134, allocations: 12.03 kB / 0.8833 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001949/0.01153, allocations: 68.64 kB / 0.8834 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004796/0.01201, allocations: 272 kB / 0.8836 GB, free: 292 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.794e-05/0.01207, allocations: 20.38 kB / 0.8836 GB, free: 272 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.517e-05/0.01216, allocations: 29.11 kB / 0.8837 GB, free: 244 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/0.0134, allocations: 262.5 kB / 0.8839 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.01341, allocations: 192 / 0.8839 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.727e-05/0.01345, allocations: 8.359 kB / 0.8839 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.01346, allocations: 4.375 kB / 0.8839 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009378/0.0144, allocations: 131.9 kB / 0.884 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00139/0.01579, allocations: 0.5314 MB / 0.8846 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001312/0.0171, allocations: 198.3 kB / 0.8848 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008924/0.01799, allocations: 124.7 kB / 0.8849 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.01802, allocations: 0 / 0.8849 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001146/0.01916, allocations: 258.6 kB / 0.8851 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 1.573e-06/0.01917, allocations: 4 kB / 0.8851 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.003103/0.02227, allocations: 0.5439 MB / 0.8857 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.083e-05/0.02233, allocations: 59.41 kB / 0.8857 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005959/0.02293, allocations: 441.9 kB / 0.8861 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.632e-05/0.02302, allocations: 45.69 kB / 0.8862 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.02316, allocations: 101.4 kB / 0.8863 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.298e-05/0.02322, allocations: 35.75 kB / 0.8863 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002803/0.0235, allocations: 137.4 kB / 0.8864 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001889/0.02369, allocations: 326.8 kB / 0.8868 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004288/0.02411, allocations: 215.3 kB / 0.887 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004621/0.02458, allocations: 291.1 kB / 0.8872 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004942/0.02507, allocations: 289.2 kB / 0.8875 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.02507, allocations: 0 / 0.8875 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001194/0.02627, allocations: 0.6347 MB / 0.8881 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001115/0.02638, allocations: 87.38 kB / 0.8882 GB, free: 11.35 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.02639, allocations: 4 kB / 0.8882 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/0.02641, allocations: 4 kB / 0.8882 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001781/0.02659, allocations: 23.92 kB / 0.8882 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.0266, allocations: 4 kB / 0.8882 GB, free: 11.31 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005949/0.0272, allocations: 67.83 kB / 0.8883 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/0.0273, allocations: 60.05 kB / 0.8884 GB, free: 11.19 MB / 0.8542 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.000316/0.02762, allocations: 216.3 kB / 0.8886 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.02773, allocations: 51.64 kB / 0.8886 GB, free: 10.92 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.917e-05/0.02781, allocations: 43.73 kB / 0.8887 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.02781, allocations: 0 / 0.8887 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.02782, allocations: 0 / 0.8887 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.02782, allocations: 0 / 0.8887 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002624/0.03044, allocations: 0.748 MB / 0.8894 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.03045, allocations: 0 / 0.8894 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.934e-05/0.03049, allocations: 7.938 kB / 0.8894 GB, free: 10.08 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.03049, allocations: 0 / 0.8894 GB, free: 10.08 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.65e-05/0.03054, allocations: 23.97 kB / 0.8894 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.03054, allocations: 4 kB / 0.8894 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.03054, allocations: 3.938 kB / 0.8894 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00214/0.03268, allocations: 0.5181 MB / 0.8899 GB, free: 9.516 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003518/0.03303, allocations: 177.5 kB / 0.8901 GB, free: 9.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.003e-05/0.03312, allocations: 19.98 kB / 0.8901 GB, free: 9.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005557/0.03368, allocations: 39.97 kB / 0.8902 GB, free: 9.281 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.03372, allocations: 11.97 kB / 0.8902 GB, free: 9.27 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.822e-05/0.03381, allocations: 63.97 kB / 0.8902 GB, free: 9.207 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004219/0.03423, allocations: 319.1 kB / 0.8905 GB, free: 8.895 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1e-07/0.03423, allocations: 3.938 kB / 0.8905 GB, free: 8.891 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004179/0.03465, allocations: 67.98 kB / 0.8906 GB, free: 8.824 MB / 0.8542 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.0002043/0.03486, allocations: 120.2 kB / 0.8907 GB, free: 8.699 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001648/0.0365, allocations: 0.5251 MB / 0.8912 GB, free: 8.137 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.03651, allocations: 4 kB / 0.8912 GB, free: 8.133 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0008981/0.03741, allocations: 119.9 kB / 0.8914 GB, free: 8.016 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004717/0.03788, allocations: 65.09 kB / 0.8914 GB, free: 7.957 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/0.03976, allocations: 0.626 MB / 0.892 GB, free: 7.301 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/0.03999, allocations: 178.9 kB / 0.8922 GB, free: 7.109 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.444e-05/0.04007, allocations: 17.48 kB / 0.8922 GB, free: 7.09 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.894e-05/0.04012, allocations: 16.5 kB / 0.8922 GB, free: 7.074 MB / 0.8542 GB Notification: Performance of SimCode: time 5.91e-07/0.04012, allocations: 0 / 0.8922 GB, free: 7.074 MB / 0.8542 GB Notification: Performance of Templates: time 0.01219/0.05231, allocations: 6.401 MB / 0.8985 GB, free: 0.6211 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.405476551037282]