Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",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.234/2.234, allocations: 390.5 MB / 398 MB, free: 10.94 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.0009944/0.0009944, allocations: 176.8 kB / 491.2 MB, free: 1.555 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.326/1.326, allocations: 221.5 MB / 0.7868 GB, free: 13.33 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.0008604/0.0008606, allocations: 87.95 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.317e-05/1.321e-05, allocations: 0 / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2349, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.772/1.007, allocations: 152.1 MB / 1.361 GB, free: 17.18 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001857/1.007, allocations: 67.98 kB / 1.361 GB, free: 17.18 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01243/1.02, allocations: 4.57 MB / 1.365 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.974e-06/1.02, allocations: 0 / 1.365 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.32e-05/1.02, allocations: 3.812 kB / 1.365 GB, free: 32.62 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.0005876/1.02, allocations: 0.6304 MB / 1.366 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/1.02, allocations: 14.56 kB / 1.366 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.46e-05/1.02, allocations: 28.09 kB / 1.366 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002468/1.021, allocations: 253.5 kB / 1.366 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.102e-05/1.021, allocations: 9.953 kB / 1.366 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.045e-05/1.021, allocations: 11.72 kB / 1.366 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.529e-05/1.021, allocations: 43.97 kB / 1.366 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/1.021, allocations: 146 kB / 1.367 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/1.021, allocations: 0 / 1.367 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.306e-05/1.021, allocations: 3.875 kB / 1.367 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/1.021, allocations: 7.938 kB / 1.367 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002435/1.021, allocations: 307.8 kB / 1.367 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/1.022, allocations: 110.9 kB / 1.367 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.895e-05/1.022, allocations: 48.42 kB / 1.367 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/1.022, allocations: 6.688 kB / 1.367 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001645/1.022, allocations: 162 kB / 1.367 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.272e-06/1.022, allocations: 0 / 1.367 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0003543/1.022, allocations: 238.5 kB / 1.367 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.087e-05/1.022, allocations: 61.95 kB / 1.367 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/1.022, allocations: 249.8 kB / 1.368 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.787e-05/1.022, allocations: 29.52 kB / 1.368 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.945e-05/1.023, allocations: 95.78 kB / 1.368 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.935e-05/1.023, allocations: 33.8 kB / 1.368 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.846e-05/1.023, allocations: 0 / 1.368 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.606e-05/1.023, allocations: 327.3 kB / 1.368 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/1.023, allocations: 77.56 kB / 1.368 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/1.023, allocations: 124.3 kB / 1.368 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001097/1.023, allocations: 78.77 kB / 1.368 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.023, allocations: 0 / 1.368 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004071/1.024, allocations: 297.7 kB / 1.369 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.258e-05/1.024, allocations: 75.55 kB / 1.369 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/1.024, allocations: 0 / 1.369 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/1.024, allocations: 3.844 kB / 1.369 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/1.024, allocations: 32.89 kB / 1.369 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/1.024, allocations: 0 / 1.369 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002807/1.024, allocations: 41.98 kB / 1.369 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.278e-05/1.024, allocations: 39.61 kB / 1.369 GB, free: 30.62 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.0001064/1.024, allocations: 125.9 kB / 1.369 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002842/1.024, allocations: 242.4 kB / 1.369 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.084e-05/1.025, allocations: 27.23 kB / 1.369 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.05e-05/1.025, allocations: 27.38 kB / 1.369 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/1.025, allocations: 3.812 kB / 1.369 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/1.025, allocations: 0 / 1.369 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/1.025, allocations: 3.047 kB / 1.369 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005445/1.025, allocations: 0.5576 MB / 1.37 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/1.025, allocations: 3.844 kB / 1.37 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.199e-05/1.025, allocations: 0 / 1.37 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/1.025, allocations: 14.62 kB / 1.37 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.543e-05/1.025, allocations: 16.44 kB / 1.37 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/1.025, allocations: 0 / 1.37 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/1.025, allocations: 0 / 1.37 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/1.026, allocations: 337.6 kB / 1.37 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/1.026, allocations: 171.9 kB / 1.37 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.902e-05/1.026, allocations: 13.41 kB / 1.37 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003865/1.026, allocations: 36.11 kB / 1.37 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.447e-05/1.026, allocations: 6.875 kB / 1.37 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.86e-05/1.026, allocations: 43.02 kB / 1.37 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001271/1.026, allocations: 193.2 kB / 1.371 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.026, allocations: 0 / 1.371 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002922/1.027, allocations: 45.55 kB / 1.371 GB, free: 29.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.0005533/1.027, allocations: 0.8993 MB / 1.372 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003474/1.028, allocations: 313.4 kB / 1.372 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/1.028, allocations: 3.938 kB / 1.372 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.363e-05/1.028, allocations: 62.5 kB / 1.372 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002253/1.028, allocations: 15.7 kB / 1.372 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006002/1.029, allocations: 338.1 kB / 1.372 GB, free: 28.81 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/1.029, allocations: 0.7447 MB / 1.373 GB, free: 28.12 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.225e-05/1.029, allocations: 15.03 kB / 1.373 GB, free: 28.11 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.447e-05/1.029, allocations: 25.72 kB / 1.373 GB, free: 28.1 MB / 0.8386 GB Notification: Performance of SimCode: time 1.433e-06/1.029, allocations: 0 / 1.373 GB, free: 28.1 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0212/1.05, allocations: 4.497 MB / 1.377 GB, free: 27.66 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001482/1.05, allocations: 150.5 kB / 1.378 GB, free: 27.46 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.64/2.69, allocations: 3.938 kB / 1.378 GB, free: 27.46 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat does not exist to compare? outputFormat=mat