Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.HADryCoil,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.6/2.6, allocations: 390.3 MB / 402.8 MB, free: 6.672 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.00129/0.00129, allocations: 180.8 kB / 496.1 MB, free: 12.86 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.584/1.584, allocations: 221.3 MB / 0.7915 GB, free: 5.391 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.001208/0.001207, allocations: 94.56 kB / 0.9317 GB, free: 5.719 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.555e-05/5.575e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3289, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.082/1.411, allocations: 152.5 MB / 1.368 GB, free: 1.645 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003369/1.411, allocations: 85.25 kB / 1.368 GB, free: 1.594 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02339/1.435, allocations: 7.658 MB / 1.375 GB, free: 11.07 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.763e-06/1.435, allocations: 0 / 1.375 GB, free: 11.07 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.996e-05/1.435, allocations: 4 kB / 1.375 GB, free: 11.06 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.0009835/1.436, allocations: 0.5519 MB / 1.376 GB, free: 10.48 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/1.436, allocations: 8.031 kB / 1.376 GB, free: 10.47 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.502e-05/1.436, allocations: 48.48 kB / 1.376 GB, free: 10.43 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002269/1.436, allocations: 35.62 kB / 1.376 GB, free: 10.39 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005149/1.437, allocations: 298.8 kB / 1.376 GB, free: 10.07 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/1.437, allocations: 10.34 kB / 1.376 GB, free: 10.07 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.724e-05/1.437, allocations: 15.12 kB / 1.376 GB, free: 10.06 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003114/1.437, allocations: 185.4 kB / 1.376 GB, free: 9.895 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/1.437, allocations: 3.938 kB / 1.376 GB, free: 9.891 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/1.437, allocations: 3.75 kB / 1.376 GB, free: 9.891 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/1.437, allocations: 4 kB / 1.376 GB, free: 9.887 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002135/1.437, allocations: 107.5 kB / 1.377 GB, free: 9.812 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001382/1.439, allocations: 0.9679 MB / 1.377 GB, free: 8.863 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005718/1.439, allocations: 196.1 kB / 1.378 GB, free: 8.695 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/1.439, allocations: 58.5 kB / 1.378 GB, free: 8.648 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/1.439, allocations: 320 / 1.378 GB, free: 8.648 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/1.439, allocations: 49.22 kB / 1.378 GB, free: 8.594 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.072e-06/1.439, allocations: 0 / 1.378 GB, free: 8.594 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0004463/1.44, allocations: 151.5 kB / 1.378 GB, free: 8.469 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/1.44, allocations: 81.11 kB / 1.378 GB, free: 8.371 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002604/1.44, allocations: 229.6 kB / 1.378 GB, free: 8.176 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/1.44, allocations: 33.14 kB / 1.378 GB, free: 8.141 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/1.44, allocations: 157.5 kB / 1.378 GB, free: 8.016 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.669e-05/1.44, allocations: 57.67 kB / 1.378 GB, free: 7.965 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.401e-05/1.44, allocations: 6.688 kB / 1.378 GB, free: 7.961 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001589/1.441, allocations: 337.6 kB / 1.379 GB, free: 7.633 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.95e-05/1.441, allocations: 50.12 kB / 1.379 GB, free: 7.602 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/1.441, allocations: 88.5 kB / 1.379 GB, free: 7.512 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001115/1.441, allocations: 53.55 kB / 1.379 GB, free: 7.477 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/1.441, allocations: 0 / 1.379 GB, free: 7.477 MB / 0.8386 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003613/1.441, allocations: 197.3 kB / 1.379 GB, free: 7.312 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/1.441, allocations: 4 kB / 1.379 GB, free: 7.309 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/1.441, allocations: 0 / 1.379 GB, free: 7.309 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/1.441, allocations: 4 kB / 1.379 GB, free: 7.305 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003152/1.442, allocations: 79.16 kB / 1.379 GB, free: 7.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/1.442, allocations: 4 kB / 1.379 GB, free: 7.227 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002431/1.442, allocations: 47.38 kB / 1.379 GB, free: 7.184 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/1.442, allocations: 8 kB / 1.379 GB, free: 7.176 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 8.777e-05/1.442, allocations: 119.7 kB / 1.379 GB, free: 7.059 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/1.442, allocations: 23.81 kB / 1.379 GB, free: 7.035 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003808/1.443, allocations: 207.7 kB / 1.38 GB, free: 6.875 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/1.443, allocations: 4 kB / 1.38 GB, free: 6.871 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/1.443, allocations: 0 / 1.38 GB, free: 6.871 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/1.443, allocations: 7.984 kB / 1.38 GB, free: 6.863 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003824/1.443, allocations: 302.7 kB / 1.38 GB, free: 6.559 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/1.443, allocations: 0 / 1.38 GB, free: 6.559 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002947/1.443, allocations: 67.39 kB / 1.38 GB, free: 6.496 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/1.443, allocations: 4 kB / 1.38 GB, free: 6.492 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/1.443, allocations: 8 kB / 1.38 GB, free: 6.484 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/1.443, allocations: 4 kB / 1.38 GB, free: 6.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/1.443, allocations: 0 / 1.38 GB, free: 6.48 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004274/1.444, allocations: 356.8 kB / 1.38 GB, free: 6.148 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.898e-05/1.444, allocations: 103.9 kB / 1.38 GB, free: 6.031 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.3e-05/1.444, allocations: 3.438 kB / 1.38 GB, free: 6.031 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002773/1.444, allocations: 42.83 kB / 1.38 GB, free: 5.992 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.139e-05/1.444, allocations: 23.28 kB / 1.38 GB, free: 5.973 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/1.444, allocations: 7.984 kB / 1.381 GB, free: 5.965 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001686/1.445, allocations: 182.4 kB / 1.381 GB, free: 5.82 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.7e-07/1.445, allocations: 4 kB / 1.381 GB, free: 5.816 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003343/1.445, allocations: 59.53 kB / 1.381 GB, free: 5.762 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.000843/1.446, allocations: 0.973 MB / 1.382 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002723/1.446, allocations: 139.5 kB / 1.382 GB, free: 4.699 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.446, allocations: 0 / 1.382 GB, free: 4.699 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001298/1.446, allocations: 70.88 kB / 1.382 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004661/1.447, allocations: 68 kB / 1.382 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008749/1.447, allocations: 364.4 kB / 1.382 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/1.448, allocations: 0.7596 MB / 1.383 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001492/1.448, allocations: 26.08 kB / 1.383 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/1.448, allocations: 84.41 kB / 1.383 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of SimCode: time 1.883e-06/1.448, allocations: 0 / 1.383 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01963/1.468, allocations: 5.803 MB / 1.389 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002047/1.468, allocations: 168.5 kB / 1.389 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.075/3.543, allocations: 0 / 1.389 GB, free: 13.61 MB / 0.8542 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat does not exist to compare? outputFormat=mat