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.412/2.412, allocations: 393.5 MB / 408.4 MB, free: 10.96 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.001595/0.001595, allocations: 187.3 kB / 0.4901 GB, free: 2.242 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.657/1.657, allocations: 223.1 MB / 0.7992 GB, free: 14.76 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.001045/0.001045, allocations: 96.14 kB / 0.9396 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00039/0.0003899, allocations: 14.41 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3761/0.3765, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2263/0.6029, allocations: 152.5 MB / 1.378 GB, free: 0.9805 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002978/0.6032, allocations: 87.94 kB / 1.378 GB, free: 0.8945 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02343/0.6267, allocations: 7.678 MB / 1.386 GB, free: 9.191 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.014e-06/0.6267, allocations: 0 / 1.386 GB, free: 9.191 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.828e-05/0.6268, allocations: 4 kB / 1.386 GB, free: 9.188 MB / 0.8855 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.00126/0.628, allocations: 0.6075 MB / 1.386 GB, free: 8.527 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.75e-05/0.6281, allocations: 8.562 kB / 1.386 GB, free: 8.52 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.228e-05/0.6282, allocations: 54.55 kB / 1.386 GB, free: 8.457 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000246/0.6284, allocations: 31.72 kB / 1.386 GB, free: 8.426 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005907/0.629, allocations: 294.6 kB / 1.387 GB, free: 8.098 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.6291, allocations: 12.28 kB / 1.387 GB, free: 8.086 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.318e-05/0.6291, allocations: 16 kB / 1.387 GB, free: 8.07 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000551/0.6297, allocations: 248.6 kB / 1.387 GB, free: 7.805 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.6297, allocations: 4 kB / 1.387 GB, free: 7.801 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/0.6297, allocations: 4 kB / 1.387 GB, free: 7.797 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.6297, allocations: 4 kB / 1.387 GB, free: 7.793 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006734/0.6304, allocations: 243.8 kB / 1.387 GB, free: 7.555 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00138/0.6318, allocations: 0.9657 MB / 1.388 GB, free: 6.52 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000851/0.6327, allocations: 261.2 kB / 1.388 GB, free: 6.246 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.91e-05/0.6327, allocations: 4 kB / 1.388 GB, free: 6.242 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.6328, allocations: 34.56 kB / 1.389 GB, free: 6.199 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=16): time 2.425e-06/0.6328, allocations: 0 / 1.389 GB, free: 6.199 MB / 0.8855 GB Notification: Performance of matching and sorting (n=16): time 0.001269/0.634, allocations: 413.3 kB / 1.389 GB, free: 5.789 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.158e-05/0.6341, allocations: 77.11 kB / 1.389 GB, free: 5.695 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002726/0.6344, allocations: 242.1 kB / 1.389 GB, free: 5.449 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/0.6344, allocations: 25.7 kB / 1.389 GB, free: 5.418 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.6345, allocations: 156.2 kB / 1.389 GB, free: 5.258 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.315e-05/0.6346, allocations: 59.19 kB / 1.389 GB, free: 5.199 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.319e-05/0.6346, allocations: 4 kB / 1.389 GB, free: 5.195 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.6348, allocations: 346.6 kB / 1.39 GB, free: 4.848 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003365/0.6351, allocations: 115.9 kB / 1.39 GB, free: 4.734 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003518/0.6355, allocations: 163.3 kB / 1.39 GB, free: 4.555 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003481/0.6358, allocations: 115.9 kB / 1.39 GB, free: 4.441 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.6358, allocations: 3.938 kB / 1.39 GB, free: 4.438 MB / 0.8855 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008819/0.6367, allocations: 337 kB / 1.39 GB, free: 4.102 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.6368, allocations: 4 kB / 1.39 GB, free: 4.098 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.6368, allocations: 4 kB / 1.39 GB, free: 4.094 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.427e-05/0.6368, allocations: 8.125 kB / 1.39 GB, free: 4.086 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000321/0.6371, allocations: 71.88 kB / 1.391 GB, free: 4.016 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.6371, allocations: 0 / 1.391 GB, free: 4.016 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002897/0.6374, allocations: 51.81 kB / 1.391 GB, free: 3.965 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.626e-05/0.6375, allocations: 15.98 kB / 1.391 GB, free: 3.949 MB / 0.8855 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 () * Number of clocked 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 0.0001537/0.6376, allocations: 133.7 kB / 1.391 GB, free: 3.809 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/0.6378, allocations: 23.72 kB / 1.391 GB, free: 3.785 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008494/0.6386, allocations: 335.8 kB / 1.391 GB, free: 3.453 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.6387, allocations: 4 kB / 1.391 GB, free: 3.449 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.6387, allocations: 4 kB / 1.391 GB, free: 3.445 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.6387, allocations: 288 / 1.391 GB, free: 3.445 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004313/0.6391, allocations: 297.3 kB / 1.391 GB, free: 3.105 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.6391, allocations: 0 / 1.391 GB, free: 3.105 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002801/0.6394, allocations: 71.81 kB / 1.391 GB, free: 3.035 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/0.6394, allocations: 4 kB / 1.391 GB, free: 3.031 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.224e-05/0.6395, allocations: 8 kB / 1.391 GB, free: 3.023 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.6395, allocations: 0 / 1.391 GB, free: 3.023 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.6395, allocations: 0 / 1.391 GB, free: 3.023 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008724/0.6404, allocations: 488.7 kB / 1.392 GB, free: 2.523 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 9.111e-05/0.6405, allocations: 112.7 kB / 1.392 GB, free: 2.395 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.604e-05/0.6405, allocations: 4 kB / 1.392 GB, free: 2.391 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003163/0.6408, allocations: 39.97 kB / 1.392 GB, free: 2.352 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.867e-05/0.6409, allocations: 19.91 kB / 1.392 GB, free: 2.332 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.6409, allocations: 8 kB / 1.392 GB, free: 2.324 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00018/0.6411, allocations: 186 kB / 1.392 GB, free: 2.145 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6411, allocations: 0 / 1.392 GB, free: 2.145 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003925/0.6415, allocations: 64.16 kB / 1.392 GB, free: 2.082 MB / 0.8855 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 () * Number of clocked 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.001276/0.6428, allocations: 1.119 MB / 1.393 GB, free: 0.9297 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007588/0.6436, allocations: 261.2 kB / 1.394 GB, free: 0.6758 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.6436, allocations: 0 / 1.394 GB, free: 0.6758 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003641/0.644, allocations: 143.9 kB / 1.394 GB, free: 0.5352 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004814/0.6445, allocations: 69.28 kB / 1.394 GB, free: 476 kB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.6461, allocations: 1.688 MB / 1.396 GB, free: 14.7 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.6465, allocations: 0.7599 MB / 1.396 GB, free: 13.91 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001926/0.6467, allocations: 30.28 kB / 1.396 GB, free: 13.87 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.6468, allocations: 83.41 kB / 1.396 GB, free: 13.79 MB / 0.9011 GB Notification: Performance of SimCode: time 5.91e-07/0.6468, allocations: 0 / 1.396 GB, free: 13.79 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02057/0.6674, allocations: 5.733 MB / 1.402 GB, free: 8.277 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002074/0.6676, allocations: 190.5 kB / 1.402 GB, free: 8.043 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.226/2.894, allocations: 1.719 kB / 1.402 GB, free: 8.043 MB / 0.9011 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