Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Time.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.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.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.001682/0.001682, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.539/2.539, allocations: 390.9 MB / 0.666 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003762/0.0003763, allocations: 12 kB / 0.8153 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7022/0.7026, allocations: 142.4 MB / 0.9544 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001387/0.7041, allocations: 1.216 MB / 0.9556 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001135/0.7052, allocations: 0.5374 MB / 0.9561 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.428e-05/0.7053, allocations: 0 / 0.9561 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.414e-05/0.7054, allocations: 3.938 kB / 0.9561 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.7055, allocations: 20.02 kB / 0.9562 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006146/0.7061, allocations: 262.7 kB / 0.9564 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003176/0.7064, allocations: 383.3 kB / 0.9568 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.091e-05/0.7065, allocations: 8.859 kB / 0.9568 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004393/0.7069, allocations: 320.4 kB / 0.9571 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002677/0.7072, allocations: 184.1 kB / 0.9573 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.732e-05/0.7073, allocations: 14.03 kB / 0.9573 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.409e-05/0.7074, allocations: 14.09 kB / 0.9573 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.7075, allocations: 122.1 kB / 0.9574 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.435e-05/0.7076, allocations: 93.73 kB / 0.9575 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002515/0.7079, allocations: 306.3 kB / 0.9578 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.7079, allocations: 0 / 0.9578 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.044e-06/0.7079, allocations: 5.125 kB / 0.9578 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.543e-06/0.7079, allocations: 0 / 0.9578 GB, free: 5.348 MB / 0.7169 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.0008997/0.7088, allocations: 0.7574 MB / 0.9585 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.7088, allocations: 9.625 kB / 0.9585 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.709, allocations: 53.73 kB / 0.9586 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003025/0.7093, allocations: 293.6 kB / 0.9589 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.319e-05/0.7093, allocations: 21.61 kB / 0.9589 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.189e-05/0.7094, allocations: 29.98 kB / 0.9589 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000889/0.7103, allocations: 219.1 kB / 0.9591 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.7103, allocations: 0 / 0.9591 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.715e-05/0.7103, allocations: 1.375 kB / 0.9591 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.7104, allocations: 1.375 kB / 0.9591 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006747/0.711, allocations: 122.5 kB / 0.9593 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003209/0.7114, allocations: 396 kB / 0.9596 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009282/0.7123, allocations: 190.4 kB / 0.9598 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006786/0.713, allocations: 121.1 kB / 0.9599 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.713, allocations: 9.109 kB / 0.9599 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008349/0.7139, allocations: 230.6 kB / 0.9602 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.763e-06/0.7139, allocations: 0 / 0.9602 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002346/0.7162, allocations: 0.5107 MB / 0.9607 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.7163, allocations: 56.06 kB / 0.9607 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003447/0.7166, allocations: 410.9 kB / 0.9611 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.547e-05/0.7167, allocations: 41 kB / 0.9611 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.619e-05/0.7167, allocations: 92.66 kB / 0.9612 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.607e-05/0.7168, allocations: 44.61 kB / 0.9613 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.678e-05/0.7168, allocations: 10.28 kB / 0.9613 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.964e-05/0.7169, allocations: 322.2 kB / 0.9616 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002378/0.7171, allocations: 124.3 kB / 0.9617 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002527/0.7174, allocations: 178.5 kB / 0.9619 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002436/0.7176, allocations: 188.4 kB / 0.9621 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.7176, allocations: 4 kB / 0.9621 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007606/0.7184, allocations: 494.4 kB / 0.9625 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.175e-05/0.7185, allocations: 84.31 kB / 0.9626 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.7185, allocations: 1.344 kB / 0.9626 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.7185, allocations: 2.562 kB / 0.9626 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.7187, allocations: 27.42 kB / 0.9626 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.7187, allocations: 2.156 kB / 0.9626 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000465/0.7192, allocations: 70.36 kB / 0.9627 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-05/0.7192, allocations: 60.22 kB / 0.9628 GB, free: 1.758 MB / 0.7169 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 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001778/0.7194, allocations: 206.9 kB / 0.963 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.864e-05/0.7195, allocations: 36.03 kB / 0.963 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.811e-05/0.7196, allocations: 40.17 kB / 0.963 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.7196, allocations: 0.9688 kB / 0.963 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.7196, allocations: 1.031 kB / 0.963 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.7196, allocations: 0 / 0.963 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/0.7215, allocations: 0.7686 MB / 0.9638 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.7215, allocations: 4.969 kB / 0.9638 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.536e-05/0.7215, allocations: 7.578 kB / 0.9638 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.7215, allocations: 1.281 kB / 0.9638 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.679e-05/0.7216, allocations: 19.48 kB / 0.9638 GB, free: 1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.7216, allocations: 4.953 kB / 0.9638 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.7216, allocations: 0 / 0.9638 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00154/0.7231, allocations: 0.4903 MB / 0.9643 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001975/0.7233, allocations: 195.3 kB / 0.9645 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.997e-05/0.7234, allocations: 18.05 kB / 0.9645 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004274/0.7238, allocations: 31.34 kB / 0.9645 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.589e-05/0.7239, allocations: 12.95 kB / 0.9646 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.854e-05/0.724, allocations: 65.5 kB / 0.9646 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002565/0.7242, allocations: 290.9 kB / 0.9649 GB, free: 348 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7242, allocations: 4 kB / 0.9649 GB, free: 344 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003665/0.7246, allocations: 62.22 kB / 0.965 GB, free: 340 kB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001124/0.7247, allocations: 118.2 kB / 0.9651 GB, free: 236 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00112/0.7258, allocations: 453.4 kB / 0.9655 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.7259, allocations: 0 / 0.9655 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007301/0.7266, allocations: 134 kB / 0.9656 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.7269, allocations: 32.19 kB / 0.9657 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.7283, allocations: 0.6505 MB / 0.9663 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.7286, allocations: 0.7748 MB / 0.967 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.748e-05/0.7287, allocations: 17 kB / 0.9671 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.685e-05/0.7288, allocations: 14.09 kB / 0.9671 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.7288, allocations: 0 / 0.9671 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of Templates: time 0.008657/0.7374, allocations: 4.837 MB / 0.9718 GB, free: 12.01 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches