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.367/2.367, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001264/0.001264, allocations: 177 kB / 498.1 MB, free: 5.676 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.625/1.625, allocations: 223.2 MB / 0.7948 GB, free: 18.83 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.001143/0.001144, allocations: 108.1 kB / 0.9346 GB, free: 7.137 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003974/0.0003974, allocations: 8.438 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3251, allocations: 142.4 MB / 1.223 GB, free: 89.45 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2086/0.5338, allocations: 151.9 MB / 1.371 GB, free: 1.328 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/0.5341, allocations: 67.97 kB / 1.371 GB, free: 1.262 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01554/0.5497, allocations: 4.596 MB / 1.376 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.665e-06/0.5497, allocations: 4 kB / 1.376 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.703e-05/0.5498, allocations: 4 kB / 1.376 GB, free: 12.65 MB / 0.8855 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.001182/0.551, allocations: 0.6721 MB / 1.377 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.291e-05/0.551, allocations: 8.031 kB / 1.377 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.634e-05/0.5511, allocations: 30.56 kB / 1.377 GB, free: 11.85 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001519/0.5513, allocations: 35.7 kB / 1.377 GB, free: 11.81 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004556/0.5518, allocations: 254.5 kB / 1.377 GB, free: 11.53 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.669e-05/0.5518, allocations: 16 kB / 1.377 GB, free: 11.51 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.532e-05/0.5519, allocations: 23.98 kB / 1.377 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009726/0.5529, allocations: 205.5 kB / 1.377 GB, free: 11.28 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.5529, allocations: 3.984 kB / 1.377 GB, free: 11.28 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.693e-05/0.553, allocations: 3.938 kB / 1.377 GB, free: 11.27 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.553, allocations: 11.94 kB / 1.377 GB, free: 11.26 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007078/0.5537, allocations: 103.9 kB / 1.377 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004811/0.5542, allocations: 333.2 kB / 1.377 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.5552, allocations: 190.5 kB / 1.378 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.841e-05/0.5553, allocations: 7.984 kB / 1.378 GB, free: 10.58 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008954/0.5562, allocations: 222 kB / 1.378 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=16): time 2.915e-06/0.5562, allocations: 3.938 kB / 1.378 GB, free: 10.35 MB / 0.8855 GB Notification: Performance of matching and sorting (n=16): time 0.002452/0.5586, allocations: 473 kB / 1.378 GB, free: 9.883 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.106e-05/0.5587, allocations: 59.41 kB / 1.378 GB, free: 9.812 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003167/0.559, allocations: 262 kB / 1.379 GB, free: 9.543 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.53e-05/0.5591, allocations: 33.7 kB / 1.379 GB, free: 9.504 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.791e-05/0.5592, allocations: 93.12 kB / 1.379 GB, free: 9.41 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.359e-05/0.5593, allocations: 35.61 kB / 1.379 GB, free: 9.375 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.084e-05/0.5593, allocations: 7.938 kB / 1.379 GB, free: 9.367 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.5595, allocations: 330.8 kB / 1.379 GB, free: 9.035 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002633/0.5597, allocations: 87.95 kB / 1.379 GB, free: 8.949 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002853/0.56, allocations: 150.9 kB / 1.379 GB, free: 8.781 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002772/0.5603, allocations: 151.4 kB / 1.38 GB, free: 8.621 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.437e-05/0.5603, allocations: 0 / 1.38 GB, free: 8.621 MB / 0.8855 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008036/0.5611, allocations: 401.5 kB / 1.38 GB, free: 8.211 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.117e-05/0.5612, allocations: 75.39 kB / 1.38 GB, free: 8.125 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.5613, allocations: 4 kB / 1.38 GB, free: 8.121 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.5613, allocations: 4 kB / 1.38 GB, free: 8.117 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/0.5615, allocations: 19.92 kB / 1.38 GB, free: 8.098 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/0.5615, allocations: 7.984 kB / 1.38 GB, free: 8.09 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003675/0.5619, allocations: 44.02 kB / 1.38 GB, free: 8.047 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.8e-05/0.5619, allocations: 43.98 kB / 1.38 GB, free: 8.004 MB / 0.8855 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 () * Number of clocked 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.0002337/0.5622, allocations: 168 kB / 1.38 GB, free: 7.832 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.269e-05/0.5622, allocations: 31.58 kB / 1.38 GB, free: 7.801 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.863e-05/0.5623, allocations: 30.3 kB / 1.38 GB, free: 7.77 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.5623, allocations: 4 kB / 1.38 GB, free: 7.766 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.5623, allocations: 3.938 kB / 1.38 GB, free: 7.762 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.5624, allocations: 0 / 1.38 GB, free: 7.762 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002209/0.5646, allocations: 0.709 MB / 1.381 GB, free: 6.996 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.5646, allocations: 0 / 1.381 GB, free: 6.996 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.825e-05/0.5646, allocations: 4 kB / 1.381 GB, free: 6.992 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.5646, allocations: 3.938 kB / 1.381 GB, free: 6.988 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.784e-05/0.5647, allocations: 23.97 kB / 1.381 GB, free: 6.965 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.5647, allocations: 4 kB / 1.381 GB, free: 6.961 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.5647, allocations: 0 / 1.381 GB, free: 6.961 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001648/0.5664, allocations: 477.6 kB / 1.381 GB, free: 6.48 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002333/0.5666, allocations: 160.7 kB / 1.382 GB, free: 6.305 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.593e-05/0.5667, allocations: 8 kB / 1.382 GB, free: 6.297 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004146/0.5671, allocations: 39.97 kB / 1.382 GB, free: 6.258 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.14e-05/0.5672, allocations: 7.984 kB / 1.382 GB, free: 6.25 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.023e-05/0.5672, allocations: 43.98 kB / 1.382 GB, free: 6.207 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002146/0.5674, allocations: 205.9 kB / 1.382 GB, free: 6.008 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5675, allocations: 0 / 1.382 GB, free: 6.008 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004034/0.5679, allocations: 51.98 kB / 1.382 GB, free: 5.957 MB / 0.8855 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) * Number of clocked states: 0 () * 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.002057/0.5699, allocations: 1.026 MB / 1.383 GB, free: 4.906 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00128/0.5712, allocations: 398.5 kB / 1.383 GB, free: 4.492 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.5712, allocations: 0 / 1.383 GB, free: 4.492 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000735/0.572, allocations: 131 kB / 1.383 GB, free: 4.367 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002699/0.5723, allocations: 21.28 kB / 1.384 GB, free: 4.348 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002188/0.5745, allocations: 1.653 MB / 1.385 GB, free: 2.613 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/0.5748, allocations: 0.7477 MB / 1.386 GB, free: 1.84 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.28e-05/0.5749, allocations: 16.64 kB / 1.386 GB, free: 1.824 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.607e-05/0.575, allocations: 23.44 kB / 1.386 GB, free: 1.801 MB / 0.8855 GB Notification: Performance of SimCode: time 1.132e-06/0.575, allocations: 0 / 1.386 GB, free: 1.801 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02116/0.5962, allocations: 4.91 MB / 1.391 GB, free: 13.03 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003042/0.5965, allocations: 173.8 kB / 1.391 GB, free: 12.79 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.634/2.231, allocations: 4 kB / 1.391 GB, free: 12.79 MB / 0.9011 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