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.021/2.021, allocations: 390.3 MB / 402.8 MB, free: 6.672 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.0009603/0.0009603, allocations: 172.9 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.223/1.223, allocations: 221.3 MB / 0.7915 GB, free: 5.387 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.0008894/0.0008894, allocations: 106.7 kB / 0.9318 GB, free: 5.699 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.375e-05/2.384e-05, allocations: 0 / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.1896, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6482/0.8378, allocations: 152.7 MB / 1.368 GB, free: 1.309 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001878/0.8381, allocations: 71.95 kB / 1.368 GB, free: 1.27 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01312/0.8512, allocations: 4.584 MB / 1.372 GB, free: 13.29 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.002e-06/0.8512, allocations: 0 / 1.372 GB, free: 13.29 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.244e-05/0.8512, allocations: 4 kB / 1.372 GB, free: 13.28 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.0006221/0.8519, allocations: 0.6227 MB / 1.373 GB, free: 12.6 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.8519, allocations: 12.03 kB / 1.373 GB, free: 12.59 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.512e-05/0.852, allocations: 38.05 kB / 1.373 GB, free: 12.54 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.387e-05/0.8521, allocations: 35.62 kB / 1.373 GB, free: 12.51 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000292/0.8524, allocations: 257.6 kB / 1.373 GB, free: 12.22 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.641e-05/0.8524, allocations: 15.19 kB / 1.373 GB, free: 12.21 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.412e-05/0.8525, allocations: 23.53 kB / 1.373 GB, free: 12.19 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002387/0.8527, allocations: 150.8 kB / 1.374 GB, free: 12.06 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-06/0.8527, allocations: 0 / 1.374 GB, free: 12.06 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.01e-05/0.8528, allocations: 3.984 kB / 1.374 GB, free: 12.06 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.8528, allocations: 4 kB / 1.374 GB, free: 12.05 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.8529, allocations: 46.86 kB / 1.374 GB, free: 12.02 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000305/0.8532, allocations: 329.9 kB / 1.374 GB, free: 11.7 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.8534, allocations: 111.6 kB / 1.374 GB, free: 11.61 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.8535, allocations: 65.33 kB / 1.374 GB, free: 11.57 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.8535, allocations: 0 / 1.374 GB, free: 11.57 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002059/0.8537, allocations: 158.4 kB / 1.374 GB, free: 11.43 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.402e-06/0.8537, allocations: 0 / 1.374 GB, free: 11.43 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.000449/0.8542, allocations: 247.1 kB / 1.375 GB, free: 11.21 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.8543, allocations: 63.16 kB / 1.375 GB, free: 11.14 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002089/0.8545, allocations: 261.1 kB / 1.375 GB, free: 10.92 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.985e-05/0.8545, allocations: 36.64 kB / 1.375 GB, free: 10.88 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.481e-05/0.8546, allocations: 96 kB / 1.375 GB, free: 10.79 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.725e-05/0.8546, allocations: 37.3 kB / 1.375 GB, free: 10.76 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.622e-05/0.8547, allocations: 7 kB / 1.375 GB, free: 10.76 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.368e-05/0.8548, allocations: 326.7 kB / 1.375 GB, free: 10.43 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001811/0.855, allocations: 90.97 kB / 1.375 GB, free: 10.37 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001913/0.8552, allocations: 137.8 kB / 1.376 GB, free: 10.25 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001935/0.8554, allocations: 144.4 kB / 1.376 GB, free: 10.12 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.8554, allocations: 4 kB / 1.376 GB, free: 10.11 MB / 0.8386 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005805/0.856, allocations: 398.9 kB / 1.376 GB, free: 9.77 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.147e-05/0.856, allocations: 78 kB / 1.376 GB, free: 9.688 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.856, allocations: 0 / 1.376 GB, free: 9.688 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.8561, allocations: 4 kB / 1.376 GB, free: 9.684 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.8562, allocations: 19.98 kB / 1.376 GB, free: 9.664 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.8562, allocations: 3.938 kB / 1.376 GB, free: 9.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002895/0.8565, allocations: 55.5 kB / 1.376 GB, free: 9.609 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.637e-05/0.8566, allocations: 47.73 kB / 1.376 GB, free: 9.566 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.0001076/0.8567, allocations: 122.1 kB / 1.376 GB, free: 9.449 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.994e-05/0.8568, allocations: 31.66 kB / 1.376 GB, free: 9.418 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.231e-05/0.8568, allocations: 25.53 kB / 1.376 GB, free: 9.402 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.8568, allocations: 7.984 kB / 1.376 GB, free: 9.395 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.8568, allocations: 4 kB / 1.376 GB, free: 9.391 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.8568, allocations: 0 / 1.376 GB, free: 9.391 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009769/0.8578, allocations: 0.5957 MB / 1.377 GB, free: 8.816 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/0.8579, allocations: 0 / 1.377 GB, free: 8.816 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.858, allocations: 7.938 kB / 1.377 GB, free: 8.809 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.939e-05/0.8581, allocations: 4 kB / 1.377 GB, free: 8.805 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001035/0.8582, allocations: 15.97 kB / 1.377 GB, free: 8.789 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.516e-06/0.8582, allocations: 0 / 1.377 GB, free: 8.789 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.8582, allocations: 4 kB / 1.377 GB, free: 8.785 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006512/0.8589, allocations: 348.1 kB / 1.377 GB, free: 8.469 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001651/0.859, allocations: 158.5 kB / 1.378 GB, free: 8.309 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.61e-05/0.8591, allocations: 18.48 kB / 1.378 GB, free: 8.297 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003782/0.8595, allocations: 23.98 kB / 1.378 GB, free: 8.273 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.794e-05/0.8595, allocations: 15.98 kB / 1.378 GB, free: 8.258 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.742e-05/0.8596, allocations: 43.22 kB / 1.378 GB, free: 8.219 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001578/0.8598, allocations: 202.8 kB / 1.378 GB, free: 8.051 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8598, allocations: 0 / 1.378 GB, free: 8.051 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002765/0.86, allocations: 58.92 kB / 1.378 GB, free: 8 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.0006578/0.8607, allocations: 0.8973 MB / 1.379 GB, free: 7.117 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004331/0.8611, allocations: 337.5 kB / 1.379 GB, free: 6.828 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.8612, allocations: 0 / 1.379 GB, free: 6.828 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.8613, allocations: 77.14 kB / 1.379 GB, free: 6.77 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001973/0.8615, allocations: 17.38 kB / 1.379 GB, free: 6.762 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006268/0.8621, allocations: 342.4 kB / 1.379 GB, free: 6.426 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000259/0.8624, allocations: 0.7474 MB / 1.38 GB, free: 5.656 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.957e-05/0.8624, allocations: 12.78 kB / 1.38 GB, free: 5.645 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.417e-05/0.8625, allocations: 22.61 kB / 1.38 GB, free: 5.629 MB / 0.8386 GB Notification: Performance of SimCode: time 1.373e-06/0.8625, allocations: 4 kB / 1.38 GB, free: 5.625 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01491/0.8774, allocations: 4.933 MB / 1.385 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001739/0.8776, allocations: 156.4 kB / 1.385 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.474/2.352, allocations: 10.05 kB / 1.385 GB, free: 0.6094 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