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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.00148/0.00148, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.836/2.836, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.252/5.252, allocations: 409.2 MB / 0.6838 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000592/0.0005921, allocations: 8 kB / 0.8375 GB, free: 6.559 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.699/1.7, allocations: 146.8 MB / 0.9809 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.003436/1.704, allocations: 1.179 MB / 0.982 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001549/1.705, allocations: 392.1 kB / 0.9824 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.232e-05/1.705, allocations: 0 / 0.9824 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 6.524e-05/1.705, allocations: 11.92 kB / 0.9824 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001915/1.706, allocations: 23.95 kB / 0.9824 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001199/1.707, allocations: 218.2 kB / 0.9826 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003804/1.707, allocations: 159.7 kB / 0.9828 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.615e-05/1.707, allocations: 11.98 kB / 0.9828 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000418/1.708, allocations: 163.7 kB / 0.9829 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003738/1.708, allocations: 135.7 kB / 0.9831 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.946e-05/1.708, allocations: 12 kB / 0.9831 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.972e-05/1.708, allocations: 8 kB / 0.9831 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001967/1.709, allocations: 79.78 kB / 0.9832 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001395/1.709, allocations: 69.58 kB / 0.9832 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004316/1.709, allocations: 205.8 kB / 0.9834 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/1.709, allocations: 3.938 kB / 0.9834 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.926e-06/1.709, allocations: 0 / 0.9834 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.075e-06/1.709, allocations: 4 kB / 0.9834 GB, free: 3.609 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.001567/1.711, allocations: 0.654 MB / 0.9841 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.077e-05/1.711, allocations: 12.03 kB / 0.9841 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.272e-05/1.711, allocations: 34.56 kB / 0.9841 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001474/1.711, allocations: 35.62 kB / 0.9842 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006138/1.712, allocations: 254.6 kB / 0.9844 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.427e-05/1.712, allocations: 15.98 kB / 0.9844 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/1.712, allocations: 19.95 kB / 0.9844 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001534/1.714, allocations: 209.4 kB / 0.9846 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/1.714, allocations: 8 kB / 0.9846 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.217e-05/1.714, allocations: 4 kB / 0.9846 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/1.714, allocations: 0 / 0.9846 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001235/1.715, allocations: 103.9 kB / 0.9847 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006943/1.716, allocations: 321.3 kB / 0.985 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00173/1.717, allocations: 186.5 kB / 0.9852 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.424e-05/1.717, allocations: 4 kB / 0.9852 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00159/1.719, allocations: 232.9 kB / 0.9855 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=16): time 3.817e-06/1.719, allocations: 3.938 kB / 0.9855 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of matching and sorting (n=16): time 0.004326/1.723, allocations: 473 kB / 0.9859 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.475e-05/1.723, allocations: 63.39 kB / 0.986 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005994/1.724, allocations: 290.9 kB / 0.9862 GB, free: 0.4961 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001487/1.724, allocations: 41.64 kB / 0.9863 GB, free: 460 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/1.724, allocations: 93.12 kB / 0.9864 GB, free: 364 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.192e-05/1.725, allocations: 35.55 kB / 0.9864 GB, free: 328 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.241e-05/1.725, allocations: 7.984 kB / 0.9864 GB, free: 320 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0003946/1.725, allocations: 330.8 kB / 0.9867 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003309/1.725, allocations: 79.95 kB / 0.9868 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004017/1.726, allocations: 143.3 kB / 0.9869 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004341/1.726, allocations: 155.4 kB / 0.9871 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/1.726, allocations: 0 / 0.9871 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001305/1.728, allocations: 389.6 kB / 0.9875 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001299/1.728, allocations: 71.39 kB / 0.9875 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/1.728, allocations: 4 kB / 0.9875 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.581e-05/1.728, allocations: 7.938 kB / 0.9875 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002687/1.728, allocations: 20.17 kB / 0.9876 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.307e-05/1.728, allocations: 15.92 kB / 0.9876 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008693/1.729, allocations: 67.8 kB / 0.9876 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/1.729, allocations: 43.94 kB / 0.9877 GB, free: 14.94 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.0004536/1.73, allocations: 168 kB / 0.9878 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.785e-05/1.73, allocations: 23.72 kB / 0.9879 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001046/1.73, allocations: 30.3 kB / 0.9879 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/1.73, allocations: 3.938 kB / 0.9879 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/1.73, allocations: 0 / 0.9879 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/1.73, allocations: 3.953 kB / 0.9879 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00374/1.734, allocations: 0.7151 MB / 0.9886 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.431e-06/1.734, allocations: 0 / 0.9886 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.755e-05/1.734, allocations: 4 kB / 0.9886 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.285e-06/1.734, allocations: 0 / 0.9886 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.482e-05/1.734, allocations: 19.97 kB / 0.9886 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.284e-05/1.734, allocations: 11.89 kB / 0.9886 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/1.734, allocations: 0 / 0.9886 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002872/1.737, allocations: 467 kB / 0.9891 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003803/1.737, allocations: 156.7 kB / 0.9892 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/1.737, allocations: 11.98 kB / 0.9892 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007074/1.738, allocations: 31.97 kB / 0.9893 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.705e-05/1.738, allocations: 15.94 kB / 0.9893 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-05/1.738, allocations: 43.98 kB / 0.9893 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003835/1.739, allocations: 209.9 kB / 0.9895 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.91e-07/1.739, allocations: 3.938 kB / 0.9895 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000689/1.739, allocations: 47.98 kB / 0.9896 GB, free: 12.9 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.003726/1.743, allocations: 1.015 MB / 0.9906 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002026/1.745, allocations: 396.9 kB / 0.9909 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/1.745, allocations: 0 / 0.9909 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001186/1.746, allocations: 119.9 kB / 0.9911 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005313/1.747, allocations: 22.5 kB / 0.9911 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004143/1.751, allocations: 1.657 MB / 0.9927 GB, free: 9.578 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007365/1.752, allocations: 0.7521 MB / 0.9934 GB, free: 8.801 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001356/1.752, allocations: 13.08 kB / 0.9934 GB, free: 8.789 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/1.752, allocations: 23.42 kB / 0.9935 GB, free: 8.766 MB / 0.7481 GB Notification: Performance of SimCode: time 2.946e-06/1.752, allocations: 4 kB / 0.9935 GB, free: 8.762 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03309/1.785, allocations: 4.499 MB / 0.9979 GB, free: 4.438 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004069/1.786, allocations: 192.3 kB / 0.9981 GB, free: 4.199 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.209/4.994, allocations: 0 / 0.9981 GB, free: 4.199 MB / 0.7481 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) Environment - environmentSimulation: 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