Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.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.Tutorial.CDL.Controls.Validation.BoilerReturn,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn",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.001137/0.001137, allocations: 91.61 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.001622/0.001622, 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.609/1.609, allocations: 223.3 MB / 240 MB, free: 5.398 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.568/2.568, allocations: 390.4 MB / 0.6655 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004393/0.0004394, allocations: 12 kB / 0.8149 GB, free: 14.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9221/0.9225, allocations: 142.3 MB / 0.9539 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.002402/0.925, allocations: 1.667 MB / 0.9555 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009492/0.926, allocations: 412.2 kB / 0.9559 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001891/0.9262, allocations: 8.062 kB / 0.9559 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001753/0.9264, allocations: 25.95 kB / 0.9559 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.9265, allocations: 23.06 kB / 0.9559 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002549/0.9267, allocations: 59.27 kB / 0.956 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002857/0.927, allocations: 243 kB / 0.9562 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002451/0.9273, allocations: 100.5 kB / 0.9563 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.612e-05/0.9274, allocations: 60.25 kB / 0.9564 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.9275, allocations: 75.5 kB / 0.9564 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.988e-05/0.9276, allocations: 6.5 kB / 0.9565 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.357e-05/0.9276, allocations: 5.406 kB / 0.9565 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.685e-05/0.9276, allocations: 30.62 kB / 0.9565 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.202e-05/0.9277, allocations: 59.73 kB / 0.9565 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002627/0.9279, allocations: 292.9 kB / 0.9568 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.774e-06/0.928, allocations: 1.438 kB / 0.9568 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.275e-06/0.928, allocations: 0 / 0.9568 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.928, allocations: 0 / 0.9568 GB, free: 5.758 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0007485/0.9287, allocations: 0.5118 MB / 0.9573 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.9288, allocations: 9.188 kB / 0.9573 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.252e-05/0.9289, allocations: 57.61 kB / 0.9574 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.379e-05/0.9289, allocations: 35.66 kB / 0.9574 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003112/0.9293, allocations: 260.7 kB / 0.9577 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.9293, allocations: 15.88 kB / 0.9577 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.756e-05/0.9293, allocations: 17.75 kB / 0.9577 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004608/0.9298, allocations: 245.8 kB / 0.9579 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.9298, allocations: 1.969 kB / 0.9579 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.132e-05/0.9298, allocations: 5.094 kB / 0.9579 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.9299, allocations: 5.438 kB / 0.9579 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004212/0.9303, allocations: 200.9 kB / 0.9581 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.9313, allocations: 0.8678 MB / 0.959 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004925/0.9318, allocations: 204.7 kB / 0.9592 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002156/0.9321, allocations: 99.25 kB / 0.9593 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.9321, allocations: 1.219 kB / 0.9593 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.9321, allocations: 32.16 kB / 0.9593 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 2.625e-06/0.9321, allocations: 4 kB / 0.9593 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.000623/0.9328, allocations: 255.5 kB / 0.9596 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.9328, allocations: 78.33 kB / 0.9596 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002486/0.9331, allocations: 229.8 kB / 0.9599 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.9331, allocations: 26.98 kB / 0.9599 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.159e-05/0.9332, allocations: 160 kB / 0.96 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.9332, allocations: 41.44 kB / 0.9601 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.824e-06/0.9332, allocations: 8 kB / 0.9601 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.344e-05/0.9333, allocations: 331 kB / 0.9604 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/0.9335, allocations: 68.48 kB / 0.9605 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001946/0.9337, allocations: 121.4 kB / 0.9606 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000175/0.9339, allocations: 80 kB / 0.9606 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.9339, allocations: 0 / 0.9606 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004064/0.9343, allocations: 231.2 kB / 0.9609 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.731e-05/0.9343, allocations: 114.6 kB / 0.961 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.9343, allocations: 1.094 kB / 0.961 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.9344, allocations: 1.938 kB / 0.961 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.9345, allocations: 38.38 kB / 0.961 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.9346, allocations: 1.875 kB / 0.961 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001349/0.9347, allocations: 38.52 kB / 0.9611 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.9347, allocations: 8.141 kB / 0.9611 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.777e-06/0.9347, allocations: 13.67 kB / 0.9611 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002908/0.935, allocations: 150.1 kB / 0.9612 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.274e-06/0.935, allocations: 1.219 kB / 0.9612 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.248e-06/0.935, allocations: 5.859 kB / 0.9612 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.9352, allocations: 38.62 kB / 0.9613 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-06/0.9352, allocations: 0.9688 kB / 0.9613 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.867e-05/0.9353, allocations: 29.73 kB / 0.9613 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.9353, allocations: 4.125 kB / 0.9613 GB, free: 2.23 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (conBoiRet.conPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * 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.0001203/0.9354, allocations: 214.7 kB / 0.9615 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.129e-05/0.9355, allocations: 23.55 kB / 0.9615 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.04e-05/0.9355, allocations: 21.95 kB / 0.9615 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.9355, allocations: 1.5 kB / 0.9615 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.9356, allocations: 0.75 kB / 0.9615 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.9356, allocations: 0 / 0.9615 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002681/0.9358, allocations: 308.7 kB / 0.9618 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.9358, allocations: 0 / 0.9618 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001616/0.936, allocations: 38.23 kB / 0.9619 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.936, allocations: 0 / 0.9619 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.936, allocations: 8.984 kB / 0.9619 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.936, allocations: 0.9688 kB / 0.9619 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.9361, allocations: 4.984 kB / 0.9619 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005803/0.9366, allocations: 371.4 kB / 0.9622 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.202e-05/0.9367, allocations: 93.89 kB / 0.9623 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.9367, allocations: 1.312 kB / 0.9623 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.9369, allocations: 29.23 kB / 0.9624 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.618e-05/0.9369, allocations: 4 kB / 0.9624 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.9369, allocations: 6.656 kB / 0.9624 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001456/0.9371, allocations: 180 kB / 0.9625 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9371, allocations: 0 / 0.9625 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003612/0.9374, allocations: 64.69 kB / 0.9626 GB, free: 1.145 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conBoiRet.conPID.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0007576/0.9382, allocations: 0.9074 MB / 0.9635 GB, free: 376 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005263/0.9387, allocations: 248.3 kB / 0.9637 GB, free: 272 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.9387, allocations: 0 / 0.9637 GB, free: 272 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001769/0.9389, allocations: 80.25 kB / 0.9638 GB, free: 240 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004218/0.9394, allocations: 36.22 kB / 0.9638 GB, free: 220 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00225/0.9416, allocations: 1.256 MB / 0.9651 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/0.9419, allocations: 0.7345 MB / 0.9658 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.974e-05/0.9421, allocations: 24.06 kB / 0.9658 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.9422, allocations: 61.2 kB / 0.9659 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of SimCode: time 5.41e-07/0.9422, allocations: 0 / 0.9659 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.019/0.9612, allocations: 3.856 MB / 0.9696 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002458/0.9615, allocations: 199.7 kB / 0.9698 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.704/2.665, allocations: 0 / 0.9698 GB, free: 12.55 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.fmu > Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn_res.mat does not exist to compare? outputFormat=mat