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.314/2.314, allocations: 387.1 MB / 399.7 MB, free: 9.445 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.001242/0.001243, allocations: 169 kB / 492.3 MB, free: 0.6133 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.651/1.651, allocations: 221.3 MB / 0.7871 GB, free: 12.87 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.001204/0.001204, allocations: 91.94 kB / 0.9267 GB, free: 13.94 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.727e-05/3.753e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3106, allocations: 142.3 MB / 1.212 GB, free: 38.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.103/1.414, allocations: 151.1 MB / 1.36 GB, free: 19.11 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003421/1.414, allocations: 83.28 kB / 1.36 GB, free: 19.11 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01598/1.43, allocations: 5.337 MB / 1.365 GB, free: 34.5 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.274e-06/1.43, allocations: 0 / 1.365 GB, free: 34.5 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.212e-05/1.43, allocations: 3.938 kB / 1.365 GB, free: 34.5 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.0004154/1.431, allocations: 402.2 kB / 1.366 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/1.431, allocations: 11.72 kB / 1.366 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.29e-05/1.431, allocations: 30.56 kB / 1.366 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/1.431, allocations: 11.11 kB / 1.366 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/1.431, allocations: 194.3 kB / 1.366 GB, free: 33.86 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/1.431, allocations: 11.95 kB / 1.366 GB, free: 33.85 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/1.431, allocations: 0 / 1.366 GB, free: 33.85 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/1.431, allocations: 60.66 kB / 1.366 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/1.431, allocations: 3.906 kB / 1.366 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/1.431, allocations: 0 / 1.366 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/1.431, allocations: 0 / 1.366 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.144e-05/1.431, allocations: 24.98 kB / 1.366 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004452/1.432, allocations: 311.2 kB / 1.366 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.056e-05/1.432, allocations: 43.42 kB / 1.366 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.887e-05/1.432, allocations: 24.23 kB / 1.366 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/1.432, allocations: 0 / 1.366 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/1.432, allocations: 33.5 kB / 1.366 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 1.754e-06/1.432, allocations: 4 kB / 1.367 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5): time 0.00021/1.432, allocations: 74.59 kB / 1.367 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/1.432, allocations: 51.41 kB / 1.367 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.837e-05/1.432, allocations: 120 kB / 1.367 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/1.432, allocations: 25.7 kB / 1.367 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.087e-05/1.432, allocations: 98.02 kB / 1.367 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/1.432, allocations: 18.91 kB / 1.367 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-06/1.432, allocations: 0 / 1.367 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.431e-05/1.433, allocations: 321.6 kB / 1.367 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.108e-05/1.433, allocations: 11.38 kB / 1.367 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.785e-05/1.433, allocations: 20.53 kB / 1.367 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.825e-05/1.433, allocations: 11.38 kB / 1.367 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.433, allocations: 7.906 kB / 1.367 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000126/1.433, allocations: 71.42 kB / 1.367 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/1.433, allocations: 7.719 kB / 1.367 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/1.433, allocations: 0 / 1.367 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/1.433, allocations: 0 / 1.367 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/1.433, allocations: 14.25 kB / 1.367 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/1.433, allocations: 11.05 kB / 1.367 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.771e-05/1.433, allocations: 7.719 kB / 1.367 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/1.433, allocations: 0 / 1.367 GB, free: 32.77 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 6.635e-05/1.433, allocations: 110 kB / 1.367 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.352e-05/1.433, allocations: 10.23 kB / 1.367 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001706/1.433, allocations: 83.62 kB / 1.368 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/1.433, allocations: 0 / 1.368 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/1.433, allocations: 4 kB / 1.368 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/1.433, allocations: 3.953 kB / 1.368 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/1.434, allocations: 186.7 kB / 1.368 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/1.434, allocations: 320 / 1.368 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.046e-05/1.434, allocations: 14.7 kB / 1.368 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/1.434, allocations: 0 / 1.368 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/1.434, allocations: 6.859 kB / 1.368 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/1.434, allocations: 0 / 1.368 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.434, allocations: 3.812 kB / 1.368 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001464/1.434, allocations: 180.2 kB / 1.368 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.549e-05/1.434, allocations: 81.02 kB / 1.368 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/1.434, allocations: 0 / 1.368 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.382e-05/1.434, allocations: 14.16 kB / 1.368 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.182e-05/1.434, allocations: 5.578 kB / 1.368 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/1.434, allocations: 3.875 kB / 1.368 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.36e-05/1.434, allocations: 97.83 kB / 1.368 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.434, allocations: 7.875 kB / 1.368 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002179/1.434, allocations: 19.47 kB / 1.368 GB, free: 32.09 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.0004068/1.435, allocations: 0.7299 MB / 1.369 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.00011/1.435, allocations: 35.38 kB / 1.369 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/1.435, allocations: 0 / 1.369 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.338e-05/1.435, allocations: 29.69 kB / 1.369 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/1.435, allocations: 10.11 kB / 1.369 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004012/1.436, allocations: 131.8 kB / 1.369 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/1.436, allocations: 0.6944 MB / 1.37 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.363e-05/1.436, allocations: 18.91 kB / 1.37 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.75e-05/1.436, allocations: 23.83 kB / 1.37 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.436, allocations: 0 / 1.37 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01462/1.451, allocations: 1.969 MB / 1.372 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001619/1.451, allocations: 170 kB / 1.372 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.63/3.081, allocations: 3.938 kB / 1.372 GB, free: 30.17 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