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 1.959/1.959, allocations: 390.3 MB / 402.8 MB, free: 6.695 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.0011/0.0011, allocations: 176.9 kB / 496.1 MB, free: 12.88 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.234/1.234, 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.0009008/0.0009008, allocations: 87.95 kB / 0.9317 GB, free: 5.699 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.509e-05/2.522e-05, allocations: 3.938 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2/0.2001, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6827/0.8828, allocations: 152.7 MB / 1.368 GB, free: 1.246 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001858/0.883, allocations: 67.72 kB / 1.368 GB, free: 1.211 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01312/0.8962, allocations: 4.593 MB / 1.373 GB, free: 13.22 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.31e-07/0.8962, allocations: 0 / 1.373 GB, free: 13.22 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.675e-05/0.8962, allocations: 4 kB / 1.373 GB, free: 13.21 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.0007216/0.8969, allocations: 0.6186 MB / 1.373 GB, free: 12.54 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.897, allocations: 16.02 kB / 1.373 GB, free: 12.52 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.162e-05/0.897, allocations: 38.06 kB / 1.373 GB, free: 12.48 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.198e-05/0.8971, allocations: 35.62 kB / 1.373 GB, free: 12.44 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003547/0.8975, allocations: 258.8 kB / 1.373 GB, free: 12.16 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.887e-05/0.8976, allocations: 14.98 kB / 1.374 GB, free: 12.14 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.171e-05/0.8976, allocations: 15.06 kB / 1.374 GB, free: 12.13 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002584/0.8979, allocations: 153.1 kB / 1.374 GB, free: 12 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.8979, allocations: 0 / 1.374 GB, free: 12 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.334e-05/0.8979, allocations: 2.938 kB / 1.374 GB, free: 12 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.8979, allocations: 4 kB / 1.374 GB, free: 12 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.8981, allocations: 49.42 kB / 1.374 GB, free: 11.96 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003513/0.8984, allocations: 339.4 kB / 1.374 GB, free: 11.63 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001759/0.8986, allocations: 109.9 kB / 1.374 GB, free: 11.54 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.8987, allocations: 59.72 kB / 1.374 GB, free: 11.5 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.8988, allocations: 0 / 1.374 GB, free: 11.5 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002299/0.899, allocations: 160.5 kB / 1.374 GB, free: 11.36 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.283e-06/0.899, allocations: 4 kB / 1.374 GB, free: 11.36 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0004669/0.8995, allocations: 253.2 kB / 1.375 GB, free: 11.14 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.8995, allocations: 55.41 kB / 1.375 GB, free: 11.07 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002298/0.8998, allocations: 259.8 kB / 1.375 GB, free: 10.85 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.291e-05/0.8998, allocations: 37.33 kB / 1.375 GB, free: 10.81 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.839e-05/0.8999, allocations: 92.56 kB / 1.375 GB, free: 10.72 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.911e-05/0.8999, allocations: 40.97 kB / 1.375 GB, free: 10.69 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.701e-05/0.9, allocations: 7.312 kB / 1.375 GB, free: 10.69 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.799e-05/0.9001, allocations: 325.6 kB / 1.375 GB, free: 10.36 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001757/0.9002, allocations: 91.55 kB / 1.375 GB, free: 10.3 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001982/0.9005, allocations: 135.9 kB / 1.376 GB, free: 10.18 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001954/0.9007, allocations: 153.8 kB / 1.376 GB, free: 10.04 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.9007, allocations: 4 kB / 1.376 GB, free: 10.04 MB / 0.8386 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006025/0.9013, allocations: 396.2 kB / 1.376 GB, free: 9.695 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.578e-05/0.9013, allocations: 71.27 kB / 1.376 GB, free: 9.617 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.9013, allocations: 0 / 1.376 GB, free: 9.617 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.9014, allocations: 4.188 kB / 1.376 GB, free: 9.613 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.9015, allocations: 31.05 kB / 1.376 GB, free: 9.586 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.9015, allocations: 3.984 kB / 1.376 GB, free: 9.582 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003036/0.9018, allocations: 43.33 kB / 1.376 GB, free: 9.543 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.259e-05/0.9019, allocations: 35.98 kB / 1.376 GB, free: 9.508 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.0001041/0.902, allocations: 130 kB / 1.376 GB, free: 9.383 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.918e-05/0.9021, allocations: 34.86 kB / 1.376 GB, free: 9.352 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.456e-05/0.9021, allocations: 29.02 kB / 1.377 GB, free: 9.332 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.9021, allocations: 0 / 1.377 GB, free: 9.332 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.9021, allocations: 0 / 1.377 GB, free: 9.332 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.9021, allocations: 4 kB / 1.377 GB, free: 9.328 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007471/0.9029, allocations: 0.5926 MB / 1.377 GB, free: 8.754 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.9029, allocations: 0 / 1.377 GB, free: 8.754 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.355e-05/0.903, allocations: 7.125 kB / 1.377 GB, free: 8.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.903, allocations: 8 kB / 1.377 GB, free: 8.742 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.98e-05/0.903, allocations: 15.97 kB / 1.377 GB, free: 8.727 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.903, allocations: 0 / 1.377 GB, free: 8.727 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.903, allocations: 0 / 1.377 GB, free: 8.727 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003974/0.9034, allocations: 348 kB / 1.377 GB, free: 8.41 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001777/0.9036, allocations: 162.8 kB / 1.378 GB, free: 8.246 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.623e-05/0.9037, allocations: 17.44 kB / 1.378 GB, free: 8.234 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003843/0.9041, allocations: 31.97 kB / 1.378 GB, free: 8.203 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.9041, allocations: 15.59 kB / 1.378 GB, free: 8.191 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.391e-05/0.9042, allocations: 39.98 kB / 1.378 GB, free: 8.152 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001619/0.9043, allocations: 208.6 kB / 1.378 GB, free: 7.98 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9043, allocations: 0 / 1.378 GB, free: 7.98 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002961/0.9046, allocations: 47 kB / 1.378 GB, free: 7.938 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.0006972/0.9053, allocations: 0.9043 MB / 1.379 GB, free: 7.051 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004484/0.9058, allocations: 338 kB / 1.379 GB, free: 6.762 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.9058, allocations: 0 / 1.379 GB, free: 6.762 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.9059, allocations: 73.03 kB / 1.379 GB, free: 6.707 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.9062, allocations: 19.36 kB / 1.379 GB, free: 6.695 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006963/0.9069, allocations: 345.5 kB / 1.38 GB, free: 6.359 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.9072, allocations: 0.7427 MB / 1.38 GB, free: 5.594 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.747e-05/0.9073, allocations: 16.77 kB / 1.38 GB, free: 5.578 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.789e-05/0.9073, allocations: 27.17 kB / 1.38 GB, free: 5.559 MB / 0.8386 GB Notification: Performance of SimCode: time 1.613e-06/0.9073, allocations: 4 kB / 1.38 GB, free: 5.555 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01606/0.9234, allocations: 4.936 MB / 1.385 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001549/0.9236, allocations: 163.8 kB / 1.385 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.589/2.513, allocations: 0 / 1.385 GB, free: 0.5586 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