Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_9_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.00114/0.00114, 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.00196/0.00196, 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.37/1.37, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.436/2.436, allocations: 390.4 MB / 0.6655 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003198/0.0003199, allocations: 8 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7464/0.7468, allocations: 142.3 MB / 0.9538 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.0018/0.7486, allocations: 1.186 MB / 0.955 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000929/0.7496, allocations: 408.9 kB / 0.9554 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.91e-05/0.7497, allocations: 3.938 kB / 0.9554 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.254e-05/0.7498, allocations: 8.922 kB / 0.9554 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001266/0.7499, allocations: 24.03 kB / 0.9554 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008417/0.7508, allocations: 210.6 kB / 0.9556 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004339/0.7512, allocations: 255 kB / 0.9559 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.077e-05/0.7513, allocations: 4.844 kB / 0.9559 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004785/0.7518, allocations: 220.8 kB / 0.9561 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002643/0.7521, allocations: 138.8 kB / 0.9562 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.625e-05/0.7521, allocations: 10.41 kB / 0.9562 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.139e-05/0.7522, allocations: 9.812 kB / 0.9562 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.7523, allocations: 83.11 kB / 0.9563 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.736e-05/0.7524, allocations: 70.7 kB / 0.9564 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.7526, allocations: 202.7 kB / 0.9566 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.7527, allocations: 0 / 0.9566 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.204e-06/0.7527, allocations: 0 / 0.9566 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.608e-06/0.7527, allocations: 3.938 kB / 0.9566 GB, free: 6.199 MB / 0.7169 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.0007915/0.7535, allocations: 0.6652 MB / 0.9572 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.7535, allocations: 9.438 kB / 0.9572 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.397e-05/0.7536, allocations: 36.38 kB / 0.9573 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.549e-05/0.7536, allocations: 34.23 kB / 0.9573 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002738/0.7539, allocations: 258.3 kB / 0.9576 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.931e-05/0.754, allocations: 16.42 kB / 0.9576 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.506e-05/0.754, allocations: 14.97 kB / 0.9576 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008806/0.7549, allocations: 216.4 kB / 0.9578 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.7549, allocations: 0 / 0.9578 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.643e-05/0.755, allocations: 7.953 kB / 0.9578 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.755, allocations: 1.812 kB / 0.9578 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006423/0.7556, allocations: 109.3 kB / 0.9579 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003111/0.756, allocations: 313.6 kB / 0.9582 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008848/0.7568, allocations: 185.5 kB / 0.9584 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006446/0.7575, allocations: 122.2 kB / 0.9585 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.509e-05/0.7576, allocations: 9.984 kB / 0.9585 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008175/0.7584, allocations: 215.4 kB / 0.9587 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.904e-06/0.7584, allocations: 1.094 kB / 0.9587 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002273/0.7607, allocations: 483.1 kB / 0.9592 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/0.7607, allocations: 68.88 kB / 0.9592 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003059/0.761, allocations: 289 kB / 0.9595 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.691e-05/0.7611, allocations: 35.86 kB / 0.9596 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.349e-05/0.7612, allocations: 102.1 kB / 0.9596 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.396e-05/0.7612, allocations: 37.45 kB / 0.9597 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.921e-05/0.7613, allocations: 8.156 kB / 0.9597 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.657e-05/0.7613, allocations: 320.9 kB / 0.96 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000198/0.7615, allocations: 81.42 kB / 0.9601 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002184/0.7618, allocations: 133.7 kB / 0.9602 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002302/0.762, allocations: 158.5 kB / 0.9604 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.762, allocations: 1.156 kB / 0.9604 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006907/0.7627, allocations: 388.1 kB / 0.9607 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.472e-05/0.7628, allocations: 70.92 kB / 0.9608 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.7628, allocations: 5.188 kB / 0.9608 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.7628, allocations: 3.688 kB / 0.9608 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.763, allocations: 26.09 kB / 0.9608 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/0.763, allocations: 6.719 kB / 0.9608 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004439/0.7635, allocations: 68.55 kB / 0.9609 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.718e-05/0.7636, allocations: 43.08 kB / 0.9609 GB, free: 2.891 MB / 0.7169 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.0001684/0.7637, allocations: 172.5 kB / 0.9611 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.393e-05/0.7638, allocations: 27.94 kB / 0.9611 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.206e-05/0.7638, allocations: 28.48 kB / 0.9612 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.7639, allocations: 2.25 kB / 0.9612 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.7639, allocations: 3.938 kB / 0.9612 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.7639, allocations: 3.984 kB / 0.9612 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0019/0.7658, allocations: 0.7146 MB / 0.9619 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.7658, allocations: 0 / 0.9619 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.386e-05/0.7658, allocations: 3.656 kB / 0.9619 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.7658, allocations: 5.297 kB / 0.9619 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.433e-05/0.7659, allocations: 16.7 kB / 0.9619 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.7659, allocations: 1.438 kB / 0.9619 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.7659, allocations: 0 / 0.9619 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001514/0.7674, allocations: 474.8 kB / 0.9623 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001665/0.7676, allocations: 157.3 kB / 0.9625 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.36e-05/0.7677, allocations: 13.61 kB / 0.9625 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004106/0.7681, allocations: 35.47 kB / 0.9625 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.655e-05/0.7681, allocations: 17.23 kB / 0.9626 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-05/0.7682, allocations: 41.69 kB / 0.9626 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002189/0.7684, allocations: 204.8 kB / 0.9628 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7684, allocations: 0 / 0.9628 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003275/0.7688, allocations: 54.75 kB / 0.9628 GB, free: 1.582 MB / 0.7169 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.001635/0.7704, allocations: 1.012 MB / 0.9638 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001082/0.7715, allocations: 391.5 kB / 0.9642 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.7715, allocations: 1.406 kB / 0.9642 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006674/0.7722, allocations: 137.6 kB / 0.9643 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.7726, allocations: 25.44 kB / 0.9644 GB, free: 488 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00241/0.775, allocations: 1.189 MB / 0.9655 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.7753, allocations: 0.7466 MB / 0.9663 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.603e-05/0.7754, allocations: 8.781 kB / 0.9663 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.878e-05/0.7755, allocations: 25.58 kB / 0.9663 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of SimCode: time 5.41e-07/0.7755, allocations: 1.156 kB / 0.9663 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01783/0.7933, allocations: 4.536 MB / 0.9707 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001934/0.7935, allocations: 194.3 kB / 0.9709 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.914/2.707, allocations: 1.531 kB / 0.9709 GB, free: 12.41 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat does not exist to compare? outputFormat=mat