Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.16/2.16, allocations: 390.3 MB / 405.3 MB, free: 13.34 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.001289/0.001289, allocations: 188.7 kB / 498.1 MB, free: 5.594 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.456/1.456, allocations: 223.2 MB / 0.7948 GB, free: 17.98 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.0009331/0.0009332, allocations: 96.2 kB / 0.9346 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003557/0.0003556, allocations: 11.05 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2564, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.56/3.817, allocations: 1.722 GB / 2.945 GB, free: 297.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/3.817, allocations: 101.5 kB / 2.945 GB, free: 297.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.09876/3.916, allocations: 50.1 MB / 2.994 GB, free: 246.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.645e-06/3.916, allocations: 0 / 2.994 GB, free: 246.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 1.763e-05/3.916, allocations: 4 kB / 2.994 GB, free: 246.6 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.001343/3.917, allocations: 0.7071 MB / 2.995 GB, free: 245.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/3.917, allocations: 11.97 kB / 2.995 GB, free: 245.8 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.271e-05/3.917, allocations: 46.56 kB / 2.995 GB, free: 245.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001414/3.919, allocations: 159.4 kB / 2.995 GB, free: 245.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004437/3.919, allocations: 314.4 kB / 2.995 GB, free: 245.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.018e-05/3.919, allocations: 53.64 kB / 2.995 GB, free: 245.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.055e-05/3.919, allocations: 16 kB / 2.995 GB, free: 245.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003775/3.92, allocations: 213.6 kB / 2.996 GB, free: 245 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/3.92, allocations: 3.938 kB / 2.996 GB, free: 245 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.676e-05/3.92, allocations: 8 kB / 2.996 GB, free: 245 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/3.92, allocations: 4 kB / 2.996 GB, free: 245 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000246/3.92, allocations: 128.1 kB / 2.996 GB, free: 244.8 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002327/3.922, allocations: 1.016 MB / 2.997 GB, free: 243.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007387/3.923, allocations: 166.5 kB / 2.997 GB, free: 243.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/3.923, allocations: 15.89 kB / 2.997 GB, free: 243.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003405/3.924, allocations: 206.1 kB / 2.997 GB, free: 243.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=19): time 2.063e-06/3.924, allocations: 0 / 2.997 GB, free: 243.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=19): time 0.00429/3.928, allocations: 1.004 MB / 2.998 GB, free: 242.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/3.928, allocations: 89.03 kB / 2.998 GB, free: 242.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003249/3.928, allocations: 303.5 kB / 2.999 GB, free: 241.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.384e-05/3.928, allocations: 33.7 kB / 2.999 GB, free: 241.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 8.445e-05/3.928, allocations: 148.6 kB / 2.999 GB, free: 241.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 4.503e-05/3.928, allocations: 59.19 kB / 2.999 GB, free: 241.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.397e-05/3.928, allocations: 4 kB / 2.999 GB, free: 241.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.938e-05/3.929, allocations: 342.8 kB / 2.999 GB, free: 241.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003054/3.929, allocations: 144.5 kB / 2.999 GB, free: 241.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003507/3.929, allocations: 230 kB / 2.999 GB, free: 240.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003275/3.93, allocations: 186.9 kB / 3 GB, free: 240.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/3.93, allocations: 0 / 3 GB, free: 240.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00371/3.933, allocations: 0.8923 MB / 3 GB, free: 239.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.752e-05/3.933, allocations: 37.69 kB / 3.001 GB, free: 239.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/3.933, allocations: 3.953 kB / 3.001 GB, free: 239.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000909/3.934, allocations: 205.7 kB / 3.001 GB, free: 239.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002311/3.934, allocations: 39.91 kB / 3.001 GB, free: 239.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002399/3.937, allocations: 2.248 MB / 3.003 GB, free: 237.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005099/3.937, allocations: 43.67 kB / 3.003 GB, free: 237.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.694e-05/3.937, allocations: 23.98 kB / 3.003 GB, free: 237 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.0002299/3.938, allocations: 198.2 kB / 3.003 GB, free: 236.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.946e-05/3.938, allocations: 35.61 kB / 3.003 GB, free: 236.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.472e-05/3.938, allocations: 27.17 kB / 3.003 GB, free: 236.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/3.938, allocations: 4 kB / 3.003 GB, free: 236.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/3.938, allocations: 4 kB / 3.003 GB, free: 236.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/3.938, allocations: 0 / 3.003 GB, free: 236.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003267/3.941, allocations: 1.071 MB / 3.004 GB, free: 235.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/3.941, allocations: 0 / 3.004 GB, free: 235.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.532e-05/3.941, allocations: 11.92 kB / 3.004 GB, free: 235.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002895/3.941, allocations: 124.7 kB / 3.004 GB, free: 235.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.745e-05/3.942, allocations: 11.92 kB / 3.004 GB, free: 235.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007452/3.942, allocations: 0.7421 MB / 3.005 GB, free: 234.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/3.942, allocations: 0 / 3.005 GB, free: 234.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003097/3.945, allocations: 0.9338 MB / 3.006 GB, free: 233.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000158/3.946, allocations: 140.6 kB / 3.006 GB, free: 233.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.487e-05/3.946, allocations: 4 kB / 3.006 GB, free: 233.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002603/3.946, allocations: 15.98 kB / 3.006 GB, free: 233.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.951e-05/3.946, allocations: 15.94 kB / 3.006 GB, free: 233.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.424e-05/3.946, allocations: 19.92 kB / 3.006 GB, free: 233.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0002445/3.946, allocations: 235.1 kB / 3.007 GB, free: 233.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.3e-07/3.946, allocations: 0 / 3.007 GB, free: 233.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0007063/3.947, allocations: 167.9 kB / 3.007 GB, free: 233.1 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.001891/3.949, allocations: 1.757 MB / 3.008 GB, free: 231.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001542/3.95, allocations: 0.5655 MB / 3.009 GB, free: 230.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/3.95, allocations: 3.938 kB / 3.009 GB, free: 230.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007039/3.951, allocations: 250 kB / 3.009 GB, free: 230.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004025/3.952, allocations: 56.95 kB / 3.009 GB, free: 230.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/3.953, allocations: 1.658 MB / 3.011 GB, free: 228.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000181/3.953, allocations: 0.7677 MB / 3.012 GB, free: 227.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0001581/3.954, allocations: 25.92 kB / 3.012 GB, free: 227.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/3.954, allocations: 87.39 kB / 3.012 GB, free: 227.8 MB / 1.167 GB Notification: Performance of SimCode: time 3.8e-07/3.954, allocations: 4 kB / 3.012 GB, free: 227.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03287/3.987, allocations: 19.45 MB / 3.031 GB, free: 208.6 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001508/3.987, allocations: 252.3 kB / 3.031 GB, free: 208.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.525/6.512, allocations: 2.062 kB / 3.031 GB, free: 208.4 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal_fmu --startTime=0 --stopTime=2400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal_res.mat does not exist to compare? outputFormat=mat