Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonths",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.028/2.028, allocations: 387.1 MB / 399.7 MB, free: 9.52 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.0009574/0.0009574, allocations: 180 kB / 492.3 MB, free: 0.6172 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.229/1.229, allocations: 221.3 MB / 0.7871 GB, free: 12.85 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.0007722/0.0007722, allocations: 97.94 kB / 0.9267 GB, free: 13.93 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.963e-05/1.965e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1813, allocations: 142.3 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6576/0.8389, allocations: 151.9 MB / 1.361 GB, free: 18.86 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001808/0.8391, allocations: 74.66 kB / 1.361 GB, free: 18.85 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01233/0.8514, allocations: 4.583 MB / 1.365 GB, free: 34.28 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.82e-07/0.8515, allocations: 0 / 1.365 GB, free: 34.28 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.367e-05/0.8515, allocations: 7.812 kB / 1.365 GB, free: 34.27 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.0005915/0.8521, allocations: 0.6311 MB / 1.366 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.8521, allocations: 7.719 kB / 1.366 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.685e-05/0.8522, allocations: 44.2 kB / 1.366 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.184e-05/0.8523, allocations: 27.06 kB / 1.366 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002998/0.8526, allocations: 257.7 kB / 1.366 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.596e-05/0.8526, allocations: 18.77 kB / 1.366 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.007e-05/0.8527, allocations: 18.94 kB / 1.366 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002325/0.8529, allocations: 161.1 kB / 1.366 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.8529, allocations: 0 / 1.366 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.413e-05/0.853, allocations: 0 / 1.366 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.853, allocations: 0 / 1.366 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001/0.8531, allocations: 51.77 kB / 1.367 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002669/0.8534, allocations: 327.2 kB / 1.367 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.8535, allocations: 112.3 kB / 1.367 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.688e-05/0.8536, allocations: 59.2 kB / 1.367 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.8536, allocations: 6.828 kB / 1.367 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000176/0.8538, allocations: 157 kB / 1.367 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.8538, allocations: 0 / 1.367 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0004088/0.8542, allocations: 256.5 kB / 1.367 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.442e-05/0.8543, allocations: 62.55 kB / 1.367 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/0.8545, allocations: 255.1 kB / 1.368 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.84e-05/0.8545, allocations: 40.36 kB / 1.368 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.208e-05/0.8546, allocations: 91.19 kB / 1.368 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.284e-05/0.8546, allocations: 36.98 kB / 1.368 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.531e-05/0.8546, allocations: 6.469 kB / 1.368 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 4.288e-05/0.8547, allocations: 324.8 kB / 1.368 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.8548, allocations: 87.17 kB / 1.368 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001725/0.855, allocations: 140 kB / 1.368 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/0.8552, allocations: 149.1 kB / 1.369 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.8552, allocations: 0 / 1.369 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005032/0.8557, allocations: 403.8 kB / 1.369 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.114e-05/0.8558, allocations: 73.42 kB / 1.369 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.8558, allocations: 0 / 1.369 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.8558, allocations: 3.875 kB / 1.369 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.8559, allocations: 24.64 kB / 1.369 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.8559, allocations: 3.938 kB / 1.369 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002867/0.8562, allocations: 48.14 kB / 1.369 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.458e-05/0.8563, allocations: 48.3 kB / 1.369 GB, free: 32.07 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 9.74e-05/0.8564, allocations: 121.5 kB / 1.369 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.401e-05/0.8564, allocations: 27.17 kB / 1.369 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.036e-05/0.8565, allocations: 30.31 kB / 1.369 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.8565, allocations: 0 / 1.369 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.8565, allocations: 0 / 1.369 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.8565, allocations: 7.938 kB / 1.369 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006262/0.8571, allocations: 0.5958 MB / 1.37 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.8572, allocations: 0 / 1.37 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.263e-05/0.8572, allocations: 6.344 kB / 1.37 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.8572, allocations: 3.938 kB / 1.37 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.787e-05/0.8572, allocations: 18.78 kB / 1.37 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.8572, allocations: 0 / 1.37 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.8572, allocations: 3.906 kB / 1.37 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003382/0.8576, allocations: 349.3 kB / 1.37 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/0.8577, allocations: 162.2 kB / 1.37 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.485e-05/0.8578, allocations: 14.67 kB / 1.37 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003643/0.8582, allocations: 33.2 kB / 1.37 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.819e-05/0.8582, allocations: 7.094 kB / 1.37 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.054e-05/0.8582, allocations: 48.39 kB / 1.37 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001385/0.8584, allocations: 206.4 kB / 1.371 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8584, allocations: 0 / 1.371 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002878/0.8587, allocations: 52.33 kB / 1.371 GB, free: 31.27 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.0005782/0.8593, allocations: 0.9045 MB / 1.372 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003775/0.8597, allocations: 343 kB / 1.372 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.8597, allocations: 0 / 1.372 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.762e-05/0.8598, allocations: 67.7 kB / 1.372 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002/0.86, allocations: 24.33 kB / 1.372 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005905/0.8606, allocations: 339.7 kB / 1.372 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/0.8608, allocations: 0.7471 MB / 1.373 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.142e-05/0.8609, allocations: 11.14 kB / 1.373 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.406e-05/0.8609, allocations: 25.77 kB / 1.373 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/0.861, allocations: 0 / 1.373 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01405/0.875, allocations: 4.924 MB / 1.378 GB, free: 29.03 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001327/0.8752, allocations: 159.9 kB / 1.378 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.539/2.414, allocations: 3.938 kB / 1.378 GB, free: 28.8 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat does not exist to compare? outputFormat=mat