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/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009844/0.0009847, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.545/1.545, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.565/2.565, allocations: 409.4 MB / 0.684 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003538/0.0003539, allocations: 8 kB / 0.8378 GB, free: 6.508 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8445/0.8449, allocations: 146.8 MB / 0.9811 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001558/0.8465, allocations: 1.186 MB / 0.9823 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000839/0.8474, allocations: 420.5 kB / 0.9827 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.472e-05/0.8474, allocations: 4 kB / 0.9827 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 7.443e-05/0.8475, allocations: 7.922 kB / 0.9827 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.968e-05/0.8476, allocations: 19.91 kB / 0.9827 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000583/0.8482, allocations: 218.7 kB / 0.9829 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002648/0.8485, allocations: 251.5 kB / 0.9832 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.957e-05/0.8485, allocations: 7.984 kB / 0.9832 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003269/0.8489, allocations: 223.6 kB / 0.9834 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002163/0.8491, allocations: 135.7 kB / 0.9835 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.885e-05/0.8492, allocations: 11.98 kB / 0.9835 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 4.533e-05/0.8492, allocations: 12 kB / 0.9835 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.8493, allocations: 83.77 kB / 0.9836 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.221e-05/0.8494, allocations: 69.58 kB / 0.9837 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001937/0.8496, allocations: 201.8 kB / 0.9839 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.8496, allocations: 0 / 0.9839 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.373e-06/0.8496, allocations: 0 / 0.9839 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.8496, allocations: 0 / 0.9839 GB, free: 3.426 MB / 0.7325 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.0008544/0.8505, allocations: 0.6682 MB / 0.9845 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.8505, allocations: 12.03 kB / 0.9845 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.352e-05/0.8506, allocations: 34.56 kB / 0.9846 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.555e-05/0.8507, allocations: 35.62 kB / 0.9846 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002778/0.851, allocations: 250.6 kB / 0.9848 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.6e-05/0.851, allocations: 15.98 kB / 0.9849 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.281e-05/0.8511, allocations: 19.95 kB / 0.9849 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008257/0.8519, allocations: 209.4 kB / 0.9851 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.8519, allocations: 0 / 0.9851 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.488e-05/0.852, allocations: 11.94 kB / 0.9851 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.852, allocations: 0 / 0.9851 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006389/0.8526, allocations: 107.9 kB / 0.9852 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003506/0.853, allocations: 317.3 kB / 0.9855 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008645/0.8539, allocations: 182.5 kB / 0.9857 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006308/0.8545, allocations: 120.8 kB / 0.9858 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.8545, allocations: 3.984 kB / 0.9858 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008106/0.8553, allocations: 232 kB / 0.986 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=16): time 1.663e-06/0.8554, allocations: 3.938 kB / 0.986 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of matching and sorting (n=16): time 0.00215/0.8575, allocations: 483.2 kB / 0.9865 GB, free: 0.5469 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.295e-05/0.8576, allocations: 59.39 kB / 0.9865 GB, free: 488 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002756/0.8579, allocations: 290.9 kB / 0.9868 GB, free: 184 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.36e-05/0.8579, allocations: 37.7 kB / 0.9868 GB, free: 140 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.65e-05/0.858, allocations: 93.12 kB / 0.9869 GB, free: 44 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.203e-05/0.858, allocations: 43.48 kB / 0.987 GB, free: 0 / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.595e-05/0.8581, allocations: 8.047 kB / 0.987 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.8582, allocations: 322.8 kB / 0.9873 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/0.8584, allocations: 83.95 kB / 0.9874 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002199/0.8586, allocations: 147.3 kB / 0.9875 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002139/0.8589, allocations: 144.6 kB / 0.9877 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.8589, allocations: 0 / 0.9877 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006169/0.8595, allocations: 401.6 kB / 0.988 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 7.082e-05/0.8596, allocations: 71.39 kB / 0.9881 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.8596, allocations: 0 / 0.9881 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.8596, allocations: 4 kB / 0.9881 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.8598, allocations: 31.91 kB / 0.9881 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/0.8598, allocations: 3.953 kB / 0.9881 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004087/0.8602, allocations: 75.86 kB / 0.9882 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.742e-05/0.8603, allocations: 39.92 kB / 0.9882 GB, free: 14.62 MB / 0.7481 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.0001741/0.8605, allocations: 168 kB / 0.9884 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.92e-05/0.8605, allocations: 23.72 kB / 0.9884 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.696e-05/0.8606, allocations: 26.3 kB / 0.9885 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.8606, allocations: 4 kB / 0.9885 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.8606, allocations: 4 kB / 0.9885 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.8606, allocations: 7.938 kB / 0.9885 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001825/0.8624, allocations: 0.709 MB / 0.9892 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.8624, allocations: 0 / 0.9892 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.323e-05/0.8625, allocations: 4 kB / 0.9892 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.8625, allocations: 3.984 kB / 0.9892 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.171e-05/0.8625, allocations: 15.94 kB / 0.9892 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.8625, allocations: 4 kB / 0.9892 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.8625, allocations: 3.938 kB / 0.9892 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001459/0.864, allocations: 464.8 kB / 0.9896 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001733/0.8642, allocations: 160.7 kB / 0.9898 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.075e-05/0.8643, allocations: 11.98 kB / 0.9898 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000403/0.8647, allocations: 43.92 kB / 0.9898 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-05/0.8647, allocations: 7.984 kB / 0.9899 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.186e-05/0.8648, allocations: 39.97 kB / 0.9899 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001868/0.865, allocations: 205.9 kB / 0.9901 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.5e-07/0.865, allocations: 0 / 0.9901 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003287/0.8653, allocations: 55.98 kB / 0.9901 GB, free: 12.59 MB / 0.7481 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.001757/0.8671, allocations: 1.005 MB / 0.9911 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0009941/0.8681, allocations: 397.4 kB / 0.9915 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.8681, allocations: 3.938 kB / 0.9915 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006493/0.8687, allocations: 128.3 kB / 0.9916 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.8691, allocations: 24.59 kB / 0.9917 GB, free: 11 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002361/0.8715, allocations: 1.197 MB / 0.9928 GB, free: 9.727 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/0.8718, allocations: 0.7399 MB / 0.9935 GB, free: 8.961 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.866e-05/0.8718, allocations: 9.094 kB / 0.9936 GB, free: 8.953 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.87e-05/0.8719, allocations: 27.48 kB / 0.9936 GB, free: 8.926 MB / 0.7481 GB Notification: Performance of SimCode: time 5.61e-07/0.8719, allocations: 0 / 0.9936 GB, free: 8.926 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01576/0.8877, allocations: 4.535 MB / 0.998 GB, free: 4.566 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001731/0.8879, allocations: 203.3 kB / 0.9982 GB, free: 4.324 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.874/2.762, allocations: 0 / 0.9982 GB, free: 4.324 MB / 0.7481 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) Environment - environmentSimulation: 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