Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",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.013/2.013, allocations: 390.5 MB / 398 MB, free: 11.01 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.0009237/0.0009237, allocations: 180.9 kB / 491.2 MB, free: 1.613 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.321/1.321, allocations: 221.5 MB / 0.7868 GB, free: 13.36 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.00111/0.001109, allocations: 101 kB / 0.9269 GB, free: 13.84 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.324e-05/1.324e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2174, allocations: 143 MB / 1.212 GB, free: 39.47 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7832/1.001, allocations: 152.1 MB / 1.361 GB, free: 17.3 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001987/1.001, allocations: 67.48 kB / 1.361 GB, free: 17.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01333/1.014, allocations: 4.567 MB / 1.365 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.644e-06/1.014, allocations: 3.844 kB / 1.365 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.657e-05/1.014, allocations: 0 / 1.365 GB, free: 32.75 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.0007381/1.015, allocations: 0.6333 MB / 1.366 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/1.015, allocations: 11.53 kB / 1.366 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/1.015, allocations: 27.09 kB / 1.366 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002887/1.016, allocations: 259.1 kB / 1.366 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.536e-05/1.016, allocations: 6.578 kB / 1.366 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.968e-05/1.016, allocations: 14.78 kB / 1.366 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001094/1.016, allocations: 46.23 kB / 1.366 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/1.016, allocations: 144.3 kB / 1.367 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/1.016, allocations: 0.6562 kB / 1.367 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.622e-05/1.016, allocations: 6.516 kB / 1.367 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/1.016, allocations: 4 kB / 1.367 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003019/1.016, allocations: 306.2 kB / 1.367 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000143/1.017, allocations: 102.6 kB / 1.367 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.298e-05/1.017, allocations: 53.12 kB / 1.367 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/1.017, allocations: 5.828 kB / 1.367 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001795/1.017, allocations: 158.2 kB / 1.367 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.863e-06/1.017, allocations: 0 / 1.367 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0003971/1.017, allocations: 243.7 kB / 1.367 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/1.017, allocations: 66.66 kB / 1.367 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001992/1.017, allocations: 243.7 kB / 1.368 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.059e-05/1.018, allocations: 29.61 kB / 1.368 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.733e-05/1.018, allocations: 94.42 kB / 1.368 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.472e-05/1.018, allocations: 32.27 kB / 1.368 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.127e-05/1.018, allocations: 7 kB / 1.368 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.038e-05/1.018, allocations: 325.4 kB / 1.368 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/1.018, allocations: 76.19 kB / 1.368 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/1.018, allocations: 128.3 kB / 1.368 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/1.018, allocations: 73.94 kB / 1.368 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/1.018, allocations: 0 / 1.368 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004395/1.019, allocations: 297 kB / 1.369 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.634e-05/1.019, allocations: 77.28 kB / 1.369 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/1.019, allocations: 7.281 kB / 1.369 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/1.019, allocations: 3.844 kB / 1.369 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/1.019, allocations: 22.97 kB / 1.369 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/1.019, allocations: 3.469 kB / 1.369 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002998/1.019, allocations: 38.98 kB / 1.369 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.608e-05/1.019, allocations: 48 kB / 1.369 GB, free: 30.75 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.0001066/1.019, allocations: 126.3 kB / 1.369 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000279/1.02, allocations: 242 kB / 1.369 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.316e-05/1.02, allocations: 31.14 kB / 1.369 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.319e-05/1.02, allocations: 27.55 kB / 1.369 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/1.02, allocations: 0 / 1.369 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/1.02, allocations: 0 / 1.369 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/1.02, allocations: 7.234 kB / 1.369 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005945/1.02, allocations: 0.5536 MB / 1.37 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/1.02, allocations: 0 / 1.37 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.055e-05/1.02, allocations: 10.75 kB / 1.37 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/1.02, allocations: 8 kB / 1.37 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.618e-05/1.02, allocations: 12.95 kB / 1.37 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/1.02, allocations: 0 / 1.37 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/1.02, allocations: 6.625 kB / 1.37 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003052/1.021, allocations: 330.9 kB / 1.37 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/1.021, allocations: 174.8 kB / 1.37 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.089e-05/1.021, allocations: 9.781 kB / 1.37 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003927/1.021, allocations: 35.48 kB / 1.37 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.217e-05/1.021, allocations: 6.719 kB / 1.37 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.22e-05/1.022, allocations: 43.45 kB / 1.37 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001346/1.022, allocations: 198.9 kB / 1.371 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.022, allocations: 0 / 1.371 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000306/1.022, allocations: 48.64 kB / 1.371 GB, free: 29.93 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.0005902/1.023, allocations: 0.8918 MB / 1.372 GB, free: 29.24 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003556/1.023, allocations: 314.4 kB / 1.372 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/1.023, allocations: 0 / 1.372 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.876e-05/1.023, allocations: 64.38 kB / 1.372 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/1.023, allocations: 20.66 kB / 1.372 GB, free: 29.1 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006326/1.024, allocations: 337 kB / 1.372 GB, free: 28.94 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/1.024, allocations: 0.7418 MB / 1.373 GB, free: 28.24 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.817e-05/1.024, allocations: 19.11 kB / 1.373 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.669e-05/1.024, allocations: 26.42 kB / 1.373 GB, free: 28.22 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/1.024, allocations: 3.938 kB / 1.373 GB, free: 28.22 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02758/1.052, allocations: 4.485 MB / 1.377 GB, free: 27.78 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001557/1.052, allocations: 159.5 kB / 1.378 GB, free: 27.59 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.653/2.705, allocations: 3.938 kB / 1.378 GB, free: 27.58 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat does not exist to compare? outputFormat=mat