Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Time.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 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.Utilities.Time.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_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.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_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001036/0.001036, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.459/1.459, allocations: 222.9 MB / 241 MB, free: 15.14 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.337/2.337, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 63.91 kB / 0.9515 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.105/1.106, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.00289/1.109, allocations: 1.517 MB / 1.09 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001272/1.111, allocations: 0.5456 MB / 1.091 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.351e-05/1.111, allocations: 1 kB / 1.091 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001163/1.111, allocations: 9.984 kB / 1.091 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001316/1.111, allocations: 30 kB / 1.091 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000839/1.112, allocations: 305.4 kB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006371/1.113, allocations: 0.5007 MB / 1.091 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.417e-05/1.113, allocations: 10.41 kB / 1.091 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004601/1.113, allocations: 273.4 kB / 1.092 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003269/1.113, allocations: 147.9 kB / 1.092 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.843e-05/1.113, allocations: 26.41 kB / 1.092 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.086e-05/1.114, allocations: 26.91 kB / 1.092 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001664/1.114, allocations: 110.7 kB / 1.092 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002052/1.114, allocations: 185 kB / 1.092 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005381/1.114, allocations: 427 kB / 1.093 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/1.115, allocations: 1.094 kB / 1.093 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.644e-06/1.115, allocations: 0 / 1.093 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.158e-06/1.115, allocations: 4.656 kB / 1.093 GB, free: 3.316 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.00122/1.116, allocations: 0.8687 MB / 1.093 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/1.116, allocations: 9.031 kB / 1.093 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/1.116, allocations: 47.53 kB / 1.093 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003673/1.116, allocations: 304.8 kB / 1.094 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.998e-05/1.116, allocations: 18.22 kB / 1.094 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.879e-05/1.116, allocations: 28.97 kB / 1.094 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/1.118, allocations: 223.7 kB / 1.094 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/1.118, allocations: 0.9375 kB / 1.094 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.923e-05/1.118, allocations: 6.219 kB / 1.094 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/1.118, allocations: 2.25 kB / 1.094 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007555/1.118, allocations: 100 kB / 1.094 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005065/1.119, allocations: 387.2 kB / 1.094 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/1.12, allocations: 179.5 kB / 1.095 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007375/1.121, allocations: 112.5 kB / 1.095 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/1.121, allocations: 6.203 kB / 1.095 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009846/1.122, allocations: 224.7 kB / 1.095 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.573e-06/1.122, allocations: 4 kB / 1.095 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.002598/1.124, allocations: 488.3 kB / 1.095 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/1.124, allocations: 62.03 kB / 1.096 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005137/1.125, allocations: 407 kB / 1.096 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.664e-05/1.125, allocations: 45.02 kB / 1.096 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.714e-05/1.125, allocations: 93.98 kB / 1.096 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.552e-05/1.125, allocations: 38 kB / 1.096 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002334/1.125, allocations: 130.5 kB / 1.096 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.828e-05/1.125, allocations: 321.6 kB / 1.097 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002745/1.126, allocations: 120.4 kB / 1.097 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000296/1.126, allocations: 175.2 kB / 1.097 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003682/1.126, allocations: 279.8 kB / 1.097 GB, free: 0.5273 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/1.126, allocations: 1.094 kB / 1.097 GB, free: 0.5273 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008745/1.127, allocations: 494.2 kB / 1.098 GB, free: 320 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 8.678e-05/1.127, allocations: 92.02 kB / 1.098 GB, free: 240 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/1.127, allocations: 2.906 kB / 1.098 GB, free: 240 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/1.127, allocations: 7.5 kB / 1.098 GB, free: 236 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/1.128, allocations: 27.31 kB / 1.098 GB, free: 228 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/1.128, allocations: 2.75 kB / 1.098 GB, free: 228 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004684/1.128, allocations: 55.41 kB / 1.098 GB, free: 220 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/1.128, allocations: 61.53 kB / 1.098 GB, free: 216 kB / 0.8575 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.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.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.0002181/1.128, allocations: 194.9 kB / 1.098 GB, free: 68 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.017e-05/1.128, allocations: 40.83 kB / 1.098 GB, free: 44 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.033e-05/1.129, allocations: 41.72 kB / 1.098 GB, free: 20 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/1.129, allocations: 2.797 kB / 1.098 GB, free: 20 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/1.129, allocations: 0 / 1.098 GB, free: 20 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/1.129, allocations: 1.672 kB / 1.098 GB, free: 20 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00235/1.131, allocations: 0.7474 MB / 1.099 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/1.131, allocations: 0.75 kB / 1.099 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.495e-05/1.131, allocations: 5.422 kB / 1.099 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/1.131, allocations: 1.156 kB / 1.099 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.782e-05/1.131, allocations: 17.95 kB / 1.099 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.541e-06/1.131, allocations: 2.188 kB / 1.099 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/1.131, allocations: 3.938 kB / 1.099 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001864/1.133, allocations: 479.2 kB / 1.099 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002956/1.133, allocations: 200.2 kB / 1.099 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.601e-05/1.133, allocations: 10.8 kB / 1.099 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004752/1.134, allocations: 36.5 kB / 1.099 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.293e-05/1.134, allocations: 7.703 kB / 1.099 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.209e-05/1.134, allocations: 59.89 kB / 1.1 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003912/1.134, allocations: 301.9 kB / 1.1 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/1.134, allocations: 0 / 1.1 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003875/1.135, allocations: 65.14 kB / 1.1 GB, free: 15.1 MB / 0.8731 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,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.135, allocations: 115.4 kB / 1.1 GB, free: 15 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001415/1.136, allocations: 436.9 kB / 1.1 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.136, allocations: 0.5938 kB / 1.1 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008879/1.137, allocations: 127.6 kB / 1.101 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003921/1.138, allocations: 34.02 kB / 1.101 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001729/1.139, allocations: 0.591 MB / 1.101 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003866/1.14, allocations: 0.7697 MB / 1.102 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.412e-05/1.14, allocations: 16.94 kB / 1.102 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of SimCode: time 2.61e-07/1.14, allocations: 4 kB / 1.102 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of Templates: time 0.008039/1.148, allocations: 3.674 MB / 1.106 GB, free: 13.2 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches