Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 113.9 kB / 16.42 MB, free: 6.449 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.002044/0.002044, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.426/1.426, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.314/2.314, allocations: 390.2 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 63.91 kB / 0.9516 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9878/0.9893, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.004453/0.9938, allocations: 1.73 MB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001875/0.9957, allocations: 0.6232 MB / 1.091 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.517e-05/0.9958, allocations: 3.938 kB / 1.091 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001273/0.9959, allocations: 11.22 kB / 1.091 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000158/0.9961, allocations: 36.73 kB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009516/0.9971, allocations: 359.8 kB / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007919/0.9979, allocations: 0.628 MB / 1.092 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.998, allocations: 30.83 kB / 1.092 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005522/0.9986, allocations: 319.5 kB / 1.092 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003478/0.9989, allocations: 153 kB / 1.092 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001392/0.9991, allocations: 40.59 kB / 1.093 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.9992, allocations: 44.88 kB / 1.093 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000216/0.9995, allocations: 128.3 kB / 1.093 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002698/0.9997, allocations: 217.3 kB / 1.093 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008487/1.001, allocations: 0.597 MB / 1.093 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/1.001, allocations: 0.7812 kB / 1.093 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.853e-06/1.001, allocations: 0 / 1.093 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.646e-06/1.001, allocations: 0 / 1.093 GB, free: 2.789 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.001456/1.002, allocations: 0.9042 MB / 1.094 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/1.002, allocations: 12.81 kB / 1.094 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001677/1.002, allocations: 57.33 kB / 1.094 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004644/1.003, allocations: 333.2 kB / 1.095 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.739e-05/1.003, allocations: 19.42 kB / 1.095 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.845e-05/1.003, allocations: 34.56 kB / 1.095 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/1.004, allocations: 236.5 kB / 1.095 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/1.004, allocations: 192 / 1.095 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/1.004, allocations: 10.59 kB / 1.095 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/1.004, allocations: 2.188 kB / 1.095 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000889/1.005, allocations: 112.8 kB / 1.095 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001532/1.007, allocations: 0.6721 MB / 1.096 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001185/1.008, allocations: 187.9 kB / 1.096 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008673/1.009, allocations: 118.8 kB / 1.096 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.533e-05/1.009, allocations: 2.875 kB / 1.096 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001134/1.01, allocations: 233.7 kB / 1.096 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 2.224e-06/1.01, allocations: 0.8125 kB / 1.096 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.002963/1.013, allocations: 0.4904 MB / 1.097 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/1.013, allocations: 62.34 kB / 1.097 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006314/1.014, allocations: 443.7 kB / 1.097 GB, free: 0.582 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.742e-05/1.014, allocations: 45.31 kB / 1.097 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.336e-05/1.014, allocations: 100.1 kB / 1.097 GB, free: 464 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.401e-05/1.014, allocations: 38.19 kB / 1.097 GB, free: 436 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002489/1.014, allocations: 132.6 kB / 1.098 GB, free: 376 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.39e-05/1.014, allocations: 329.8 kB / 1.098 GB, free: 44 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000322/1.014, allocations: 135.7 kB / 1.098 GB, free: 0 / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003971/1.015, allocations: 192.3 kB / 1.098 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000483/1.015, allocations: 311.7 kB / 1.098 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/1.015, allocations: 0 / 1.098 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001016/1.016, allocations: 0.5134 MB / 1.099 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.000122/1.017, allocations: 97.67 kB / 1.099 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/1.017, allocations: 5.094 kB / 1.099 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/1.017, allocations: 2.906 kB / 1.099 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001813/1.017, allocations: 20.42 kB / 1.099 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-05/1.017, allocations: 7.797 kB / 1.099 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005621/1.017, allocations: 57.52 kB / 1.099 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001176/1.017, allocations: 62.17 kB / 1.099 GB, free: 15.32 MB / 0.8731 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.0003222/1.018, allocations: 218.2 kB / 1.099 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.598e-05/1.018, allocations: 37.27 kB / 1.099 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.464e-05/1.018, allocations: 42.92 kB / 1.1 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/1.018, allocations: 1.406 kB / 1.1 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/1.018, allocations: 1.188 kB / 1.1 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003974/1.018, allocations: 241.2 kB / 1.1 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.9e-05/1.019, allocations: 20.69 kB / 1.1 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004985/1.019, allocations: 40.53 kB / 1.1 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.984e-05/1.019, allocations: 7.812 kB / 1.1 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002011/1.021, allocations: 426.8 kB / 1.1 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002066/1.023, allocations: 0.5322 MB / 1.101 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008571/1.024, allocations: 118.3 kB / 1.101 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005087/1.025, allocations: 327.1 kB / 1.101 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of Backend: time 4.11e-07/1.025, allocations: 4.469 kB / 1.101 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001357/1.026, allocations: 452.6 kB / 1.102 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001387/1.027, allocations: 0.9873 MB / 1.103 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of Templates: time 0.01388/1.041, allocations: 5.535 MB / 1.108 GB, free: 12.34 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches