Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.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.DXCoils.BaseClasses.Examples.ApparatusDryPoint,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDryPoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDryPoint",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.417/2.417, 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.001471/0.001471, allocations: 186.2 kB / 0.4902 GB, free: 2.207 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.571/1.571, allocations: 223.1 MB / 0.7992 GB, free: 14.72 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.001011/0.001011, allocations: 96.27 kB / 0.9396 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003544/0.0003542, allocations: 11.06 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2971, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.014/4.311, allocations: 1.725 GB / 2.955 GB, free: 261 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/4.312, allocations: 104.7 kB / 2.955 GB, free: 260.9 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.2049/4.516, allocations: 105.7 MB / 3.058 GB, free: 154.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.603e-06/4.516, allocations: 0 / 3.058 GB, free: 154.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001247/4.517, allocations: 20 kB / 3.058 GB, free: 154.2 MB / 1.167 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.004325/4.521, allocations: 1.886 MB / 3.06 GB, free: 152.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/4.521, allocations: 12.03 kB / 3.06 GB, free: 152.3 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001064/4.521, allocations: 50.55 kB / 3.06 GB, free: 152.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01427/4.535, allocations: 2.082 MB / 3.062 GB, free: 150.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003352/4.539, allocations: 1.324 MB / 3.063 GB, free: 148.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.77e-05/4.539, allocations: 16 kB / 3.063 GB, free: 148.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001698/4.539, allocations: 24 kB / 3.063 GB, free: 148.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004889/4.544, allocations: 1.225 MB / 3.065 GB, free: 147.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/4.544, allocations: 0 / 3.065 GB, free: 147.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.032e-05/4.544, allocations: 7.953 kB / 3.065 GB, free: 147.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/4.544, allocations: 4 kB / 3.065 GB, free: 147.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009039/4.553, allocations: 2.068 MB / 3.067 GB, free: 145.4 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01048/4.564, allocations: 3.651 MB / 3.07 GB, free: 141.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009239/4.573, allocations: 2.18 MB / 3.072 GB, free: 139.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002415/4.573, allocations: 97.08 kB / 3.072 GB, free: 139.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004577/4.578, allocations: 1.176 MB / 3.073 GB, free: 138.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=23): time 4.489e-06/4.578, allocations: 0 / 3.073 GB, free: 138.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=23): time 0.01483/4.593, allocations: 3.417 MB / 3.077 GB, free: 134.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/4.593, allocations: 110.8 kB / 3.077 GB, free: 134.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004285/4.597, allocations: 2.198 MB / 3.079 GB, free: 132.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002381/4.597, allocations: 37.7 kB / 3.079 GB, free: 132.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006649/4.598, allocations: 0.5659 MB / 3.08 GB, free: 131.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001599/4.598, allocations: 67 kB / 3.08 GB, free: 131.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/4.598, allocations: 8 kB / 3.08 GB, free: 131.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.978e-05/4.598, allocations: 326 kB / 3.08 GB, free: 131.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004779/4.603, allocations: 1.167 MB / 3.081 GB, free: 130.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004735/4.608, allocations: 1.21 MB / 3.082 GB, free: 128.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004463/4.612, allocations: 1.099 MB / 3.083 GB, free: 127.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/4.612, allocations: 3.938 kB / 3.083 GB, free: 127.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.01111/4.624, allocations: 2.85 MB / 3.086 GB, free: 124.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.016e-05/4.624, allocations: 134.4 kB / 3.086 GB, free: 124.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/4.624, allocations: 4 kB / 3.086 GB, free: 124.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002912/4.627, allocations: 0.7562 MB / 3.087 GB, free: 124 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003112/4.63, allocations: 499.4 kB / 3.088 GB, free: 123.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001977/4.632, allocations: 2.666 MB / 3.09 GB, free: 120.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00362/4.635, allocations: 463.2 kB / 3.091 GB, free: 120.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001926/4.636, allocations: 35.97 kB / 3.091 GB, free: 120.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/4.636, allocations: 0 / 3.091 GB, free: 120.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01/4.646, allocations: 2.623 MB / 3.093 GB, free: 117.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/4.646, allocations: 0 / 3.093 GB, free: 117.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002023/4.648, allocations: 0.6392 MB / 3.094 GB, free: 117 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003075/4.651, allocations: 495.3 kB / 3.094 GB, free: 116.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004409/4.655, allocations: 6.244 MB / 3.1 GB, free: 109.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003372/4.659, allocations: 451.3 kB / 3.101 GB, free: 109.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001693/4.659, allocations: 31.97 kB / 3.101 GB, free: 109.2 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,appDryPt.stage,speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled,$PRE.deaBan.y,deaBan.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 2,1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001131/4.66, allocations: 0.6829 MB / 3.102 GB, free: 108.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004346/4.66, allocations: 134.3 kB / 3.102 GB, free: 108.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009951/4.67, allocations: 2.355 MB / 3.104 GB, free: 106 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/4.67, allocations: 0 / 3.104 GB, free: 106 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/4.671, allocations: 4 kB / 3.104 GB, free: 106 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.872e-06/4.671, allocations: 3.984 kB / 3.104 GB, free: 106 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002129/4.673, allocations: 1.231 MB / 3.105 GB, free: 104.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/4.673, allocations: 0 / 3.105 GB, free: 104.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002678/4.675, allocations: 443.5 kB / 3.106 GB, free: 104.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.306e-06/4.675, allocations: 4 kB / 3.106 GB, free: 104.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.226e-05/4.675, allocations: 19.97 kB / 3.106 GB, free: 104.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.199e-06/4.675, allocations: 7.938 kB / 3.106 GB, free: 104.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/4.675, allocations: 0 / 3.106 GB, free: 104.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009245/4.685, allocations: 2.263 MB / 3.108 GB, free: 101.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00125/4.686, allocations: 423.1 kB / 3.108 GB, free: 101.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004771/4.687, allocations: 8 kB / 3.108 GB, free: 101.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002967/4.69, allocations: 403.5 kB / 3.109 GB, free: 101.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/4.69, allocations: 23.92 kB / 3.109 GB, free: 101.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.862e-05/4.69, allocations: 27.97 kB / 3.109 GB, free: 101.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003164/4.693, allocations: 1.711 MB / 3.11 GB, free: 99.35 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.9e-07/4.693, allocations: 0 / 3.11 GB, free: 99.35 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002544/4.695, allocations: 0.5896 MB / 3.111 GB, free: 98.76 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,appDryPt.stage,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,deaBan.y) * Number of discrete states: 7 (deaBan.y,speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * 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.01089/4.706, allocations: 3.698 MB / 3.115 GB, free: 95.04 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.01607/4.723, allocations: 4.523 MB / 3.119 GB, free: 90.43 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.263e-06/4.723, allocations: 4 kB / 3.119 GB, free: 90.43 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.004643/4.727, allocations: 1.14 MB / 3.12 GB, free: 89.28 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002176/4.729, allocations: 323.4 kB / 3.12 GB, free: 88.96 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02313/4.753, allocations: 5.916 MB / 3.126 GB, free: 82.98 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009372/4.754, allocations: 1.407 MB / 3.128 GB, free: 81.55 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002028/4.756, allocations: 390.7 kB / 3.128 GB, free: 81.16 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009221/4.757, allocations: 439.2 kB / 3.128 GB, free: 80.73 MB / 1.167 GB Notification: Performance of SimCode: time 1.133e-06/4.757, allocations: 3.938 kB / 3.128 GB, free: 80.73 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07093/4.828, allocations: 50.07 MB / 3.177 GB, free: 31 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001538/4.828, allocations: 242.6 kB / 3.177 GB, free: 30.72 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.519/8.347, allocations: 0 / 3.177 GB, free: 30.72 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDryPoint_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDryPoint.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint_res.mat does not exist to compare? outputFormat=mat