Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.313/2.313, allocations: 387.4 MB / 394.9 MB, free: 13.43 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.001587/0.001587, allocations: 187.4 kB / 487.4 MB, free: 5.059 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.73/1.73, allocations: 221.5 MB / 0.7824 GB, free: 0.9961 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 111.2 kB / 0.9219 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.711e-05/2.715e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3195, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.052/1.372, allocations: 150.5 MB / 1.353 GB, free: 17.82 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002197/1.372, allocations: 83.53 kB / 1.353 GB, free: 17.82 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01524/1.387, allocations: 5.322 MB / 1.358 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.823e-06/1.387, allocations: 0 / 1.358 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.277e-05/1.388, allocations: 0 / 1.358 GB, free: 33.21 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.0004597/1.388, allocations: 402.8 kB / 1.359 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/1.388, allocations: 7.719 kB / 1.359 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/1.388, allocations: 11.72 kB / 1.359 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/1.388, allocations: 194.9 kB / 1.359 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/1.388, allocations: 0 / 1.359 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/1.388, allocations: 6.375 kB / 1.359 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.463e-05/1.389, allocations: 25.5 kB / 1.359 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.95e-05/1.389, allocations: 50.77 kB / 1.359 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/1.389, allocations: 4 kB / 1.359 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/1.389, allocations: 0 / 1.359 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/1.389, allocations: 0 / 1.359 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004652/1.389, allocations: 289.7 kB / 1.359 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.397e-05/1.389, allocations: 43.61 kB / 1.359 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.414e-05/1.389, allocations: 19.77 kB / 1.359 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/1.389, allocations: 0 / 1.359 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/1.389, allocations: 36.06 kB / 1.359 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 1.563e-06/1.389, allocations: 0 / 1.359 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5): time 0.0002013/1.39, allocations: 71.41 kB / 1.359 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.771e-05/1.39, allocations: 51.41 kB / 1.359 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/1.39, allocations: 112.6 kB / 1.36 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/1.39, allocations: 29.64 kB / 1.36 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.616e-05/1.39, allocations: 97.5 kB / 1.36 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/1.39, allocations: 20.62 kB / 1.36 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-06/1.39, allocations: 0 / 1.36 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001346/1.39, allocations: 318.7 kB / 1.36 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.825e-05/1.39, allocations: 16.11 kB / 1.36 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.216e-05/1.39, allocations: 15.06 kB / 1.36 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.335e-05/1.39, allocations: 16.98 kB / 1.36 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/1.39, allocations: 0 / 1.36 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001118/1.39, allocations: 65.91 kB / 1.36 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/1.39, allocations: 7.688 kB / 1.36 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/1.39, allocations: 0 / 1.36 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/1.39, allocations: 0 / 1.36 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/1.39, allocations: 14.45 kB / 1.36 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/1.39, allocations: 0 / 1.36 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.747e-05/1.39, allocations: 17.08 kB / 1.36 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/1.39, allocations: 5.406 kB / 1.36 GB, free: 31.56 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.726e-05/1.391, allocations: 109.9 kB / 1.36 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000124/1.391, allocations: 67.66 kB / 1.36 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.377e-05/1.391, allocations: 7.844 kB / 1.36 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001553/1.391, allocations: 78.7 kB / 1.36 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/1.391, allocations: 1.594 kB / 1.36 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/1.391, allocations: 8.312 kB / 1.36 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/1.391, allocations: 3.953 kB / 1.36 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/1.391, allocations: 167.9 kB / 1.361 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/1.391, allocations: 0 / 1.361 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.835e-05/1.391, allocations: 17.25 kB / 1.361 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/1.391, allocations: 0 / 1.361 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/1.391, allocations: 1.688 kB / 1.361 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/1.391, allocations: 0 / 1.361 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/1.391, allocations: 0 / 1.361 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001648/1.391, allocations: 173.5 kB / 1.361 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.663e-05/1.391, allocations: 81.02 kB / 1.361 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/1.391, allocations: 5.531 kB / 1.361 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.059e-05/1.391, allocations: 9.188 kB / 1.361 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.544e-05/1.391, allocations: 1.594 kB / 1.361 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/1.392, allocations: 3.844 kB / 1.361 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.461e-05/1.392, allocations: 98.72 kB / 1.361 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.392, allocations: 7.938 kB / 1.361 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002281/1.392, allocations: 23.22 kB / 1.361 GB, free: 30.87 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.0005692/1.392, allocations: 0.7135 MB / 1.362 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001117/1.393, allocations: 34.98 kB / 1.362 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.393, allocations: 0 / 1.362 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.427e-05/1.393, allocations: 28.06 kB / 1.362 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/1.393, allocations: 8.172 kB / 1.362 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004494/1.393, allocations: 130.4 kB / 1.362 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/1.394, allocations: 0.6941 MB / 1.363 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.758e-05/1.394, allocations: 4.188 kB / 1.363 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.003e-05/1.394, allocations: 25.05 kB / 1.363 GB, free: 29.37 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.394, allocations: 0 / 1.363 GB, free: 29.37 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02209/1.416, allocations: 1.654 MB / 1.364 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001739/1.416, allocations: 151 kB / 1.364 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.561/2.977, allocations: 0 / 1.364 GB, free: 29.08 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat does not exist to compare? outputFormat=mat