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.006/2.006, allocations: 390.3 MB / 402.8 MB, free: 6.68 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.001016/0.001016, allocations: 176.9 kB / 496.1 MB, free: 12.87 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.223/1.223, allocations: 221.3 MB / 0.7915 GB, free: 5.414 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.0008176/0.0008176, allocations: 91.95 kB / 0.9317 GB, free: 5.719 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.231e-05/2.235e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.1829, allocations: 143 MB / 1.219 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6398/0.8227, allocations: 152.7 MB / 1.368 GB, free: 1.395 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000191/0.8229, allocations: 71.89 kB / 1.368 GB, free: 1.355 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01266/0.8356, allocations: 4.596 MB / 1.373 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.072e-06/0.8356, allocations: 3.938 kB / 1.373 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.348e-05/0.8356, allocations: 4 kB / 1.373 GB, free: 13.35 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.0006302/0.8363, allocations: 0.6217 MB / 1.373 GB, free: 12.67 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.8363, allocations: 8.031 kB / 1.373 GB, free: 12.66 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.355e-05/0.8364, allocations: 38.55 kB / 1.373 GB, free: 12.61 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.981e-05/0.8365, allocations: 38.75 kB / 1.373 GB, free: 12.58 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002823/0.8367, allocations: 249 kB / 1.373 GB, free: 12.3 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.615e-05/0.8368, allocations: 19.44 kB / 1.373 GB, free: 12.29 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.276e-05/0.8369, allocations: 19.17 kB / 1.374 GB, free: 12.27 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002448/0.8371, allocations: 153.6 kB / 1.374 GB, free: 12.14 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.8371, allocations: 3.984 kB / 1.374 GB, free: 12.13 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.159e-05/0.8371, allocations: 0 / 1.374 GB, free: 12.13 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.8372, allocations: 4 kB / 1.374 GB, free: 12.13 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.8373, allocations: 46.11 kB / 1.374 GB, free: 12.1 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003061/0.8376, allocations: 331.1 kB / 1.374 GB, free: 11.78 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.8378, allocations: 112.1 kB / 1.374 GB, free: 11.69 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.801e-05/0.8379, allocations: 57.72 kB / 1.374 GB, free: 11.64 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.8379, allocations: 3.938 kB / 1.374 GB, free: 11.64 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002014/0.8381, allocations: 159.3 kB / 1.374 GB, free: 11.5 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.303e-06/0.8381, allocations: 0 / 1.374 GB, free: 11.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0004342/0.8385, allocations: 248.8 kB / 1.375 GB, free: 11.29 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.8386, allocations: 63.39 kB / 1.375 GB, free: 11.21 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/0.8388, allocations: 257.7 kB / 1.375 GB, free: 11 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.212e-05/0.8389, allocations: 41.33 kB / 1.375 GB, free: 10.96 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.59e-05/0.8389, allocations: 92.89 kB / 1.375 GB, free: 10.87 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.645e-05/0.839, allocations: 38.53 kB / 1.375 GB, free: 10.84 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.622e-05/0.839, allocations: 6.625 kB / 1.375 GB, free: 10.83 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.437e-05/0.8391, allocations: 322 kB / 1.375 GB, free: 10.51 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.8393, allocations: 98.03 kB / 1.375 GB, free: 10.44 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001919/0.8395, allocations: 137.9 kB / 1.376 GB, free: 10.32 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001855/0.8397, allocations: 148 kB / 1.376 GB, free: 10.19 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.8397, allocations: 0 / 1.376 GB, free: 10.19 MB / 0.8386 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005773/0.8403, allocations: 400.8 kB / 1.376 GB, free: 9.84 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.458e-05/0.8403, allocations: 78.88 kB / 1.376 GB, free: 9.758 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.8403, allocations: 0 / 1.376 GB, free: 9.758 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.8404, allocations: 4 kB / 1.376 GB, free: 9.754 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.8405, allocations: 15.98 kB / 1.376 GB, free: 9.738 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.8405, allocations: 7.938 kB / 1.376 GB, free: 9.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002927/0.8408, allocations: 47.69 kB / 1.376 GB, free: 9.688 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.195e-05/0.8409, allocations: 43.55 kB / 1.376 GB, free: 9.648 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.993e-05/0.841, allocations: 126.5 kB / 1.376 GB, free: 9.527 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.931e-05/0.841, allocations: 31.66 kB / 1.376 GB, free: 9.496 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.59e-05/0.8411, allocations: 29.95 kB / 1.376 GB, free: 9.477 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.8411, allocations: 7.938 kB / 1.376 GB, free: 9.469 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.8411, allocations: 0 / 1.376 GB, free: 9.469 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.8411, allocations: 0 / 1.376 GB, free: 9.469 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007131/0.8418, allocations: 0.5918 MB / 1.377 GB, free: 8.895 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.8418, allocations: 0 / 1.377 GB, free: 8.895 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.492e-05/0.8419, allocations: 11.94 kB / 1.377 GB, free: 8.883 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.8419, allocations: 0 / 1.377 GB, free: 8.883 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.93e-05/0.8419, allocations: 18.84 kB / 1.377 GB, free: 8.867 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.8419, allocations: 4 kB / 1.377 GB, free: 8.863 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.8419, allocations: 4 kB / 1.377 GB, free: 8.859 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003808/0.8423, allocations: 349.6 kB / 1.377 GB, free: 8.543 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000153/0.8425, allocations: 158.5 kB / 1.378 GB, free: 8.383 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.23e-05/0.8425, allocations: 11.67 kB / 1.378 GB, free: 8.375 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003799/0.8429, allocations: 35.41 kB / 1.378 GB, free: 8.344 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.569e-05/0.843, allocations: 8 kB / 1.378 GB, free: 8.336 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.247e-05/0.843, allocations: 47.34 kB / 1.378 GB, free: 8.293 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001627/0.8432, allocations: 202 kB / 1.378 GB, free: 8.125 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8432, allocations: 0 / 1.378 GB, free: 8.125 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000278/0.8435, allocations: 54.98 kB / 1.378 GB, free: 8.078 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.000622/0.8441, allocations: 0.9001 MB / 1.379 GB, free: 7.191 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004287/0.8445, allocations: 335.9 kB / 1.379 GB, free: 6.902 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.8446, allocations: 0 / 1.379 GB, free: 6.902 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.8447, allocations: 76.06 kB / 1.379 GB, free: 6.848 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002008/0.8449, allocations: 28.89 kB / 1.379 GB, free: 6.828 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006124/0.8455, allocations: 338.9 kB / 1.38 GB, free: 6.496 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.8458, allocations: 0.748 MB / 1.38 GB, free: 5.727 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.621e-05/0.8458, allocations: 20.75 kB / 1.38 GB, free: 5.707 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.018e-05/0.8459, allocations: 17.94 kB / 1.38 GB, free: 5.695 MB / 0.8386 GB Notification: Performance of SimCode: time 1.863e-06/0.8459, allocations: 0 / 1.38 GB, free: 5.695 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01425/0.8601, allocations: 4.925 MB / 1.385 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001839/0.8603, allocations: 174.7 kB / 1.385 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.504/2.364, allocations: 4 kB / 1.385 GB, free: 0.6953 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