Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001386/0.001386, allocations: 83.69 kB / 20.45 MB, free: 4.129 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.001409/0.001409, allocations: 161 kB / 23.82 MB, free: 0.7617 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.04/1.04, allocations: 177.1 MB / 204.2 MB, free: 5.613 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.869/1.869, allocations: 377.8 MB / 0.6236 GB, free: 8.547 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.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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.394e-06/2.394e-06, allocations: 0 / 0.8116 GB, free: 1.664 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.826e-05/3.066e-05, allocations: 6.25 kB / 0.8116 GB, free: 1.656 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.003243/0.003273, allocations: 1.792 MB / 0.8134 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001565/0.004839, allocations: 0.618 MB / 0.814 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.289e-05/0.004931, allocations: 4.562 kB / 0.814 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001089/0.00504, allocations: 13.2 kB / 0.814 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001481/0.005188, allocations: 35.73 kB / 0.814 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009583/0.006147, allocations: 373.2 kB / 0.8144 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0006776/0.006824, allocations: 0.6009 MB / 0.8149 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.006925, allocations: 17.3 kB / 0.815 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000614/0.007539, allocations: 419.6 kB / 0.8154 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004486/0.007988, allocations: 137.7 kB / 0.8155 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001161/0.008104, allocations: 40 kB / 0.8155 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.411e-05/0.008188, allocations: 40 kB / 0.8156 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001357/0.008324, allocations: 131.6 kB / 0.8157 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.000171/0.008495, allocations: 152.3 kB / 0.8158 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005745/0.009069, allocations: 434.7 kB / 0.8163 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.009076, allocations: 4.531 kB / 0.8163 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.673e-06/0.009077, allocations: 0.7188 kB / 0.8163 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 9.338e-06/0.009087, allocations: 0 / 0.8163 GB, free: 12.89 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.00082/0.009907, allocations: 0.9436 MB / 0.8172 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.009941, allocations: 12.02 kB / 0.8172 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.539e-05/0.01004, allocations: 60.66 kB / 0.8173 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002325/0.01027, allocations: 286.7 kB / 0.8175 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.153e-05/0.0103, allocations: 24.89 kB / 0.8176 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.526e-05/0.01035, allocations: 33.73 kB / 0.8176 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003249/0.01067, allocations: 209 kB / 0.8178 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.01068, allocations: 1.375 kB / 0.8178 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.01069, allocations: 8.359 kB / 0.8178 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.0107, allocations: 384 / 0.8178 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.01081, allocations: 66.98 kB / 0.8179 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006634/0.01147, allocations: 0.6106 MB / 0.8185 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001799/0.01165, allocations: 126.3 kB / 0.8186 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.68e-05/0.01175, allocations: 68.06 kB / 0.8186 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.01176, allocations: 5.094 kB / 0.8186 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001866/0.01195, allocations: 183.4 kB / 0.8188 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.102e-06/0.01195, allocations: 0 / 0.8188 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.000479/0.01243, allocations: 380.1 kB / 0.8192 GB, free: 9.762 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/0.01246, allocations: 71.27 kB / 0.8192 GB, free: 9.68 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002878/0.01274, allocations: 426.7 kB / 0.8197 GB, free: 9.25 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.229e-05/0.01279, allocations: 45.69 kB / 0.8197 GB, free: 9.199 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.773e-05/0.01285, allocations: 148.1 kB / 0.8198 GB, free: 9.051 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/0.01289, allocations: 47.67 kB / 0.8199 GB, free: 9.004 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.01301, allocations: 135.1 kB / 0.82 GB, free: 8.863 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.01312, allocations: 0.4962 MB / 0.8205 GB, free: 8.355 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002006/0.01332, allocations: 183.3 kB / 0.8207 GB, free: 8.164 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002/0.01352, allocations: 249.1 kB / 0.8209 GB, free: 7.879 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002319/0.01375, allocations: 285 kB / 0.8212 GB, free: 7.559 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.01375, allocations: 0 / 0.8212 GB, free: 7.559 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005359/0.01429, allocations: 0.5727 MB / 0.8217 GB, free: 6.957 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.149e-05/0.01434, allocations: 95.36 kB / 0.8218 GB, free: 6.852 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.01434, allocations: 0 / 0.8218 GB, free: 6.852 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.01435, allocations: 7.938 kB / 0.8218 GB, free: 6.844 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.01447, allocations: 35.92 kB / 0.8219 GB, free: 6.809 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.01447, allocations: 7.984 kB / 0.8219 GB, free: 6.801 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.01465, allocations: 39.88 kB / 0.8219 GB, free: 6.762 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.367e-05/0.0147, allocations: 64.16 kB / 0.822 GB, free: 6.699 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.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.0001163/0.01482, allocations: 195.1 kB / 0.8222 GB, free: 6.5 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.033e-05/0.01487, allocations: 51.66 kB / 0.8222 GB, free: 6.449 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.654e-05/0.0149, allocations: 35.72 kB / 0.8223 GB, free: 6.41 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.01491, allocations: 4 kB / 0.8223 GB, free: 6.406 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.01491, allocations: 0 / 0.8223 GB, free: 6.406 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.01491, allocations: 0 / 0.8223 GB, free: 6.406 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005976/0.01551, allocations: 0.7059 MB / 0.8229 GB, free: 5.656 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.01551, allocations: 0 / 0.8229 GB, free: 5.656 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.961e-05/0.01553, allocations: 4 kB / 0.8229 GB, free: 5.652 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.01553, allocations: 0 / 0.8229 GB, free: 5.652 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.174e-05/0.01555, allocations: 23.97 kB / 0.823 GB, free: 5.629 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.01555, allocations: 0 / 0.823 GB, free: 5.629 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.01556, allocations: 0 / 0.823 GB, free: 5.629 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003682/0.01592, allocations: 478.6 kB / 0.8234 GB, free: 5.145 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001517/0.01608, allocations: 165.5 kB / 0.8236 GB, free: 4.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.572e-05/0.01612, allocations: 23.94 kB / 0.8236 GB, free: 4.957 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.01626, allocations: 23.98 kB / 0.8236 GB, free: 4.934 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.082e-05/0.01628, allocations: 3.984 kB / 0.8236 GB, free: 4.93 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.124e-05/0.01632, allocations: 63.97 kB / 0.8237 GB, free: 4.867 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001512/0.01647, allocations: 279.1 kB / 0.824 GB, free: 4.598 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01647, allocations: 0 / 0.824 GB, free: 4.598 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002171/0.01669, allocations: 71.98 kB / 0.824 GB, free: 4.527 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.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.0001079/0.0168, allocations: 135.8 kB / 0.8242 GB, free: 4.387 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004062/0.0172, allocations: 453.5 kB / 0.8246 GB, free: 3.902 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.01721, allocations: 0 / 0.8246 GB, free: 3.902 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.01731, allocations: 79.97 kB / 0.8247 GB, free: 3.82 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.01756, allocations: 66.03 kB / 0.8247 GB, free: 3.754 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004942/0.01805, allocations: 498.8 kB / 0.8252 GB, free: 3.234 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.494e-05/0.0181, allocations: 87.8 kB / 0.8253 GB, free: 3.129 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.197e-05/0.01813, allocations: 13.5 kB / 0.8253 GB, free: 3.117 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.918e-05/0.01816, allocations: 20.48 kB / 0.8253 GB, free: 3.098 MB / 0.7761 GB Notification: Performance of SimCode: time 5.31e-07/0.01816, allocations: 0 / 0.8253 GB, free: 3.098 MB / 0.7761 GB Notification: Performance of Templates: time 0.007986/0.02614, allocations: 7.046 MB / 0.8322 GB, free: 12.03 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus.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.274614250287414]