Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.HADryCoil,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",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.167/2.167, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001278/0.001278, allocations: 188.4 kB / 487.4 MB, free: 5.035 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.49/1.49, allocations: 221.5 MB / 0.7824 GB, free: 0.9219 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.000927/0.0009267, allocations: 98.59 kB / 0.9219 GB, free: 2.141 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 3.071e-05/3.049e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3227, allocations: 142.4 MB / 1.206 GB, free: 43.81 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.106/1.429, allocations: 151 MB / 1.353 GB, free: 18.05 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002336/1.429, allocations: 81.2 kB / 1.354 GB, free: 18.05 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02167/1.451, allocations: 7.605 MB / 1.361 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.214e-06/1.451, allocations: 0 / 1.361 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.143e-05/1.451, allocations: 3.875 kB / 1.361 GB, free: 33.24 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001022/1.452, allocations: 0.5604 MB / 1.362 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/1.452, allocations: 7.688 kB / 1.362 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002713/1.452, allocations: 39 kB / 1.362 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004662/1.453, allocations: 293.1 kB / 1.362 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/1.453, allocations: 7.688 kB / 1.362 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/1.453, allocations: 7.844 kB / 1.362 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001787/1.453, allocations: 100.2 kB / 1.362 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002227/1.453, allocations: 161.1 kB / 1.362 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/1.453, allocations: 0 / 1.362 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/1.453, allocations: 0 / 1.362 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/1.453, allocations: 7.781 kB / 1.362 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/1.454, allocations: 0.9161 MB / 1.363 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004565/1.455, allocations: 187.8 kB / 1.363 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.255e-05/1.455, allocations: 60.61 kB / 1.363 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.875e-05/1.455, allocations: 0 / 1.363 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.555e-05/1.455, allocations: 30.56 kB / 1.363 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.833e-06/1.455, allocations: 4 kB / 1.363 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0003823/1.455, allocations: 154.5 kB / 1.363 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/1.455, allocations: 80.86 kB / 1.364 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/1.455, allocations: 217.5 kB / 1.364 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/1.455, allocations: 25.7 kB / 1.364 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.358e-05/1.456, allocations: 162 kB / 1.364 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/1.456, allocations: 52.25 kB / 1.364 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.001e-05/1.456, allocations: 0 / 1.364 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001328/1.456, allocations: 339.2 kB / 1.364 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.468e-05/1.456, allocations: 45.12 kB / 1.364 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.388e-05/1.456, allocations: 85.91 kB / 1.364 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/1.456, allocations: 54.5 kB / 1.364 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.456, allocations: 0 / 1.364 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003146/1.456, allocations: 180.3 kB / 1.365 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/1.456, allocations: 7.688 kB / 1.365 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/1.456, allocations: 0 / 1.365 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/1.456, allocations: 3.812 kB / 1.365 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002934/1.457, allocations: 75.03 kB / 1.365 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/1.457, allocations: 2.625 kB / 1.365 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002267/1.457, allocations: 45.45 kB / 1.365 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/1.457, allocations: 15.08 kB / 1.365 GB, free: 30.79 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 7.833e-05/1.457, allocations: 104.9 kB / 1.365 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003/1.457, allocations: 157.1 kB / 1.365 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.149e-05/1.458, allocations: 27.12 kB / 1.365 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003308/1.458, allocations: 178.4 kB / 1.365 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/1.458, allocations: 3.875 kB / 1.365 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/1.458, allocations: 4 kB / 1.365 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/1.458, allocations: 3.328 kB / 1.365 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002891/1.458, allocations: 257.4 kB / 1.365 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/1.458, allocations: 3.953 kB / 1.365 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002613/1.458, allocations: 57.33 kB / 1.366 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/1.459, allocations: 3.875 kB / 1.366 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/1.459, allocations: 10.7 kB / 1.366 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/1.459, allocations: 3.875 kB / 1.366 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.459, allocations: 0 / 1.366 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003737/1.459, allocations: 342.2 kB / 1.366 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.527e-05/1.459, allocations: 107 kB / 1.366 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/1.459, allocations: 3.938 kB / 1.366 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002663/1.459, allocations: 39.39 kB / 1.366 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.711e-05/1.459, allocations: 16.33 kB / 1.366 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/1.459, allocations: 11.59 kB / 1.366 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001251/1.46, allocations: 164.4 kB / 1.366 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.46, allocations: 4 kB / 1.366 GB, free: 29.94 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003392/1.46, allocations: 58.41 kB / 1.366 GB, free: 29.93 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0007269/1.461, allocations: 0.9657 MB / 1.367 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002172/1.461, allocations: 122.9 kB / 1.367 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.461, allocations: 0 / 1.367 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.242e-05/1.461, allocations: 63.31 kB / 1.367 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004472/1.461, allocations: 71.28 kB / 1.367 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007708/1.462, allocations: 344.5 kB / 1.368 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/1.462, allocations: 0.7578 MB / 1.369 GB, free: 28.17 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001457/1.463, allocations: 27.39 kB / 1.369 GB, free: 28.17 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/1.463, allocations: 78.95 kB / 1.369 GB, free: 28.16 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.463, allocations: 0 / 1.369 GB, free: 28.16 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02353/1.486, allocations: 5.261 MB / 1.374 GB, free: 27.86 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001744/1.487, allocations: 153.3 kB / 1.374 GB, free: 27.66 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.999/3.486, allocations: 0 / 1.374 GB, free: 27.66 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat does not exist to compare? outputFormat=mat