Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.232/2.232, allocations: 393.5 MB / 408.4 MB, free: 10.99 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 194.6 kB / 0.4901 GB, free: 2.227 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 223.1 MB / 0.7992 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008793/0.0008793, allocations: 107.1 kB / 0.9396 GB, free: 2.898 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003503/0.0003503, allocations: 11.3 kB / 1.09 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2695, allocations: 143 MB / 1.229 GB, free: 85.41 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.972/4.241, allocations: 1.723 GB / 2.952 GB, free: 243.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002813/4.242, allocations: 97.3 kB / 2.952 GB, free: 243.5 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.09911/4.341, allocations: 50.11 MB / 3.001 GB, free: 193 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.436e-06/4.341, allocations: 7.938 kB / 3.001 GB, free: 192.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 2.122e-05/4.341, allocations: 11.94 kB / 3.001 GB, free: 192.9 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001477/4.342, allocations: 0.7075 MB / 3.002 GB, free: 192.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/4.342, allocations: 12.03 kB / 3.002 GB, free: 192.2 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.213e-05/4.342, allocations: 42.56 kB / 3.002 GB, free: 192.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001385/4.344, allocations: 155.5 kB / 3.002 GB, free: 192 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004561/4.344, allocations: 306.4 kB / 3.003 GB, free: 191.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.512e-05/4.344, allocations: 53.64 kB / 3.003 GB, free: 191.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.323e-05/4.344, allocations: 24 kB / 3.003 GB, free: 191.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000385/4.345, allocations: 214.4 kB / 3.003 GB, free: 191.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/4.345, allocations: 0 / 3.003 GB, free: 191.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.503e-05/4.345, allocations: 8 kB / 3.003 GB, free: 191.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/4.345, allocations: 7.984 kB / 3.003 GB, free: 191.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002782/4.345, allocations: 128.1 kB / 3.003 GB, free: 191.2 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002353/4.348, allocations: 1.02 MB / 3.004 GB, free: 190.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007443/4.348, allocations: 170.4 kB / 3.004 GB, free: 189.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/4.348, allocations: 3.953 kB / 3.004 GB, free: 189.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000326/4.349, allocations: 206.1 kB / 3.004 GB, free: 189.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=19): time 1.563e-06/4.349, allocations: 0 / 3.004 GB, free: 189.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=19): time 0.00439/4.353, allocations: 0.9992 MB / 3.005 GB, free: 188.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/4.353, allocations: 89.09 kB / 3.005 GB, free: 188.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003228/4.353, allocations: 303.5 kB / 3.006 GB, free: 188.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.435e-05/4.354, allocations: 33.7 kB / 3.006 GB, free: 188.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 9.003e-05/4.354, allocations: 148.7 kB / 3.006 GB, free: 188 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 4.513e-05/4.354, allocations: 55.2 kB / 3.006 GB, free: 188 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-05/4.354, allocations: 8 kB / 3.006 GB, free: 188 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.682e-05/4.354, allocations: 342.8 kB / 3.006 GB, free: 187.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000308/4.354, allocations: 148.5 kB / 3.006 GB, free: 187.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003489/4.354, allocations: 217.4 kB / 3.007 GB, free: 187.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003273/4.355, allocations: 194.9 kB / 3.007 GB, free: 187.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/4.355, allocations: 0 / 3.007 GB, free: 187.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003742/4.359, allocations: 0.8966 MB / 3.008 GB, free: 186.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.747e-05/4.359, allocations: 38.47 kB / 3.008 GB, free: 186.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/4.359, allocations: 7.953 kB / 3.008 GB, free: 186.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009177/4.36, allocations: 201.7 kB / 3.008 GB, free: 185.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002338/4.36, allocations: 39.91 kB / 3.008 GB, free: 185.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002438/4.362, allocations: 2.252 MB / 3.01 GB, free: 183.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004877/4.363, allocations: 47.67 kB / 3.01 GB, free: 183.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.742e-05/4.363, allocations: 19.98 kB / 3.01 GB, free: 183.4 MB / 1.167 GB Warning: Assuming fixed start value for the following 1 variables: eva.off:DISCRETE(fixed = true protected = true ) "Signal, true when component is off" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$PRE.eva.off,eva.off,$whenCondition1,mAir_flow.a,mAir_flow.b,mAir_flow.last,$PRE.mAir_flow.nextEvent,mAir_flow.nextEvent,mAir_flow.nextEventScaled,int.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {7} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000217/4.363, allocations: 196.1 kB / 3.01 GB, free: 183.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.639e-05/4.363, allocations: 27.62 kB / 3.01 GB, free: 183.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.474e-05/4.363, allocations: 31.17 kB / 3.01 GB, free: 183.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/4.363, allocations: 7.938 kB / 3.01 GB, free: 183.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/4.363, allocations: 0 / 3.01 GB, free: 183.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/4.363, allocations: 4 kB / 3.01 GB, free: 183.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00334/4.366, allocations: 1.069 MB / 3.011 GB, free: 182 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/4.367, allocations: 4 kB / 3.011 GB, free: 182 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.355e-05/4.367, allocations: 15.98 kB / 3.011 GB, free: 182 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002986/4.367, allocations: 120.6 kB / 3.012 GB, free: 181.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.847e-05/4.367, allocations: 11.98 kB / 3.012 GB, free: 181.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007519/4.368, allocations: 0.7421 MB / 3.012 GB, free: 181.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/4.368, allocations: 0 / 3.012 GB, free: 181.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003249/4.371, allocations: 0.9277 MB / 3.013 GB, free: 180.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001487/4.371, allocations: 144.8 kB / 3.013 GB, free: 179.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.313e-05/4.371, allocations: 8 kB / 3.013 GB, free: 179.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002705/4.371, allocations: 15.98 kB / 3.013 GB, free: 179.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.888e-05/4.372, allocations: 19.94 kB / 3.013 GB, free: 179.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.217e-05/4.372, allocations: 15.97 kB / 3.013 GB, free: 179.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0002495/4.372, allocations: 235 kB / 3.014 GB, free: 179.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.7e-07/4.372, allocations: 0 / 3.014 GB, free: 179.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0006915/4.373, allocations: 167.8 kB / 3.014 GB, free: 179.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (eva.m,int.y) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,eva.off,mAir_flow.a,mAir_flow.b,mAir_flow.last,mAir_flow.nextEvent,mAir_flow.nextEventScaled) * Number of discrete states: 7 (eva.off,mAir_flow.nextEvent,mAir_flow.last,mAir_flow.nextEventScaled,mAir_flow.b,mAir_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {7} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001863/4.374, allocations: 1.752 MB / 3.016 GB, free: 177.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001456/4.376, allocations: 0.5623 MB / 3.016 GB, free: 177.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/4.376, allocations: 0 / 3.016 GB, free: 177.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007109/4.377, allocations: 256.2 kB / 3.016 GB, free: 176.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003913/4.377, allocations: 49.62 kB / 3.016 GB, free: 176.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/4.379, allocations: 1.673 MB / 3.018 GB, free: 175.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001619/4.379, allocations: 0.7716 MB / 3.019 GB, free: 174.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.000144/4.379, allocations: 30.28 kB / 3.019 GB, free: 174.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/4.379, allocations: 85.5 kB / 3.019 GB, free: 174.2 MB / 1.167 GB Notification: Performance of SimCode: time 6.71e-07/4.379, allocations: 0 / 3.019 GB, free: 174.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02895/4.408, allocations: 19.47 MB / 3.038 GB, free: 155 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001508/4.408, allocations: 241.8 kB / 3.038 GB, free: 154.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.556/6.964, allocations: 6.172 kB / 3.038 GB, free: 154.7 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal_fmu --startTime=0 --stopTime=2400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal_res.mat does not exist to compare? outputFormat=mat