Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 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.Controls.OBC.CDL.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 86.25 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.00136/0.00136, 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.496/1.496, allocations: 223.3 MB / 240 MB, free: 5.383 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.614/2.614, allocations: 390.9 MB / 0.666 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004033/0.0004034, allocations: 12 kB / 0.8154 GB, free: 13.63 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7815/0.782, allocations: 142.4 MB / 0.9545 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.002057/0.7841, allocations: 1.423 MB / 0.9558 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001501/0.7856, allocations: 0.6201 MB / 0.9565 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001337/0.7858, allocations: 1.188 kB / 0.9565 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.7859, allocations: 7.875 kB / 0.9565 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001734/0.7861, allocations: 27.84 kB / 0.9565 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.7871, allocations: 260.2 kB / 0.9567 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007155/0.7878, allocations: 483.6 kB / 0.9572 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.788, allocations: 37.83 kB / 0.9572 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007141/0.7887, allocations: 324.8 kB / 0.9575 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004037/0.7891, allocations: 185.5 kB / 0.9577 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001433/0.7893, allocations: 14.28 kB / 0.9577 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.785e-05/0.7894, allocations: 14.28 kB / 0.9577 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001639/0.7895, allocations: 123 kB / 0.9579 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001428/0.7897, allocations: 103.3 kB / 0.958 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004674/0.7902, allocations: 480.8 kB / 0.9584 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.7902, allocations: 4.969 kB / 0.9584 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.343e-06/0.7902, allocations: 0 / 0.9584 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.002e-05/0.7902, allocations: 0 / 0.9584 GB, free: 4.93 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.00131/0.7915, allocations: 0.7819 MB / 0.9592 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.7916, allocations: 8.25 kB / 0.9592 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002147/0.7918, allocations: 55.11 kB / 0.9593 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004268/0.7922, allocations: 320.2 kB / 0.9596 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.908e-05/0.7923, allocations: 20.38 kB / 0.9596 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.762e-05/0.7924, allocations: 31.36 kB / 0.9596 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009484/0.7934, allocations: 249.8 kB / 0.9598 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.7934, allocations: 1.031 kB / 0.9598 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.883e-05/0.7934, allocations: 4.938 kB / 0.9599 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.7935, allocations: 2.25 kB / 0.9599 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007258/0.7942, allocations: 127 kB / 0.96 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001369/0.7956, allocations: 0.6769 MB / 0.9606 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.7967, allocations: 200.8 kB / 0.9608 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007263/0.7974, allocations: 131.1 kB / 0.961 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.09e-05/0.7974, allocations: 1.344 kB / 0.961 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009527/0.7984, allocations: 244 kB / 0.9612 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 2.845e-06/0.7984, allocations: 0 / 0.9612 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002614/0.801, allocations: 0.5179 MB / 0.9617 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.8011, allocations: 65.17 kB / 0.9618 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005727/0.8017, allocations: 444.5 kB / 0.9622 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001213/0.8018, allocations: 41.84 kB / 0.9622 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.8019, allocations: 109.1 kB / 0.9623 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.976e-05/0.802, allocations: 37.36 kB / 0.9624 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.138e-05/0.8021, allocations: 14.42 kB / 0.9624 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.506e-05/0.8021, allocations: 321.4 kB / 0.9627 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003065/0.8024, allocations: 139.9 kB / 0.9628 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003034/0.8027, allocations: 189.8 kB / 0.963 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002795/0.803, allocations: 217.3 kB / 0.9632 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.803, allocations: 0 / 0.9632 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009133/0.804, allocations: 0.5217 MB / 0.9637 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.029e-05/0.8041, allocations: 98.8 kB / 0.9638 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.8041, allocations: 6.344 kB / 0.9638 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.64e-05/0.8041, allocations: 2.844 kB / 0.9638 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/0.8043, allocations: 22.02 kB / 0.9638 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.647e-05/0.8044, allocations: 6.797 kB / 0.9638 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006013/0.805, allocations: 66.39 kB / 0.9639 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001254/0.8051, allocations: 72.8 kB / 0.964 GB, free: 0.9219 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.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition1,calTim.calTim.hourSampleTrigger,$whenCondition2,calTim.calTim.daySampleTrigger,$PRE.calTim.calTim.year,calTim.calTim.year,$PRE.calTim.calTim.month,calTim.calTim.month,$PRE.calTim.calTim.day,calTim.calTim.day,$PRE.calTim.calTim.hour,calTim.calTim.hour,$PRE.calTim.calTim.weekDay,calTim.calTim.weekDay,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.yearIndex,calTim.calTim.yearIndex,$PRE.calTim.calTim.epochLastMonth,calTim.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.0003891/0.8055, allocations: 213.3 kB / 0.9642 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.8056, allocations: 36.75 kB / 0.9642 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001138/0.8058, allocations: 44.03 kB / 0.9643 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.8058, allocations: 2.031 kB / 0.9643 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.8058, allocations: 0.9688 kB / 0.9643 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.8058, allocations: 0 / 0.9643 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00224/0.808, allocations: 0.8133 MB / 0.965 GB, free: 148 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.8081, allocations: 0 / 0.965 GB, free: 148 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.958e-05/0.8081, allocations: 7.781 kB / 0.9651 GB, free: 144 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.8081, allocations: 1.375 kB / 0.9651 GB, free: 144 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.106e-05/0.8082, allocations: 19.75 kB / 0.9651 GB, free: 136 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.8082, allocations: 0.7188 kB / 0.9651 GB, free: 136 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.8082, allocations: 4.922 kB / 0.9651 GB, free: 132 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001794/0.81, allocations: 0.4949 MB / 0.9656 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003897/0.8104, allocations: 243.8 kB / 0.9658 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.8105, allocations: 19.08 kB / 0.9658 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000466/0.811, allocations: 40.72 kB / 0.9659 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.155e-05/0.811, allocations: 8.391 kB / 0.9659 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001052/0.8112, allocations: 65.39 kB / 0.9659 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005092/0.8117, allocations: 314.4 kB / 0.9662 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8117, allocations: 0 / 0.9662 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005774/0.8123, allocations: 72.02 kB / 0.9663 GB, free: 15.39 MB / 0.7325 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 (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.0002336/0.8125, allocations: 129.8 kB / 0.9664 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001498/0.814, allocations: 483.2 kB / 0.9669 GB, free: 15 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.814, allocations: 0 / 0.9669 GB, free: 15 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007168/0.8148, allocations: 141.4 kB / 0.967 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004441/0.8152, allocations: 35.8 kB / 0.967 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001842/0.8171, allocations: 0.7135 MB / 0.9677 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004389/0.8175, allocations: 0.7799 MB / 0.9685 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001084/0.8176, allocations: 17.33 kB / 0.9685 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.015e-05/0.8177, allocations: 18.52 kB / 0.9685 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of SimCode: time 8.02e-07/0.8177, allocations: 1.094 kB / 0.9685 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of Templates: time 0.01178/0.8295, allocations: 5.322 MB / 0.9737 GB, free: 10.73 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches