Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.052/2.052, allocations: 390.5 MB / 398 MB, free: 10.93 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.0009876/0.0009876, allocations: 191.5 kB / 491.2 MB, free: 1.559 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.406/1.406, allocations: 221.5 MB / 0.7868 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008869/0.0008869, allocations: 96.86 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.823e-05/1.826e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.275, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8452/1.12, allocations: 152 MB / 1.361 GB, free: 17.59 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/1.121, allocations: 75.03 kB / 1.361 GB, free: 17.59 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01286/1.133, allocations: 4.559 MB / 1.365 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.252e-06/1.133, allocations: 0 / 1.365 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.336e-05/1.133, allocations: 3.875 kB / 1.365 GB, free: 33.03 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006243/1.134, allocations: 0.6329 MB / 1.366 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/1.134, allocations: 14.27 kB / 1.366 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.733e-05/1.134, allocations: 27.25 kB / 1.366 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002639/1.134, allocations: 254.3 kB / 1.366 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.12e-05/1.135, allocations: 3.906 kB / 1.366 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.509e-05/1.135, allocations: 19.19 kB / 1.366 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000101/1.135, allocations: 42.94 kB / 1.366 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/1.135, allocations: 145.4 kB / 1.366 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/1.135, allocations: 3.938 kB / 1.366 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.528e-05/1.135, allocations: 2.578 kB / 1.366 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/1.135, allocations: 7.844 kB / 1.366 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002609/1.135, allocations: 303.6 kB / 1.367 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/1.135, allocations: 99.69 kB / 1.367 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.46e-05/1.135, allocations: 58.19 kB / 1.367 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/1.135, allocations: 3.969 kB / 1.367 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000175/1.136, allocations: 156.1 kB / 1.367 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/1.136, allocations: 0 / 1.367 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0003894/1.136, allocations: 241.5 kB / 1.367 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.619e-05/1.136, allocations: 66.02 kB / 1.367 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001908/1.136, allocations: 246.7 kB / 1.368 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.821e-05/1.136, allocations: 29.58 kB / 1.368 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.599e-05/1.136, allocations: 95.39 kB / 1.368 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.241e-05/1.136, allocations: 33.42 kB / 1.368 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-05/1.136, allocations: 3.906 kB / 1.368 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.593e-05/1.137, allocations: 328.7 kB / 1.368 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/1.137, allocations: 73.64 kB / 1.368 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/1.137, allocations: 128 kB / 1.368 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/1.137, allocations: 76.81 kB / 1.368 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/1.137, allocations: 3.781 kB / 1.368 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004217/1.137, allocations: 292.2 kB / 1.369 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.965e-05/1.137, allocations: 76.92 kB / 1.369 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/1.138, allocations: 0 / 1.369 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/1.138, allocations: 3.812 kB / 1.369 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/1.138, allocations: 33.16 kB / 1.369 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/1.138, allocations: 7.906 kB / 1.369 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002872/1.138, allocations: 37.31 kB / 1.369 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.604e-05/1.138, allocations: 40.5 kB / 1.369 GB, free: 31.03 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.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,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.0001125/1.138, allocations: 122 kB / 1.369 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002753/1.138, allocations: 250.7 kB / 1.369 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.218e-05/1.138, allocations: 31.16 kB / 1.369 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.41e-05/1.139, allocations: 27.09 kB / 1.369 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/1.139, allocations: 2.812 kB / 1.369 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/1.139, allocations: 0 / 1.369 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/1.139, allocations: 0 / 1.369 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005869/1.139, allocations: 0.5555 MB / 1.37 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/1.139, allocations: 0 / 1.37 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.469e-05/1.139, allocations: 10.03 kB / 1.37 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/1.139, allocations: 4 kB / 1.37 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.573e-05/1.139, allocations: 13.12 kB / 1.37 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/1.139, allocations: 3.875 kB / 1.37 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/1.139, allocations: 3.141 kB / 1.37 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000299/1.14, allocations: 335.9 kB / 1.37 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/1.14, allocations: 167.3 kB / 1.37 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.756e-05/1.14, allocations: 10.28 kB / 1.37 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003884/1.14, allocations: 36.73 kB / 1.37 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.257e-05/1.14, allocations: 12.67 kB / 1.37 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-05/1.14, allocations: 40.83 kB / 1.37 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001294/1.14, allocations: 195 kB / 1.371 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.14, allocations: 0 / 1.371 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000297/1.141, allocations: 49.22 kB / 1.371 GB, free: 30.21 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.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) * 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.0005694/1.141, allocations: 0.8898 MB / 1.371 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003524/1.142, allocations: 322.4 kB / 1.372 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/1.142, allocations: 0 / 1.372 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.706e-05/1.142, allocations: 59.11 kB / 1.372 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/1.142, allocations: 30.09 kB / 1.372 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006126/1.143, allocations: 330.7 kB / 1.372 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/1.143, allocations: 0.7457 MB / 1.373 GB, free: 28.52 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.277e-05/1.143, allocations: 15.47 kB / 1.373 GB, free: 28.51 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.487e-05/1.143, allocations: 25.27 kB / 1.373 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.143, allocations: 0 / 1.373 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02264/1.166, allocations: 4.487 MB / 1.377 GB, free: 28.06 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001781/1.166, allocations: 148.5 kB / 1.377 GB, free: 27.87 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.562/2.728, allocations: 3.938 kB / 1.377 GB, free: 27.87 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat does not exist to compare? outputFormat=mat