Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009306/0.009306, allocations: 106.3 kB / 15.74 MB, free: 6.004 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.002546/0.002546, allocations: 196.5 kB / 16.68 MB, free: 5.93 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.622/2.622, allocations: 461.9 MB / 0.7348 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002498/0.002498, allocations: 67.88 kB / 1.054 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9118/0.9144, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.00253/0.9169, allocations: 1.513 MB / 1.209 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001226/0.9182, allocations: 0.5462 MB / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.228e-05/0.9183, allocations: 0 / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001038/0.9184, allocations: 11.86 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001137/0.9185, allocations: 31.84 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000878/0.9194, allocations: 307 kB / 1.21 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005204/0.9199, allocations: 0.5033 MB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.374e-05/0.92, allocations: 11.98 kB / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003682/0.9204, allocations: 271.6 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000279/0.9207, allocations: 147.7 kB / 1.211 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.708e-05/0.9207, allocations: 28 kB / 1.211 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 6.898e-05/0.9208, allocations: 31.94 kB / 1.211 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.9209, allocations: 115.6 kB / 1.211 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001835/0.9211, allocations: 175.1 kB / 1.211 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005031/0.9216, allocations: 424.4 kB / 1.212 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.9217, allocations: 7.938 kB / 1.212 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.753e-06/0.9217, allocations: 4 kB / 1.212 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.979e-06/0.9217, allocations: 0 / 1.212 GB, free: 9.547 MB / 0.9356 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.001253/0.9229, allocations: 0.8664 MB / 1.213 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.923, allocations: 8.031 kB / 1.213 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/0.9231, allocations: 52.47 kB / 1.213 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003666/0.9235, allocations: 302.3 kB / 1.213 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.399e-05/0.9235, allocations: 16.38 kB / 1.213 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/0.9237, allocations: 32.36 kB / 1.213 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008781/0.9245, allocations: 217.9 kB / 1.213 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.9246, allocations: 192 / 1.213 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.506e-05/0.9246, allocations: 3.938 kB / 1.213 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.9246, allocations: 0 / 1.213 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006773/0.9253, allocations: 107.9 kB / 1.213 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004001/0.9257, allocations: 393.2 kB / 1.214 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.9267, allocations: 174.5 kB / 1.214 GB, free: 7.207 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000681/0.9274, allocations: 112.8 kB / 1.214 GB, free: 7.094 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.251e-05/0.9274, allocations: 7.938 kB / 1.214 GB, free: 7.086 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008665/0.9283, allocations: 219.2 kB / 1.214 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.9283, allocations: 0 / 1.214 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.002352/0.9307, allocations: 487.8 kB / 1.215 GB, free: 6.379 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.9307, allocations: 67.38 kB / 1.215 GB, free: 6.301 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003822/0.9311, allocations: 405.9 kB / 1.215 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.83e-05/0.9312, allocations: 41.69 kB / 1.215 GB, free: 5.848 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.456e-05/0.9313, allocations: 93.45 kB / 1.215 GB, free: 5.754 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.22e-05/0.9313, allocations: 51.33 kB / 1.215 GB, free: 5.703 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001795/0.9315, allocations: 125.3 kB / 1.215 GB, free: 5.574 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.9316, allocations: 322.8 kB / 1.216 GB, free: 5.25 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002494/0.9319, allocations: 119.9 kB / 1.216 GB, free: 5.133 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002695/0.9322, allocations: 167.2 kB / 1.216 GB, free: 4.949 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003743/0.9325, allocations: 278.4 kB / 1.216 GB, free: 4.645 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.9326, allocations: 0 / 1.216 GB, free: 4.645 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008147/0.9334, allocations: 483.1 kB / 1.217 GB, free: 4.156 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.032e-05/0.9335, allocations: 99.3 kB / 1.217 GB, free: 4.047 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.9335, allocations: 4.188 kB / 1.217 GB, free: 4.043 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.9335, allocations: 4 kB / 1.217 GB, free: 4.039 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.9337, allocations: 23.92 kB / 1.217 GB, free: 4.016 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.9337, allocations: 4 kB / 1.217 GB, free: 4.012 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004633/0.9342, allocations: 59.78 kB / 1.217 GB, free: 3.953 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-05/0.9343, allocations: 59.98 kB / 1.217 GB, free: 3.895 MB / 0.9356 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.0002398/0.9345, allocations: 196 kB / 1.217 GB, free: 3.695 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.673e-05/0.9346, allocations: 43.47 kB / 1.217 GB, free: 3.652 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.828e-05/0.9347, allocations: 43.69 kB / 1.217 GB, free: 3.609 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.9347, allocations: 3.938 kB / 1.217 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.9347, allocations: 0 / 1.217 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.9347, allocations: 3.984 kB / 1.217 GB, free: 3.602 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002071/0.9368, allocations: 0.7482 MB / 1.218 GB, free: 2.793 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.9368, allocations: 0 / 1.218 GB, free: 2.793 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.539e-05/0.9368, allocations: 4 kB / 1.218 GB, free: 2.789 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.9369, allocations: 0 / 1.218 GB, free: 2.789 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.601e-05/0.9369, allocations: 19.97 kB / 1.218 GB, free: 2.77 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.9369, allocations: 4 kB / 1.218 GB, free: 2.766 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.9369, allocations: 0 / 1.218 GB, free: 2.766 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001543/0.9385, allocations: 479.2 kB / 1.218 GB, free: 2.281 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002305/0.9387, allocations: 200.5 kB / 1.219 GB, free: 2.066 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.686e-05/0.9388, allocations: 15.98 kB / 1.219 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00045/0.9392, allocations: 39.89 kB / 1.219 GB, free: 2.012 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.781e-05/0.9393, allocations: 7.984 kB / 1.219 GB, free: 2.004 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.29e-05/0.9394, allocations: 51.98 kB / 1.219 GB, free: 1.953 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002765/0.9396, allocations: 299.1 kB / 1.219 GB, free: 1.664 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9396, allocations: 0 / 1.219 GB, free: 1.664 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003856/0.94, allocations: 67.98 kB / 1.219 GB, free: 1.598 MB / 0.9356 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.0001489/0.9402, allocations: 115.2 kB / 1.219 GB, free: 1.473 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00119/0.9414, allocations: 436.7 kB / 1.22 GB, free: 1.023 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.9414, allocations: 0 / 1.22 GB, free: 1.023 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006884/0.9421, allocations: 124.2 kB / 1.22 GB, free: 0.9023 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/0.9425, allocations: 29.48 kB / 1.22 GB, free: 0.875 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.9439, allocations: 0.5478 MB / 1.22 GB, free: 308 kB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/0.9443, allocations: 0.7745 MB / 1.221 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 7.076e-05/0.9444, allocations: 17.08 kB / 1.221 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.302e-05/0.9444, allocations: 15.44 kB / 1.221 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of SimCode: time 6.71e-07/0.9444, allocations: 3.938 kB / 1.221 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of Templates: time 0.009433/0.9539, allocations: 4.937 MB / 1.226 GB, free: 10.43 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches