Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.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.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature,fileNamePrefix="Buildings_9_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_SupplyAirTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature,fileNamePrefix="Buildings_9_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_SupplyAirTemperature",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.001369/0.001369, allocations: 99.55 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.001714/0.001714, allocations: 177.3 kB / 15.94 MB, free: 228 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.56/1.56, allocations: 223.2 MB / 239.9 MB, free: 5.254 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.589/2.589, allocations: 390.3 MB / 0.6653 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003926/0.0003926, allocations: 12 kB / 0.8146 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9462/0.9466, allocations: 142.3 MB / 0.9536 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature): time 0.002528/0.9492, allocations: 2.156 MB / 0.9557 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001481/0.9507, allocations: 0.8498 MB / 0.9565 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001984/0.9509, allocations: 5.906 kB / 0.9565 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.804e-05/0.951, allocations: 27.66 kB / 0.9566 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002069/0.9512, allocations: 64.89 kB / 0.9566 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005738/0.9518, allocations: 236.8 kB / 0.9569 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003656/0.9521, allocations: 318.9 kB / 0.9572 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003542/0.9525, allocations: 200 kB / 0.9573 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001895/0.9527, allocations: 140.1 kB / 0.9575 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001668/0.9529, allocations: 147.5 kB / 0.9576 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.861e-05/0.9529, allocations: 20.38 kB / 0.9576 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.004e-05/0.953, allocations: 29.52 kB / 0.9577 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.157e-05/0.9531, allocations: 57.06 kB / 0.9577 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.061e-05/0.9532, allocations: 102 kB / 0.9578 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003983/0.9536, allocations: 0.5602 MB / 0.9584 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.9536, allocations: 0 / 0.9584 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.804e-06/0.9536, allocations: 0 / 0.9584 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.9536, allocations: 0 / 0.9584 GB, free: 4.441 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001055/0.9547, allocations: 0.6889 MB / 0.959 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.9547, allocations: 17.33 kB / 0.9591 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.52e-05/0.9548, allocations: 80.53 kB / 0.9591 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.9549, allocations: 58.23 kB / 0.9592 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004883/0.9554, allocations: 374.5 kB / 0.9595 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.894e-05/0.9555, allocations: 39.47 kB / 0.9596 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.647e-05/0.9555, allocations: 42.78 kB / 0.9596 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007618/0.9563, allocations: 425.9 kB / 0.96 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.9563, allocations: 3.938 kB / 0.96 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.032e-05/0.9564, allocations: 20.12 kB / 0.9601 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/0.9564, allocations: 13.58 kB / 0.9601 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006449/0.957, allocations: 310.4 kB / 0.9604 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00218/0.9592, allocations: 1.444 MB / 0.9618 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006374/0.9599, allocations: 255.3 kB / 0.962 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.54e-05/0.9599, allocations: 6.938 kB / 0.962 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000388/0.9603, allocations: 195 kB / 0.9622 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=26): time 2.094e-06/0.9603, allocations: 0.7188 kB / 0.9622 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of matching and sorting (n=26): time 0.0008409/0.9612, allocations: 345.6 kB / 0.9625 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.276e-05/0.9613, allocations: 135.5 kB / 0.9627 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004981/0.9618, allocations: 398.9 kB / 0.9631 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.719e-05/0.9618, allocations: 37.47 kB / 0.9631 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.962, allocations: 236.4 kB / 0.9633 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.834e-05/0.962, allocations: 89.22 kB / 0.9634 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.266e-05/0.9621, allocations: 7.375 kB / 0.9634 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.962e-05/0.9622, allocations: 350.5 kB / 0.9637 GB, free: 204 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000253/0.9624, allocations: 125.6 kB / 0.9639 GB, free: 140 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002886/0.9627, allocations: 186.5 kB / 0.964 GB, free: 0 / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003624/0.9631, allocations: 174.8 kB / 0.9642 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.9631, allocations: 0 / 0.9642 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000756/0.9639, allocations: 418.8 kB / 0.9646 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002552/0.9641, allocations: 488.7 kB / 0.9651 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.9641, allocations: 1.344 kB / 0.9651 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.9642, allocations: 2.344 kB / 0.9651 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002826/0.9644, allocations: 59.78 kB / 0.9651 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.9645, allocations: 3.281 kB / 0.9651 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004318/0.9649, allocations: 88.94 kB / 0.9652 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.333e-05/0.965, allocations: 22.81 kB / 0.9652 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.674e-06/0.965, allocations: 4.031 kB / 0.9652 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006799/0.9657, allocations: 364.8 kB / 0.9656 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.9657, allocations: 1.281 kB / 0.9656 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.2e-06/0.9657, allocations: 3.219 kB / 0.9656 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002255/0.9659, allocations: 50.11 kB / 0.9656 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.9659, allocations: 6.766 kB / 0.9657 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003551/0.9663, allocations: 85.48 kB / 0.9657 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.841e-05/0.9663, allocations: 19.89 kB / 0.9658 GB, free: 14.82 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,$whenCondition3,$PRE.uEna.y,uEna.y,conTSup.con.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * 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.0003365/0.9667, allocations: 242.5 kB / 0.966 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.977e-05/0.9668, allocations: 41.31 kB / 0.966 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000761/0.9675, allocations: 303.8 kB / 0.9663 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/0.9676, allocations: 2.906 kB / 0.9663 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.579e-05/0.9676, allocations: 4.734 kB / 0.9663 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.427e-06/0.9676, allocations: 0 / 0.9663 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001678/0.9693, allocations: 0.7838 MB / 0.9671 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.9693, allocations: 1.125 kB / 0.9671 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002625/0.9696, allocations: 46.83 kB / 0.9671 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.9696, allocations: 1.25 kB / 0.9671 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.067e-05/0.9696, allocations: 10.86 kB / 0.9671 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.697e-06/0.9697, allocations: 4.922 kB / 0.9671 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.9697, allocations: 4.938 kB / 0.9672 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.9708, allocations: 0.4892 MB / 0.9676 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001631/0.971, allocations: 122.8 kB / 0.9677 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.919e-05/0.971, allocations: 6.094 kB / 0.9678 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00022/0.9713, allocations: 24.77 kB / 0.9678 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.726e-05/0.9714, allocations: 19.77 kB / 0.9678 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.303e-05/0.9714, allocations: 14.02 kB / 0.9678 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005435/0.972, allocations: 286.9 kB / 0.9681 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.972, allocations: 1 kB / 0.9681 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008631/0.9728, allocations: 152 kB / 0.9682 GB, free: 13.05 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conTSup.con.I.y) * Number of discrete variables: 4 ($whenCondition3,$whenCondition1,$whenCondition2,uEna.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001402/0.9742, allocations: 1.039 MB / 0.9692 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001247/0.9755, allocations: 0.5762 MB / 0.9698 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.9755, allocations: 0 / 0.9698 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002717/0.9758, allocations: 117.1 kB / 0.9699 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004504/0.9763, allocations: 64.55 kB / 0.97 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00225/0.9785, allocations: 1.718 MB / 0.9717 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005097/0.979, allocations: 0.8168 MB / 0.9725 GB, free: 9.508 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000231/0.9793, allocations: 50.45 kB / 0.9725 GB, free: 9.488 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002181/0.9795, allocations: 145.2 kB / 0.9726 GB, free: 9.371 MB / 0.7325 GB Notification: Performance of SimCode: time 1.052e-06/0.9795, allocations: 1.156 kB / 0.9726 GB, free: 9.371 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02244/1.002, allocations: 7.859 MB / 0.9803 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000183/1.002, allocations: 215.8 kB / 0.9805 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.005/3.007, allocations: 3.938 kB / 0.9805 GB, free: 4.188 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe ; mkfifo Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe >> ../files/Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_SupplyAirTemperature_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_SupplyAirTemperature.fmu > Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature_res.mat does not exist to compare? outputFormat=mat