Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",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.41/2.41, allocations: 390.3 MB / 402.8 MB, free: 6.695 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.001255/0.001255, allocations: 172.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.594/1.594, allocations: 221.3 MB / 0.7915 GB, free: 5.402 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.001178/0.001178, allocations: 91.94 kB / 0.9317 GB, free: 5.723 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.857e-05/3.86e-05, allocations: 7.984 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3202, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.102/1.422, allocations: 152 MB / 1.367 GB, free: 2.141 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/1.423, allocations: 85.78 kB / 1.367 GB, free: 2.094 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01672/1.44, allocations: 5.354 MB / 1.373 GB, free: 13.55 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.923e-06/1.44, allocations: 0 / 1.373 GB, free: 13.55 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.471e-05/1.44, allocations: 3.984 kB / 1.373 GB, free: 13.54 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005365/1.44, allocations: 402 kB / 1.373 GB, free: 13.11 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/1.44, allocations: 8.031 kB / 1.373 GB, free: 13.11 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.24e-05/1.44, allocations: 34.55 kB / 1.373 GB, free: 13.06 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001199/1.44, allocations: 15.36 kB / 1.373 GB, free: 13.05 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/1.441, allocations: 192.2 kB / 1.373 GB, free: 12.82 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/1.441, allocations: 7.5 kB / 1.373 GB, free: 12.82 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/1.441, allocations: 4 kB / 1.373 GB, free: 12.82 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/1.441, allocations: 52.36 kB / 1.373 GB, free: 12.77 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/1.441, allocations: 0 / 1.373 GB, free: 12.77 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/1.441, allocations: 7.438 kB / 1.373 GB, free: 12.76 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/1.441, allocations: 0 / 1.373 GB, free: 12.76 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.773e-05/1.441, allocations: 26.39 kB / 1.373 GB, free: 12.74 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000544/1.442, allocations: 309 kB / 1.374 GB, free: 12.41 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/1.442, allocations: 49.02 kB / 1.374 GB, free: 12.36 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.443e-05/1.442, allocations: 19.98 kB / 1.374 GB, free: 12.35 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/1.442, allocations: 0 / 1.374 GB, free: 12.35 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/1.442, allocations: 30.56 kB / 1.374 GB, free: 12.31 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 8.32e-07/1.442, allocations: 4 kB / 1.374 GB, free: 12.3 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5): time 0.0002582/1.442, allocations: 72.23 kB / 1.374 GB, free: 12.24 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/1.442, allocations: 58.97 kB / 1.374 GB, free: 12.17 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/1.442, allocations: 117.6 kB / 1.374 GB, free: 12.05 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/1.442, allocations: 25.7 kB / 1.374 GB, free: 12.02 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.954e-05/1.442, allocations: 95 kB / 1.374 GB, free: 11.93 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.763e-05/1.442, allocations: 19.09 kB / 1.374 GB, free: 11.92 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.003e-06/1.442, allocations: 4 kB / 1.374 GB, free: 11.91 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001504/1.443, allocations: 322 kB / 1.374 GB, free: 11.59 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.583e-05/1.443, allocations: 14.62 kB / 1.374 GB, free: 11.59 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.034e-05/1.443, allocations: 15.5 kB / 1.374 GB, free: 11.57 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.309e-05/1.443, allocations: 15.73 kB / 1.374 GB, free: 11.56 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/1.443, allocations: 0 / 1.374 GB, free: 11.56 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001274/1.443, allocations: 72 kB / 1.374 GB, free: 11.5 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/1.443, allocations: 4 kB / 1.374 GB, free: 11.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/1.443, allocations: 0 / 1.374 GB, free: 11.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/1.443, allocations: 0 / 1.374 GB, free: 11.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/1.443, allocations: 27.88 kB / 1.374 GB, free: 11.47 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/1.443, allocations: 0 / 1.374 GB, free: 11.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.89e-05/1.443, allocations: 11.91 kB / 1.374 GB, free: 11.46 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/1.443, allocations: 7.969 kB / 1.375 GB, free: 11.45 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 8.662e-05/1.443, allocations: 108.9 kB / 1.375 GB, free: 11.34 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.911e-05/1.443, allocations: 3.906 kB / 1.375 GB, free: 11.34 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001822/1.443, allocations: 81.14 kB / 1.375 GB, free: 11.27 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/1.444, allocations: 7.984 kB / 1.375 GB, free: 11.26 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/1.444, allocations: 3.953 kB / 1.375 GB, free: 11.25 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/1.444, allocations: 0 / 1.375 GB, free: 11.25 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002207/1.444, allocations: 180.1 kB / 1.375 GB, free: 11.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/1.444, allocations: 3.938 kB / 1.375 GB, free: 11.04 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.618e-05/1.444, allocations: 23.92 kB / 1.375 GB, free: 11.01 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/1.444, allocations: 0 / 1.375 GB, free: 11.01 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/1.444, allocations: 2.438 kB / 1.375 GB, free: 11.01 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/1.444, allocations: 0 / 1.375 GB, free: 11.01 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.444, allocations: 3.984 kB / 1.375 GB, free: 11.01 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001963/1.444, allocations: 176.8 kB / 1.375 GB, free: 10.83 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.549e-05/1.444, allocations: 85.02 kB / 1.375 GB, free: 10.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/1.444, allocations: 3.062 kB / 1.375 GB, free: 10.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.676e-05/1.444, allocations: 7.984 kB / 1.375 GB, free: 10.72 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.974e-05/1.444, allocations: 7.938 kB / 1.375 GB, free: 10.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/1.444, allocations: 0 / 1.375 GB, free: 10.71 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.797e-05/1.444, allocations: 107.4 kB / 1.375 GB, free: 10.62 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.304e-06/1.444, allocations: 0 / 1.375 GB, free: 10.62 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002443/1.445, allocations: 31.02 kB / 1.375 GB, free: 10.59 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0006295/1.445, allocations: 0.7185 MB / 1.376 GB, free: 9.855 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001349/1.445, allocations: 42.5 kB / 1.376 GB, free: 9.828 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/1.445, allocations: 4 kB / 1.376 GB, free: 9.824 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.359e-05/1.446, allocations: 23.17 kB / 1.376 GB, free: 9.805 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002212/1.446, allocations: 7.375 kB / 1.376 GB, free: 9.801 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00045/1.446, allocations: 133 kB / 1.376 GB, free: 9.645 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/1.447, allocations: 0.6933 MB / 1.377 GB, free: 8.926 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.537e-05/1.447, allocations: 12.17 kB / 1.377 GB, free: 8.914 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.87e-05/1.447, allocations: 22.75 kB / 1.377 GB, free: 8.906 MB / 0.8386 GB Notification: Performance of SimCode: time 5.61e-07/1.447, allocations: 0 / 1.377 GB, free: 8.906 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01483/1.461, allocations: 1.996 MB / 1.379 GB, free: 7.094 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002617/1.462, allocations: 174.1 kB / 1.379 GB, free: 6.867 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.591/3.053, allocations: 0 / 1.379 GB, free: 6.867 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat does not exist to compare? outputFormat=mat