Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.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.001785/0.001785, allocations: 92.7 kB / 19.44 MB, free: 324 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.002325/0.002325, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.503/1.503, allocations: 177.1 MB / 203.1 MB, free: 5.617 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.207/3.207, allocations: 429.6 MB / 0.673 GB, free: 3.906 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.CalendarTimeMonthsPlus,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.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,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.CalendarTimeMonthsPlus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.395e-06/2.395e-06, allocations: 0.875 kB / 0.8777 GB, free: 6.445 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.718e-05/3.957e-05, allocations: 2.312 kB / 0.8777 GB, free: 6.441 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.004934/0.004974, allocations: 1.734 MB / 0.8794 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002531/0.007505, allocations: 0.6201 MB / 0.88 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001429/0.007648, allocations: 1.312 kB / 0.88 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001591/0.007807, allocations: 11.86 kB / 0.88 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002305/0.008038, allocations: 41.47 kB / 0.88 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001424/0.009461, allocations: 369.4 kB / 0.8804 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.001412/0.01087, allocations: 0.6009 MB / 0.8809 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000169/0.01104, allocations: 17.3 kB / 0.881 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001425/0.01247, allocations: 423.5 kB / 0.8814 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006918/0.01316, allocations: 137.2 kB / 0.8815 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0002244/0.01338, allocations: 40 kB / 0.8815 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001607/0.01354, allocations: 45.09 kB / 0.8816 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0002686/0.01381, allocations: 131.6 kB / 0.8817 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0003815/0.01419, allocations: 147.7 kB / 0.8818 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.01527, allocations: 0.6423 MB / 0.8825 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.8e-06/0.01528, allocations: 0 / 0.8825 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.903e-06/0.01528, allocations: 0 / 0.8825 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.01529, allocations: 0 / 0.8825 GB, free: 1.531 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.002011/0.0173, allocations: 0.8339 MB / 0.8833 GB, free: 0.625 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.434e-05/0.01736, allocations: 12.03 kB / 0.8833 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002627/0.01763, allocations: 64.66 kB / 0.8834 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007425/0.01837, allocations: 283.9 kB / 0.8836 GB, free: 256 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.256e-05/0.01846, allocations: 24.95 kB / 0.8837 GB, free: 232 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001441/0.0186, allocations: 28.36 kB / 0.8837 GB, free: 204 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001836/0.02044, allocations: 257.9 kB / 0.8839 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.02046, allocations: 4.188 kB / 0.8839 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.183e-05/0.02051, allocations: 8.312 kB / 0.8839 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.02051, allocations: 384 / 0.8839 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001351/0.02187, allocations: 135.8 kB / 0.8841 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002325/0.02419, allocations: 0.5236 MB / 0.8846 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001824/0.02601, allocations: 198.4 kB / 0.8848 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001424/0.02744, allocations: 128.7 kB / 0.8849 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.621e-05/0.02749, allocations: 7.984 kB / 0.8849 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001933/0.02942, allocations: 251.1 kB / 0.8851 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 3.156e-06/0.02942, allocations: 0 / 0.8851 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.005001/0.03442, allocations: 0.5402 MB / 0.8857 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.875e-05/0.03452, allocations: 63.34 kB / 0.8857 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/0.03564, allocations: 445.8 kB / 0.8862 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001944/0.03584, allocations: 41.7 kB / 0.8862 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002533/0.03609, allocations: 101.4 kB / 0.8863 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.919e-05/0.03618, allocations: 35.8 kB / 0.8863 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004581/0.03664, allocations: 137.4 kB / 0.8865 GB, free: 13.26 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002768/0.03691, allocations: 326.8 kB / 0.8868 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007315/0.03765, allocations: 219.3 kB / 0.887 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008085/0.03845, allocations: 275.4 kB / 0.8872 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008216/0.03928, allocations: 299.1 kB / 0.8875 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.03928, allocations: 0 / 0.8875 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001965/0.04125, allocations: 0.6328 MB / 0.8881 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001555/0.0414, allocations: 89.88 kB / 0.8882 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.04141, allocations: 0 / 0.8882 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.553e-05/0.04145, allocations: 11.92 kB / 0.8882 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002871/0.04174, allocations: 19.98 kB / 0.8883 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/0.04175, allocations: 4 kB / 0.8883 GB, free: 11.28 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009493/0.0427, allocations: 64.09 kB / 0.8883 GB, free: 11.22 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001795/0.04288, allocations: 67.91 kB / 0.8884 GB, free: 11.15 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.0005443/0.04342, allocations: 216.3 kB / 0.8886 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002064/0.04363, allocations: 55.66 kB / 0.8886 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001422/0.04377, allocations: 39.72 kB / 0.8887 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.04378, allocations: 0 / 0.8887 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.04379, allocations: 4 kB / 0.8887 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.04379, allocations: 0 / 0.8887 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004275/0.04807, allocations: 0.7509 MB / 0.8894 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.04807, allocations: 0 / 0.8894 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.851e-05/0.04813, allocations: 7.984 kB / 0.8894 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.04814, allocations: 0 / 0.8894 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.694e-05/0.0482, allocations: 27.97 kB / 0.8895 GB, free: 10.01 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.04821, allocations: 7.938 kB / 0.8895 GB, free: 10 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.04821, allocations: 0 / 0.8895 GB, free: 10 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003074/0.05129, allocations: 0.5112 MB / 0.89 GB, free: 9.477 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006396/0.05192, allocations: 185.4 kB / 0.8901 GB, free: 9.293 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001412/0.05207, allocations: 16 kB / 0.8902 GB, free: 9.277 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009044/0.05297, allocations: 39.95 kB / 0.8902 GB, free: 9.238 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.889e-05/0.05304, allocations: 11.98 kB / 0.8902 GB, free: 9.227 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001417/0.05318, allocations: 59.98 kB / 0.8903 GB, free: 9.168 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0007641/0.05394, allocations: 319.1 kB / 0.8906 GB, free: 8.855 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.7e-07/0.05395, allocations: 0 / 0.8906 GB, free: 8.855 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0008121/0.05476, allocations: 68 kB / 0.8906 GB, free: 8.789 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.000332/0.05509, allocations: 123.9 kB / 0.8908 GB, free: 8.66 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002661/0.05775, allocations: 0.5213 MB / 0.8913 GB, free: 8.102 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.144e-06/0.05776, allocations: 4 kB / 0.8913 GB, free: 8.098 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001328/0.05909, allocations: 127 kB / 0.8914 GB, free: 7.977 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007948/0.05988, allocations: 69.48 kB / 0.8915 GB, free: 7.91 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003068/0.06295, allocations: 0.6182 MB / 0.8921 GB, free: 7.262 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003706/0.06332, allocations: 178.9 kB / 0.8922 GB, free: 7.07 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001352/0.06345, allocations: 17.48 kB / 0.8922 GB, free: 7.051 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.33e-05/0.06354, allocations: 16.5 kB / 0.8923 GB, free: 7.035 MB / 0.8542 GB Notification: Performance of SimCode: time 1.252e-06/0.06354, allocations: 0 / 0.8923 GB, free: 7.035 MB / 0.8542 GB Notification: Performance of Templates: time 0.01967/0.08321, allocations: 6.405 MB / 0.8985 GB, free: 0.5781 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.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.362756657996215]