Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.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 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.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_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.0009314/0.0009313, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001111/0.001111, allocations: 172.7 kB / 15.95 MB, free: 208 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.431/1.431, allocations: 223.3 MB / 240 MB, free: 5.438 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.579/2.579, allocations: 390.4 MB / 0.6655 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005398/0.0005399, allocations: 16 kB / 0.8149 GB, free: 14.04 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8323/0.8328, allocations: 142.3 MB / 0.9539 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.001938/0.8348, allocations: 1.365 MB / 0.9552 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.8359, allocations: 470.3 kB / 0.9557 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.336e-05/0.836, allocations: 5.156 kB / 0.9557 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001003/0.8361, allocations: 3.938 kB / 0.9557 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000133/0.8363, allocations: 28.72 kB / 0.9557 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006597/0.8369, allocations: 218.1 kB / 0.9559 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003794/0.8373, allocations: 319.2 kB / 0.9562 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.8375, allocations: 29.27 kB / 0.9562 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004025/0.8379, allocations: 241.8 kB / 0.9565 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002525/0.8381, allocations: 142.6 kB / 0.9566 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.554e-05/0.8382, allocations: 11.34 kB / 0.9566 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.428e-05/0.8382, allocations: 9 kB / 0.9566 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.8384, allocations: 81.84 kB / 0.9567 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.855e-05/0.8385, allocations: 75.17 kB / 0.9568 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003219/0.8388, allocations: 327.2 kB / 0.9571 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.8388, allocations: 1.562 kB / 0.9571 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.777e-06/0.8388, allocations: 7.984 kB / 0.9571 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.8388, allocations: 3.938 kB / 0.9571 GB, free: 5.805 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0009831/0.8398, allocations: 0.6781 MB / 0.9578 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/0.8399, allocations: 12.75 kB / 0.9578 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.928e-05/0.84, allocations: 46.39 kB / 0.9578 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.8401, allocations: 35.78 kB / 0.9578 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003488/0.8404, allocations: 265.4 kB / 0.9581 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.411e-05/0.8405, allocations: 22.28 kB / 0.9581 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.861e-05/0.8406, allocations: 27.66 kB / 0.9581 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009468/0.8415, allocations: 234.7 kB / 0.9584 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.8416, allocations: 0 / 0.9584 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.7e-05/0.8416, allocations: 9.281 kB / 0.9584 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.8416, allocations: 2.594 kB / 0.9584 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006873/0.8423, allocations: 121 kB / 0.9585 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009847/0.8433, allocations: 0.5637 MB / 0.959 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009636/0.8443, allocations: 200.3 kB / 0.9592 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006592/0.8449, allocations: 123.8 kB / 0.9594 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.845, allocations: 1.375 kB / 0.9594 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008329/0.8458, allocations: 234.4 kB / 0.9596 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 2.414e-06/0.8458, allocations: 0 / 0.9596 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002307/0.8481, allocations: 499 kB / 0.9601 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.8482, allocations: 56.56 kB / 0.9601 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003604/0.8486, allocations: 312.4 kB / 0.9604 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.811e-05/0.8486, allocations: 43.78 kB / 0.9605 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.98e-05/0.8487, allocations: 95.3 kB / 0.9605 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.712e-05/0.8487, allocations: 45.52 kB / 0.9606 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-05/0.8488, allocations: 8.5 kB / 0.9606 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.256e-05/0.8488, allocations: 321.7 kB / 0.9609 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002061/0.8491, allocations: 96.09 kB / 0.961 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002159/0.8493, allocations: 142.6 kB / 0.9611 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002333/0.8495, allocations: 174.2 kB / 0.9613 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.8495, allocations: 0 / 0.9613 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007372/0.8503, allocations: 416.4 kB / 0.9617 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.532e-05/0.8504, allocations: 79.66 kB / 0.9618 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.8504, allocations: 1.438 kB / 0.9618 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.8504, allocations: 10.92 kB / 0.9618 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.8506, allocations: 21.92 kB / 0.9618 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.8506, allocations: 3.031 kB / 0.9618 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000615/0.8512, allocations: 60.61 kB / 0.9619 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/0.8513, allocations: 46.42 kB / 0.9619 GB, free: 2.164 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.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition1,calTim.calTim.hourSampleTrigger,$whenCondition2,calTim.calTim.daySampleTrigger,$PRE.calTim.calTim.year,calTim.calTim.year,$PRE.calTim.calTim.month,calTim.calTim.month,$PRE.calTim.calTim.day,calTim.calTim.day,$PRE.calTim.calTim.hour,calTim.calTim.hour,$PRE.calTim.calTim.weekDay,calTim.calTim.weekDay,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.yearIndex,calTim.calTim.yearIndex,$PRE.calTim.calTim.epochLastMonth,calTim.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.0002705/0.8516, allocations: 187.7 kB / 0.9621 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.957e-05/0.8517, allocations: 28.06 kB / 0.9621 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.184e-05/0.8518, allocations: 28.14 kB / 0.9621 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.8518, allocations: 14.72 kB / 0.9622 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.8518, allocations: 0 / 0.9622 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.8518, allocations: 0 / 0.9622 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002291/0.8541, allocations: 0.7572 MB / 0.9629 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.8541, allocations: 0 / 0.9629 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.097e-05/0.8542, allocations: 3.531 kB / 0.9629 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.268e-06/0.8542, allocations: 9.188 kB / 0.9629 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.185e-05/0.8543, allocations: 12.48 kB / 0.9629 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.8543, allocations: 1.156 kB / 0.9629 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/0.8543, allocations: 5.25 kB / 0.9629 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00221/0.8565, allocations: 486.5 kB / 0.9634 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003193/0.8568, allocations: 185.1 kB / 0.9636 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.857, allocations: 18.58 kB / 0.9636 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006372/0.8576, allocations: 40.89 kB / 0.9636 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.578e-05/0.8577, allocations: 7.906 kB / 0.9636 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.502e-05/0.8578, allocations: 41.66 kB / 0.9637 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003644/0.8582, allocations: 228.6 kB / 0.9639 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.6e-07/0.8582, allocations: 0 / 0.9639 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000699/0.8589, allocations: 55.92 kB / 0.9639 GB, free: 0.7578 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.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.00226/0.8612, allocations: 1.029 MB / 0.9649 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001299/0.8625, allocations: 406.1 kB / 0.9653 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.8625, allocations: 0 / 0.9653 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006952/0.8632, allocations: 136.5 kB / 0.9655 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004295/0.8636, allocations: 32.7 kB / 0.9655 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003156/0.8668, allocations: 1.328 MB / 0.9668 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004253/0.8672, allocations: 0.7509 MB / 0.9675 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.678e-05/0.8673, allocations: 13.23 kB / 0.9675 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.75e-05/0.8674, allocations: 34.92 kB / 0.9676 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of SimCode: time 8.72e-07/0.8674, allocations: 0 / 0.9676 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0186/0.886, allocations: 5.09 MB / 0.9725 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001793/0.8863, allocations: 217.7 kB / 0.9727 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.734/2.621, allocations: 5.281 kB / 0.9727 GB, free: 11.24 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus_res.mat does not exist to compare? outputFormat=mat