Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.796/1.796, allocations: 289.7 MB / 302.3 MB, free: 2.176 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.001194/0.001194, allocations: 181.8 kB / 371.6 MB, free: 3.43 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.803/1.803, allocations: 205.2 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00116/0.00116, allocations: 95.47 kB / 0.745 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.93e-05/4.951e-05, allocations: 8 kB / 0.8664 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.2995, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8787/1.178, allocations: 141.8 MB / 1.118 GB, free: 42.62 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/1.179, allocations: 70.27 kB / 1.118 GB, free: 42.59 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01435/1.193, allocations: 5.306 MB / 1.124 GB, free: 39.61 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.333e-06/1.193, allocations: 3.938 kB / 1.124 GB, free: 39.61 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.26e-05/1.193, allocations: 8 kB / 1.124 GB, free: 39.6 MB / 0.7448 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.0006844/1.194, allocations: 0.6467 MB / 1.124 GB, free: 38.93 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/1.194, allocations: 12.03 kB / 1.124 GB, free: 38.92 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.939e-05/1.194, allocations: 37.72 kB / 1.124 GB, free: 38.88 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.614e-05/1.194, allocations: 37.34 kB / 1.124 GB, free: 38.85 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003355/1.194, allocations: 285.6 kB / 1.125 GB, free: 38.58 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.811e-05/1.194, allocations: 22.67 kB / 1.125 GB, free: 38.57 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.516e-05/1.194, allocations: 16 kB / 1.125 GB, free: 38.55 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002822/1.195, allocations: 170.7 kB / 1.125 GB, free: 38.46 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/1.195, allocations: 0 / 1.125 GB, free: 38.46 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.698e-05/1.195, allocations: 7.328 kB / 1.125 GB, free: 38.46 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/1.195, allocations: 4 kB / 1.125 GB, free: 38.45 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001283/1.195, allocations: 60.88 kB / 1.125 GB, free: 38.42 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/1.196, allocations: 0.603 MB / 1.125 GB, free: 38.02 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/1.196, allocations: 109 kB / 1.126 GB, free: 37.94 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/1.196, allocations: 62.97 kB / 1.126 GB, free: 37.9 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.865e-05/1.196, allocations: 8 kB / 1.126 GB, free: 37.89 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002208/1.196, allocations: 170.2 kB / 1.126 GB, free: 37.79 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.743e-06/1.196, allocations: 0 / 1.126 GB, free: 37.79 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0004742/1.197, allocations: 253.8 kB / 1.126 GB, free: 37.61 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/1.197, allocations: 63.34 kB / 1.126 GB, free: 37.53 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002396/1.197, allocations: 283.2 kB / 1.126 GB, free: 37.33 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.716e-05/1.197, allocations: 40.69 kB / 1.126 GB, free: 37.29 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.605e-05/1.197, allocations: 103.8 kB / 1.127 GB, free: 37.19 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.091e-05/1.197, allocations: 37.88 kB / 1.127 GB, free: 37.16 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.764e-05/1.197, allocations: 7.875 kB / 1.127 GB, free: 37.16 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.757e-05/1.197, allocations: 329 kB / 1.127 GB, free: 36.84 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/1.198, allocations: 98.12 kB / 1.127 GB, free: 36.79 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000206/1.198, allocations: 164.9 kB / 1.127 GB, free: 36.66 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001934/1.198, allocations: 160.7 kB / 1.127 GB, free: 36.54 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/1.198, allocations: 0 / 1.127 GB, free: 36.54 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005889/1.199, allocations: 422.4 kB / 1.128 GB, free: 36.23 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.3e-05/1.199, allocations: 80.17 kB / 1.128 GB, free: 36.15 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/1.199, allocations: 4 kB / 1.128 GB, free: 36.15 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/1.199, allocations: 5.5 kB / 1.128 GB, free: 36.14 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/1.199, allocations: 26.86 kB / 1.128 GB, free: 36.12 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/1.199, allocations: 4 kB / 1.128 GB, free: 36.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003148/1.199, allocations: 42.12 kB / 1.128 GB, free: 36.09 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.998e-05/1.199, allocations: 47.62 kB / 1.128 GB, free: 36.05 MB / 0.7448 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 () * 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.0001224/1.2, allocations: 133.1 kB / 1.128 GB, free: 35.93 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.912e-05/1.2, allocations: 30.95 kB / 1.128 GB, free: 35.9 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.803e-05/1.2, allocations: 30.47 kB / 1.128 GB, free: 35.89 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/1.2, allocations: 4.562 kB / 1.128 GB, free: 35.88 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/1.2, allocations: 0 / 1.128 GB, free: 35.88 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/1.2, allocations: 0 / 1.128 GB, free: 35.88 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007047/1.2, allocations: 0.638 MB / 1.129 GB, free: 35.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/1.2, allocations: 3.469 kB / 1.129 GB, free: 35.38 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.407e-05/1.2, allocations: 9 kB / 1.129 GB, free: 35.37 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/1.2, allocations: 1.406 kB / 1.129 GB, free: 35.37 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.901e-05/1.2, allocations: 14.8 kB / 1.129 GB, free: 35.36 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/1.2, allocations: 7.938 kB / 1.129 GB, free: 35.36 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/1.2, allocations: 0 / 1.129 GB, free: 35.36 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003664/1.201, allocations: 364.1 kB / 1.129 GB, free: 35.06 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000174/1.201, allocations: 185.2 kB / 1.129 GB, free: 34.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.122e-05/1.201, allocations: 18.88 kB / 1.129 GB, free: 34.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000407/1.202, allocations: 35.33 kB / 1.129 GB, free: 34.89 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.546e-05/1.202, allocations: 7.562 kB / 1.129 GB, free: 34.89 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.744e-05/1.202, allocations: 43.34 kB / 1.129 GB, free: 34.86 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001748/1.202, allocations: 229.3 kB / 1.13 GB, free: 34.69 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.202, allocations: 4 kB / 1.13 GB, free: 34.69 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003134/1.202, allocations: 47.94 kB / 1.13 GB, free: 34.64 MB / 0.7448 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) * 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.0006823/1.203, allocations: 0.9222 MB / 1.131 GB, free: 33.79 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005025/1.203, allocations: 369.5 kB / 1.131 GB, free: 33.51 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/1.203, allocations: 1.031 kB / 1.131 GB, free: 33.51 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001154/1.203, allocations: 66.39 kB / 1.131 GB, free: 33.47 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/1.204, allocations: 27.06 kB / 1.131 GB, free: 33.46 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008134/1.205, allocations: 385 kB / 1.131 GB, free: 33.14 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/1.205, allocations: 0.7576 MB / 1.132 GB, free: 32.4 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.56e-05/1.205, allocations: 14.66 kB / 1.132 GB, free: 32.39 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.746e-05/1.205, allocations: 33.11 kB / 1.132 GB, free: 32.38 MB / 0.7448 GB Notification: Performance of SimCode: time 2.41e-07/1.205, allocations: 4 kB / 1.132 GB, free: 32.38 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03832/1.243, allocations: 5.529 MB / 1.138 GB, free: 29.21 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001768/1.244, allocations: 186.4 kB / 1.138 GB, free: 28.99 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.689/2.932, allocations: 0 / 1.138 GB, free: 28.99 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)