Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009045/0.009045, allocations: 100.8 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001692/0.001692, allocations: 197.2 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.694/2.694, allocations: 437 MB / 0.7105 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001573, allocations: 68.12 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.234/1.236, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.00306/1.239, allocations: 1.738 MB / 1.168 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001406/1.24, allocations: 0.6207 MB / 1.169 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.139e-05/1.24, allocations: 0 / 1.169 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001004/1.24, allocations: 11.86 kB / 1.169 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00013/1.241, allocations: 35.56 kB / 1.169 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008258/1.241, allocations: 371.4 kB / 1.169 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0006017/1.242, allocations: 0.636 MB / 1.17 GB, free: 432 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/1.242, allocations: 33.08 kB / 1.17 GB, free: 396 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003561/1.243, allocations: 303.6 kB / 1.17 GB, free: 92 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002853/1.243, allocations: 164 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.838e-05/1.243, allocations: 40 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 9.677e-05/1.243, allocations: 40 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000143/1.243, allocations: 131.6 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002008/1.243, allocations: 218.9 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005476/1.244, allocations: 0.6 MB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/1.244, allocations: 0 / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.542e-06/1.244, allocations: 0 / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.087e-05/1.244, allocations: 0 / 1.171 GB, free: 14.91 MB / 0.9044 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.001247/1.245, allocations: 0.917 MB / 1.172 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/1.245, allocations: 11.98 kB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/1.245, allocations: 60.64 kB / 1.172 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000387/1.246, allocations: 342.5 kB / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.428e-05/1.246, allocations: 20.38 kB / 1.173 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.93e-05/1.246, allocations: 28.36 kB / 1.173 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009546/1.247, allocations: 233.9 kB / 1.173 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/1.247, allocations: 192 / 1.173 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.714e-05/1.247, allocations: 15.92 kB / 1.173 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/1.247, allocations: 0 / 1.173 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007584/1.248, allocations: 115.9 kB / 1.173 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001313/1.249, allocations: 0.672 MB / 1.174 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/1.25, allocations: 186.5 kB / 1.174 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007106/1.251, allocations: 112.8 kB / 1.174 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.85e-05/1.251, allocations: 4 kB / 1.174 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009597/1.252, allocations: 233.6 kB / 1.174 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 1.974e-06/1.252, allocations: 0 / 1.174 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.002464/1.254, allocations: 493.3 kB / 1.175 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.784e-05/1.254, allocations: 63.39 kB / 1.175 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000548/1.255, allocations: 445.9 kB / 1.175 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.865e-05/1.255, allocations: 45.69 kB / 1.175 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.968e-05/1.255, allocations: 101.3 kB / 1.175 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.606e-05/1.255, allocations: 43.73 kB / 1.175 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002335/1.255, allocations: 137.5 kB / 1.176 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001546/1.256, allocations: 326.8 kB / 1.176 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002946/1.256, allocations: 139.9 kB / 1.176 GB, free: 9.965 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003344/1.256, allocations: 201.9 kB / 1.176 GB, free: 9.746 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003945/1.257, allocations: 291.5 kB / 1.176 GB, free: 9.43 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.257, allocations: 4 kB / 1.176 GB, free: 9.426 MB / 0.9044 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008604/1.257, allocations: 0.5222 MB / 1.177 GB, free: 8.887 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 8.283e-05/1.258, allocations: 91.38 kB / 1.177 GB, free: 8.785 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/1.258, allocations: 4 kB / 1.177 GB, free: 8.781 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/1.258, allocations: 0 / 1.177 GB, free: 8.781 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/1.258, allocations: 27.92 kB / 1.177 GB, free: 8.754 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/1.258, allocations: 7.984 kB / 1.177 GB, free: 8.746 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004647/1.258, allocations: 67.97 kB / 1.177 GB, free: 8.68 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.989e-05/1.258, allocations: 63.92 kB / 1.177 GB, free: 8.617 MB / 0.9044 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.0002475/1.259, allocations: 228.2 kB / 1.177 GB, free: 8.387 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.726e-05/1.259, allocations: 35.77 kB / 1.178 GB, free: 8.352 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.893e-05/1.259, allocations: 43.78 kB / 1.178 GB, free: 8.312 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/1.259, allocations: 8 kB / 1.178 GB, free: 8.305 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/1.259, allocations: 0 / 1.178 GB, free: 8.305 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/1.259, allocations: 0 / 1.178 GB, free: 8.305 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002116/1.261, allocations: 0.7873 MB / 1.178 GB, free: 7.457 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/1.261, allocations: 4 kB / 1.178 GB, free: 7.453 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.509e-05/1.261, allocations: 4 kB / 1.178 GB, free: 7.449 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/1.261, allocations: 0 / 1.178 GB, free: 7.449 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.729e-05/1.261, allocations: 19.97 kB / 1.178 GB, free: 7.43 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/1.261, allocations: 3.938 kB / 1.178 GB, free: 7.426 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.261, allocations: 4 kB / 1.178 GB, free: 7.422 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001694/1.263, allocations: 486.2 kB / 1.179 GB, free: 6.934 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002917/1.263, allocations: 244.6 kB / 1.179 GB, free: 6.676 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.129e-05/1.263, allocations: 12 kB / 1.179 GB, free: 6.664 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004514/1.264, allocations: 35.91 kB / 1.179 GB, free: 6.629 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.638e-05/1.264, allocations: 11.92 kB / 1.179 GB, free: 6.617 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-05/1.264, allocations: 67.97 kB / 1.179 GB, free: 6.551 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000338/1.264, allocations: 315.1 kB / 1.179 GB, free: 6.246 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.41e-07/1.264, allocations: 0 / 1.179 GB, free: 6.246 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004159/1.264, allocations: 79.88 kB / 1.18 GB, free: 6.168 MB / 0.9044 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.0001874/1.265, allocations: 123.2 kB / 1.18 GB, free: 6.035 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001336/1.266, allocations: 474.5 kB / 1.18 GB, free: 5.547 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.266, allocations: 0 / 1.18 GB, free: 5.547 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0007615/1.267, allocations: 119.9 kB / 1.18 GB, free: 5.43 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/1.267, allocations: 35.03 kB / 1.18 GB, free: 5.398 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/1.269, allocations: 0.6102 MB / 1.181 GB, free: 4.762 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004068/1.269, allocations: 0.7825 MB / 1.182 GB, free: 3.953 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 6.568e-05/1.269, allocations: 17.42 kB / 1.182 GB, free: 3.938 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.463e-05/1.269, allocations: 19.44 kB / 1.182 GB, free: 3.918 MB / 0.9044 GB Notification: Performance of SimCode: time 2.31e-07/1.269, allocations: 0 / 1.182 GB, free: 3.918 MB / 0.9044 GB Notification: Performance of Templates: time 0.009845/1.279, allocations: 5.426 MB / 1.187 GB, free: 14.4 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches