Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",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.002/2.002, allocations: 387.1 MB / 399.7 MB, free: 9.492 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.001106/0.001106, allocations: 180.1 kB / 492.3 MB, free: 0.5938 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.231/1.231, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.000953/0.0009529, allocations: 87.97 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.43e-05/2.448e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2147, allocations: 142.4 MB / 1.212 GB, free: 38.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7281/0.9429, allocations: 151.9 MB / 1.361 GB, free: 18.95 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/0.9432, allocations: 72.47 kB / 1.361 GB, free: 18.95 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01241/0.9557, allocations: 4.594 MB / 1.365 GB, free: 34.37 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.72e-07/0.9557, allocations: 4 kB / 1.365 GB, free: 34.36 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.9557, allocations: 3.875 kB / 1.365 GB, free: 34.36 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.0005339/0.9562, allocations: 0.6289 MB / 1.366 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.9563, allocations: 11.53 kB / 1.366 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.171e-05/0.9563, allocations: 37.25 kB / 1.366 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.895e-05/0.9564, allocations: 31.16 kB / 1.366 GB, free: 33.72 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002703/0.9567, allocations: 253.4 kB / 1.366 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.249e-05/0.9567, allocations: 14.81 kB / 1.366 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.68e-05/0.9568, allocations: 25.66 kB / 1.366 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002214/0.957, allocations: 151.3 kB / 1.367 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.957, allocations: 0 / 1.367 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.9571, allocations: 2.719 kB / 1.367 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.9571, allocations: 7.812 kB / 1.367 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.632e-05/0.9572, allocations: 43.5 kB / 1.367 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002719/0.9574, allocations: 335 kB / 1.367 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/0.9576, allocations: 107.7 kB / 1.367 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.772e-05/0.9577, allocations: 60.33 kB / 1.367 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.9577, allocations: 7.156 kB / 1.367 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000176/0.9579, allocations: 150.8 kB / 1.367 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.363e-06/0.9579, allocations: 3.875 kB / 1.367 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0003948/0.9583, allocations: 254.4 kB / 1.367 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.294e-05/0.9584, allocations: 61.48 kB / 1.368 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.9585, allocations: 256.5 kB / 1.368 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.727e-05/0.9586, allocations: 37.36 kB / 1.368 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.352e-05/0.9586, allocations: 92.8 kB / 1.368 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.221e-05/0.9587, allocations: 39 kB / 1.368 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-05/0.9587, allocations: 7.5 kB / 1.368 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.122e-05/0.9588, allocations: 328.4 kB / 1.368 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.959, allocations: 84.06 kB / 1.368 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001724/0.9591, allocations: 136.7 kB / 1.368 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.9593, allocations: 143.4 kB / 1.369 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.9593, allocations: 7.781 kB / 1.369 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004935/0.9598, allocations: 403.9 kB / 1.369 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.889e-05/0.9599, allocations: 77.25 kB / 1.369 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.9599, allocations: 0 / 1.369 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.9599, allocations: 3.844 kB / 1.369 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.96, allocations: 25.98 kB / 1.369 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.96, allocations: 0 / 1.369 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002734/0.9603, allocations: 49.02 kB / 1.369 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.473e-05/0.9604, allocations: 47.52 kB / 1.369 GB, free: 32.17 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.586e-05/0.9605, allocations: 126.7 kB / 1.369 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.189e-05/0.9605, allocations: 30.12 kB / 1.369 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.887e-05/0.9606, allocations: 27.59 kB / 1.369 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.9606, allocations: 0 / 1.369 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.9606, allocations: 0 / 1.369 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.9606, allocations: 7.875 kB / 1.369 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006392/0.9612, allocations: 0.5911 MB / 1.37 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.9613, allocations: 3.875 kB / 1.37 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.769e-05/0.9613, allocations: 7.375 kB / 1.37 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.9613, allocations: 3.844 kB / 1.37 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.695e-05/0.9613, allocations: 13.42 kB / 1.37 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.9613, allocations: 2.766 kB / 1.37 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.9613, allocations: 0 / 1.37 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003266/0.9617, allocations: 347.5 kB / 1.37 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/0.9618, allocations: 166.3 kB / 1.37 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.066e-05/0.9619, allocations: 10.66 kB / 1.37 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003663/0.9623, allocations: 35 kB / 1.37 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.493e-05/0.9623, allocations: 9.078 kB / 1.37 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.061e-05/0.9623, allocations: 48.91 kB / 1.371 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001367/0.9625, allocations: 203.2 kB / 1.371 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9625, allocations: 0 / 1.371 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002639/0.9628, allocations: 56.06 kB / 1.371 GB, free: 31.37 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.0005535/0.9633, allocations: 0.8978 MB / 1.372 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003649/0.9637, allocations: 339.2 kB / 1.372 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.9637, allocations: 0 / 1.372 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.458e-05/0.9638, allocations: 67.59 kB / 1.372 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001883/0.964, allocations: 23.11 kB / 1.372 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005487/0.9646, allocations: 342.5 kB / 1.372 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.9648, allocations: 0.7432 MB / 1.373 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.813e-05/0.9649, allocations: 19.48 kB / 1.373 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.367e-05/0.9649, allocations: 28.3 kB / 1.373 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of SimCode: time 2.21e-07/0.9649, allocations: 4 kB / 1.373 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01372/0.9786, allocations: 4.933 MB / 1.378 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001248/0.9788, allocations: 159 kB / 1.378 GB, free: 28.9 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.722/2.701, allocations: 0 / 1.378 GB, free: 28.9 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat does not exist to compare? outputFormat=mat