Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.233/2.233, allocations: 387.4 MB / 394.9 MB, free: 13.39 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 176.9 kB / 487.4 MB, free: 5.043 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.698/1.698, allocations: 221.5 MB / 0.7824 GB, free: 0.9727 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009081/0.0009081, allocations: 99.06 kB / 0.9219 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.084e-05/2.079e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2443, allocations: 142.4 MB / 1.206 GB, free: 43.83 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9337/1.178, allocations: 151.5 MB / 1.354 GB, free: 18.43 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001856/1.178, allocations: 76.31 kB / 1.354 GB, free: 18.43 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01566/1.194, allocations: 5.305 MB / 1.359 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.307e-06/1.194, allocations: 3.938 kB / 1.359 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.856e-05/1.194, allocations: 3.844 kB / 1.359 GB, free: 33.82 MB / 0.8386 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.0008256/1.195, allocations: 0.652 MB / 1.36 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/1.195, allocations: 12.06 kB / 1.36 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001109/1.195, allocations: 36.78 kB / 1.36 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004094/1.195, allocations: 275.5 kB / 1.36 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.01e-05/1.196, allocations: 3.969 kB / 1.36 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.881e-05/1.196, allocations: 21.12 kB / 1.36 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001468/1.196, allocations: 56.14 kB / 1.36 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002794/1.196, allocations: 170.8 kB / 1.36 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/1.196, allocations: 4 kB / 1.36 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.842e-05/1.196, allocations: 3.844 kB / 1.36 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/1.196, allocations: 0 / 1.36 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001076/1.197, allocations: 0.5592 MB / 1.361 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/1.197, allocations: 119.7 kB / 1.361 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.872e-05/1.197, allocations: 62.2 kB / 1.361 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/1.198, allocations: 0 / 1.361 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002223/1.198, allocations: 170.2 kB / 1.361 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.393e-06/1.198, allocations: 0 / 1.361 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0004604/1.198, allocations: 250 kB / 1.362 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/1.198, allocations: 70.97 kB / 1.362 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002867/1.199, allocations: 271.9 kB / 1.362 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.756e-05/1.199, allocations: 32.31 kB / 1.362 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.22e-05/1.199, allocations: 99.84 kB / 1.362 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.629e-05/1.199, allocations: 32.77 kB / 1.362 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/1.199, allocations: 7.812 kB / 1.362 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001274/1.199, allocations: 321.5 kB / 1.362 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/1.199, allocations: 94.36 kB / 1.362 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001849/1.199, allocations: 145.5 kB / 1.363 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/1.199, allocations: 81.78 kB / 1.363 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/1.199, allocations: 4 kB / 1.363 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004789/1.2, allocations: 315.2 kB / 1.363 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.691e-05/1.2, allocations: 79.61 kB / 1.363 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/1.2, allocations: 7.797 kB / 1.363 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/1.2, allocations: 3.844 kB / 1.363 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/1.2, allocations: 21.58 kB / 1.363 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/1.2, allocations: 3.844 kB / 1.363 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003022/1.201, allocations: 40.8 kB / 1.363 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.491e-05/1.201, allocations: 47.8 kB / 1.363 GB, free: 31.72 MB / 0.8386 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.0001247/1.201, allocations: 124 kB / 1.363 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003114/1.201, allocations: 246.5 kB / 1.364 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.739e-05/1.201, allocations: 31.11 kB / 1.364 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.253e-05/1.201, allocations: 38.73 kB / 1.364 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/1.201, allocations: 7.938 kB / 1.364 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/1.201, allocations: 0 / 1.364 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/1.201, allocations: 0 / 1.364 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005826/1.202, allocations: 0.6053 MB / 1.364 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/1.202, allocations: 0 / 1.364 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.482e-05/1.202, allocations: 3.844 kB / 1.364 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/1.202, allocations: 3.938 kB / 1.364 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.74e-05/1.202, allocations: 13.88 kB / 1.364 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/1.202, allocations: 0 / 1.364 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.202, allocations: 7.906 kB / 1.364 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003209/1.202, allocations: 342.5 kB / 1.365 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001599/1.202, allocations: 194.3 kB / 1.365 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.005e-05/1.202, allocations: 17.19 kB / 1.365 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004047/1.203, allocations: 31.39 kB / 1.365 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.53e-05/1.203, allocations: 13.89 kB / 1.365 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.373e-05/1.203, allocations: 40.12 kB / 1.365 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000157/1.203, allocations: 215.9 kB / 1.365 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.203, allocations: 0 / 1.365 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003316/1.203, allocations: 55.91 kB / 1.365 GB, free: 30.89 MB / 0.8386 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.0006545/1.204, allocations: 0.9149 MB / 1.366 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003964/1.205, allocations: 344.7 kB / 1.366 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/1.205, allocations: 3.938 kB / 1.366 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.676e-05/1.205, allocations: 67.22 kB / 1.366 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/1.205, allocations: 24.97 kB / 1.366 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006732/1.206, allocations: 363.2 kB / 1.367 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/1.206, allocations: 0.7567 MB / 1.367 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.263e-05/1.206, allocations: 19.89 kB / 1.368 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.232e-05/1.206, allocations: 25.23 kB / 1.368 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of SimCode: time 8.02e-07/1.206, allocations: 3.906 kB / 1.368 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02938/1.235, allocations: 5.021 MB / 1.372 GB, free: 28.67 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002572/1.236, allocations: 174.1 kB / 1.373 GB, free: 28.48 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.654/2.89, allocations: 0 / 1.373 GB, free: 28.48 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus_res.mat does not exist to compare? outputFormat=mat