Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.653/2.653, allocations: 287.3 MB / 302.3 MB, free: 8.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001539/0.001539, allocations: 189.4 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.164/2.164, allocations: 205.4 MB / 0.6295 GB, free: 10.66 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001088/0.001088, allocations: 99.75 kB / 0.7428 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006216/0.0006217, allocations: 13.45 kB / 0.8658 GB, free: 140 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.2093, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9581/1.167, allocations: 139.9 MB / 1.115 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/1.168, allocations: 74.41 kB / 1.115 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02393/1.192, allocations: 5.205 MB / 1.12 GB, free: 31.24 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.894e-06/1.192, allocations: 224 / 1.12 GB, free: 31.24 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.17e-05/1.192, allocations: 3.844 kB / 1.12 GB, free: 31.24 MB / 0.698 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.001418/1.193, allocations: 0.6476 MB / 1.121 GB, free: 30.66 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/1.193, allocations: 11.84 kB / 1.121 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.637e-05/1.193, allocations: 44.5 kB / 1.121 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001493/1.194, allocations: 33.45 kB / 1.121 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004552/1.194, allocations: 278.9 kB / 1.121 GB, free: 30.38 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.69e-05/1.194, allocations: 14 kB / 1.121 GB, free: 30.38 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/1.194, allocations: 21.62 kB / 1.121 GB, free: 30.38 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004592/1.195, allocations: 162.2 kB / 1.121 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/1.195, allocations: 3.953 kB / 1.121 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.223e-05/1.195, allocations: 6.734 kB / 1.121 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/1.195, allocations: 7.875 kB / 1.121 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002294/1.195, allocations: 57 kB / 1.121 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001767/1.197, allocations: 0.5883 MB / 1.122 GB, free: 30.06 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004775/1.197, allocations: 142.6 kB / 1.122 GB, free: 30.03 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.869e-05/1.197, allocations: 0 / 1.122 GB, free: 30.03 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006288/1.198, allocations: 230.2 kB / 1.122 GB, free: 29.96 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 2.785e-06/1.198, allocations: 0 / 1.122 GB, free: 29.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.001034/1.199, allocations: 281.5 kB / 1.123 GB, free: 29.91 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.889e-05/1.199, allocations: 61.28 kB / 1.123 GB, free: 29.85 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004888/1.2, allocations: 282.7 kB / 1.123 GB, free: 29.75 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001735/1.2, allocations: 40.08 kB / 1.123 GB, free: 29.71 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/1.2, allocations: 95.38 kB / 1.123 GB, free: 29.62 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.056e-05/1.2, allocations: 48.2 kB / 1.123 GB, free: 29.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.264e-05/1.2, allocations: 17.5 kB / 1.123 GB, free: 29.59 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001313/1.2, allocations: 324.9 kB / 1.123 GB, free: 29.28 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004945/1.201, allocations: 121.6 kB / 1.124 GB, free: 29.27 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000492/1.201, allocations: 170.2 kB / 1.124 GB, free: 29.22 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004579/1.202, allocations: 167 kB / 1.124 GB, free: 29.14 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/1.202, allocations: 3.812 kB / 1.124 GB, free: 29.14 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001352/1.203, allocations: 453 kB / 1.124 GB, free: 29.04 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001057/1.203, allocations: 80.38 kB / 1.124 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/1.203, allocations: 3.75 kB / 1.124 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/1.203, allocations: 4.188 kB / 1.124 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002797/1.204, allocations: 32.81 kB / 1.124 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/1.204, allocations: 3.969 kB / 1.124 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006821/1.204, allocations: 40.62 kB / 1.124 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001211/1.204, allocations: 52.19 kB / 1.124 GB, free: 28.96 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition3,calTim.calTim.hourSampleTrigger,$whenCondition4,calTim.calTim.daySampleTrigger,$whenCondition2,$whenCondition1,$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 (28): * Single equations (assignments): 26 * 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.0004152/1.205, allocations: 193.7 kB / 1.125 GB, free: 28.83 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.448e-05/1.205, allocations: 34.92 kB / 1.125 GB, free: 28.81 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.127e-05/1.205, allocations: 27.69 kB / 1.125 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/1.205, allocations: 3.875 kB / 1.125 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/1.205, allocations: 0 / 1.125 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/1.205, allocations: 3.375 kB / 1.125 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001219/1.206, allocations: 0.5986 MB / 1.125 GB, free: 28.49 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.299e-06/1.206, allocations: 0 / 1.125 GB, free: 28.49 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.59e-05/1.206, allocations: 18.8 kB / 1.125 GB, free: 28.49 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/1.207, allocations: 0 / 1.125 GB, free: 28.49 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.608e-05/1.207, allocations: 7.203 kB / 1.125 GB, free: 28.49 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/1.207, allocations: 3.812 kB / 1.125 GB, free: 28.49 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/1.207, allocations: 0 / 1.125 GB, free: 28.49 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006492/1.207, allocations: 330.9 kB / 1.126 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003517/1.208, allocations: 192.2 kB / 1.126 GB, free: 28.22 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.922e-05/1.208, allocations: 11.47 kB / 1.126 GB, free: 28.22 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002971/1.208, allocations: 18.05 kB / 1.126 GB, free: 28.21 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.357e-05/1.208, allocations: 17.06 kB / 1.126 GB, free: 28.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.795e-05/1.208, allocations: 34.2 kB / 1.126 GB, free: 28.21 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003015/1.208, allocations: 229.8 kB / 1.126 GB, free: 28.13 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.91e-07/1.209, allocations: 0 / 1.126 GB, free: 28.13 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005657/1.209, allocations: 52.97 kB / 1.126 GB, free: 28.13 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calTim.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$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.yearIndex,calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.firstHourSampling,calTim.calTim.hour,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.year) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * 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.001047/1.21, allocations: 0.891 MB / 1.127 GB, free: 27.45 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00103/1.211, allocations: 380.8 kB / 1.127 GB, free: 27.31 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/1.211, allocations: 0 / 1.127 GB, free: 27.31 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002271/1.211, allocations: 75.3 kB / 1.127 GB, free: 27.31 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004352/1.212, allocations: 32.72 kB / 1.128 GB, free: 27.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001884/1.214, allocations: 1.654 MB / 1.129 GB, free: 25.86 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003872/1.214, allocations: 0.7554 MB / 1.13 GB, free: 25.16 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000246/1.214, allocations: 42.92 kB / 1.13 GB, free: 25.15 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002141/1.215, allocations: 57.89 kB / 1.13 GB, free: 25.13 MB / 0.698 GB Notification: Performance of SimCode: time 1.182e-06/1.215, allocations: 3.938 kB / 1.13 GB, free: 25.13 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02719/1.242, allocations: 5.944 MB / 1.136 GB, free: 23.68 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002798/1.242, allocations: 214.9 kB / 1.136 GB, free: 23.44 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.822/4.064, allocations: 0 / 1.136 GB, free: 23.44 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)