Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.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.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_9_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_9_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",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.001459/0.001459, allocations: 99.86 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.001591/0.001591, 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 1.428/1.428, 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 9.1.1-maint.9.1.x/package.mo): time 2.356/2.356, allocations: 390.3 MB / 0.6653 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004163/0.0004163, allocations: 8 kB / 0.8146 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7243/0.7247, allocations: 142.3 MB / 0.9536 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.001822/0.7266, allocations: 1.445 MB / 0.955 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002443/0.7269, allocations: 123 kB / 0.9551 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.579e-05/0.727, allocations: 1.688 kB / 0.9551 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.335e-05/0.727, allocations: 11.92 kB / 0.9551 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001398/0.7271, allocations: 68.36 kB / 0.9552 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001082/0.7273, allocations: 23.25 kB / 0.9552 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002013/0.7275, allocations: 119.5 kB / 0.9553 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.7276, allocations: 29.75 kB / 0.9554 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.813e-05/0.7277, allocations: 40.67 kB / 0.9554 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.7278, allocations: 60.69 kB / 0.9555 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.7278, allocations: 4.219 kB / 0.9555 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.574e-05/0.7278, allocations: 4.312 kB / 0.9555 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.349e-05/0.7279, allocations: 19.23 kB / 0.9555 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.601e-05/0.7279, allocations: 46.3 kB / 0.9555 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001045/0.728, allocations: 82.84 kB / 0.9556 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.728, allocations: 0 / 0.9556 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.044e-06/0.728, allocations: 1.031 kB / 0.9556 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.448e-06/0.728, allocations: 4 kB / 0.9556 GB, free: 6.484 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006694/0.7287, allocations: 442.5 kB / 0.956 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.7288, allocations: 13.62 kB / 0.956 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.61e-05/0.7288, allocations: 36.25 kB / 0.9561 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.646e-05/0.7289, allocations: 19.02 kB / 0.9561 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/0.7291, allocations: 203.3 kB / 0.9563 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.7291, allocations: 6.688 kB / 0.9563 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.818e-05/0.7291, allocations: 8.484 kB / 0.9563 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002657/0.7294, allocations: 128 kB / 0.9564 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.7294, allocations: 5.094 kB / 0.9564 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.7294, allocations: 5.281 kB / 0.9564 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.7294, allocations: 1.156 kB / 0.9564 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002929/0.7297, allocations: 116.8 kB / 0.9565 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006069/0.7303, allocations: 471.8 kB / 0.957 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003435/0.7307, allocations: 142 kB / 0.9571 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.7307, allocations: 5.281 kB / 0.9571 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.659e-05/0.7307, allocations: 40.28 kB / 0.9572 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.903e-06/0.7308, allocations: 0 / 0.9572 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0005646/0.7313, allocations: 204 kB / 0.9574 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.7314, allocations: 79.8 kB / 0.9574 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.7315, allocations: 177.5 kB / 0.9576 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.7315, allocations: 25.7 kB / 0.9576 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.781e-05/0.7316, allocations: 109.9 kB / 0.9577 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.242e-05/0.7316, allocations: 27.59 kB / 0.9578 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.532e-06/0.7316, allocations: 4 kB / 0.9578 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.973e-05/0.7317, allocations: 322.5 kB / 0.9581 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.7318, allocations: 48.75 kB / 0.9581 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.732, allocations: 70.2 kB / 0.9582 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.7321, allocations: 50.8 kB / 0.9582 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.7321, allocations: 0 / 0.9582 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000327/0.7324, allocations: 161.9 kB / 0.9584 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.7325, allocations: 5.375 kB / 0.9584 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.7325, allocations: 0 / 0.9584 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.7325, allocations: 1.75 kB / 0.9584 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.7327, allocations: 36.55 kB / 0.9584 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.7327, allocations: 1.375 kB / 0.9584 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/0.7328, allocations: 21.83 kB / 0.9585 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.7328, allocations: 2.656 kB / 0.9585 GB, free: 3.988 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 7.288e-05/0.7329, allocations: 118.2 kB / 0.9586 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.056e-05/0.7329, allocations: 14.73 kB / 0.9586 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004201/0.7334, allocations: 174 kB / 0.9588 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.7334, allocations: 1.812 kB / 0.9588 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.7334, allocations: 1.375 kB / 0.9588 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.7334, allocations: 4 kB / 0.9588 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002357/0.7336, allocations: 223.5 kB / 0.959 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.7336, allocations: 1.344 kB / 0.959 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001417/0.7338, allocations: 27.83 kB / 0.959 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.7338, allocations: 4.719 kB / 0.959 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.7338, allocations: 5.078 kB / 0.959 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.7338, allocations: 4.922 kB / 0.959 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.7338, allocations: 1.156 kB / 0.959 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003671/0.7342, allocations: 340.3 kB / 0.9593 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.369e-05/0.7343, allocations: 92.28 kB / 0.9594 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.85e-05/0.7343, allocations: 9.047 kB / 0.9594 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.7345, allocations: 17.42 kB / 0.9595 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.859e-05/0.7345, allocations: 8.172 kB / 0.9595 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.7345, allocations: 1.156 kB / 0.9595 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.957e-05/0.7346, allocations: 130.4 kB / 0.9596 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7346, allocations: 0 / 0.9596 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002924/0.7349, allocations: 33.16 kB / 0.9596 GB, free: 2.973 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * 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 (9): * Single equations (assignments): 9 * 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.0005542/0.7355, allocations: 0.9398 MB / 0.9605 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003486/0.7358, allocations: 118.8 kB / 0.9607 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.7358, allocations: 0 / 0.9607 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001605/0.736, allocations: 65.52 kB / 0.9607 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/0.7364, allocations: 39.39 kB / 0.9608 GB, free: 2 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.7378, allocations: 0.9766 MB / 0.9617 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001417/0.7379, allocations: 0.7123 MB / 0.9624 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.394e-05/0.738, allocations: 13.98 kB / 0.9624 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.605e-05/0.7381, allocations: 29.59 kB / 0.9624 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.7381, allocations: 0 / 0.9624 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01296/0.7511, allocations: 3.203 MB / 0.9656 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001654/0.7513, allocations: 193.8 kB / 0.9658 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.701/2.452, allocations: 1 kB / 0.9658 GB, free: 14.78 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat does not exist to compare? outputFormat=mat