Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.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.DXCoils.BaseClasses.Examples.ApparatusDryPoint,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDryPoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.178/2.178, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001055/0.001056, allocations: 174.2 kB / 498.1 MB, free: 5.738 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.456/1.456, allocations: 223.2 MB / 0.7948 GB, free: 18.85 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.0009402/0.0009402, allocations: 94.5 kB / 0.9346 GB, free: 7.141 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003614/0.0003615, allocations: 14.98 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.2759, allocations: 142.4 MB / 1.223 GB, free: 89.45 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.71/3.986, allocations: 1.725 GB / 2.948 GB, free: 259.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/3.986, allocations: 109.9 kB / 2.948 GB, free: 259.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.204/4.19, allocations: 105.7 MB / 3.051 GB, free: 152.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.733e-06/4.19, allocations: 0 / 3.051 GB, free: 152.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001376/4.19, allocations: 19.94 kB / 3.051 GB, free: 152.6 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.004345/4.195, allocations: 1.89 MB / 3.053 GB, free: 150.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/4.195, allocations: 12.03 kB / 3.053 GB, free: 150.7 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.474e-05/4.195, allocations: 46.55 kB / 3.053 GB, free: 150.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01446/4.209, allocations: 2.082 MB / 3.055 GB, free: 148.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00313/4.212, allocations: 1.32 MB / 3.056 GB, free: 147.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.016e-05/4.212, allocations: 15.94 kB / 3.056 GB, free: 147.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001815/4.213, allocations: 24 kB / 3.056 GB, free: 147.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004922/4.218, allocations: 1.227 MB / 3.057 GB, free: 145.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/4.218, allocations: 0 / 3.057 GB, free: 145.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.096e-05/4.218, allocations: 11.95 kB / 3.057 GB, free: 145.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/4.218, allocations: 8 kB / 3.057 GB, free: 145.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008656/4.226, allocations: 2.064 MB / 3.059 GB, free: 143.8 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01066/4.237, allocations: 3.664 MB / 3.063 GB, free: 140 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00894/4.246, allocations: 2.173 MB / 3.065 GB, free: 137.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002772/4.246, allocations: 97.09 kB / 3.065 GB, free: 137.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004576/4.251, allocations: 1.181 MB / 3.066 GB, free: 136.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=23): time 4.98e-06/4.251, allocations: 0 / 3.066 GB, free: 136.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=23): time 0.01426/4.265, allocations: 3.415 MB / 3.07 GB, free: 133 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.119e-05/4.265, allocations: 106.8 kB / 3.07 GB, free: 132.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004545/4.27, allocations: 2.201 MB / 3.072 GB, free: 130.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.000241/4.27, allocations: 37.7 kB / 3.072 GB, free: 130.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006446/4.271, allocations: 0.5582 MB / 3.073 GB, free: 130.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001639/4.271, allocations: 67.02 kB / 3.073 GB, free: 130 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/4.271, allocations: 7.938 kB / 3.073 GB, free: 130 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.442e-05/4.271, allocations: 322 kB / 3.073 GB, free: 129.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004603/4.276, allocations: 1.183 MB / 3.074 GB, free: 128.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004553/4.28, allocations: 1.206 MB / 3.075 GB, free: 127.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004284/4.285, allocations: 1.095 MB / 3.076 GB, free: 126.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/4.285, allocations: 0 / 3.076 GB, free: 126.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.01056/4.295, allocations: 2.861 MB / 3.079 GB, free: 123.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.716e-05/4.296, allocations: 134.3 kB / 3.079 GB, free: 123.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/4.296, allocations: 3.984 kB / 3.079 GB, free: 123.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002902/4.298, allocations: 0.7523 MB / 3.08 GB, free: 122.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003048/4.302, allocations: 499.3 kB / 3.08 GB, free: 121.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001816/4.303, allocations: 2.674 MB / 3.083 GB, free: 119.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003496/4.307, allocations: 455.1 kB / 3.083 GB, free: 118.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002149/4.307, allocations: 39.97 kB / 3.084 GB, free: 118.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/4.307, allocations: 4 kB / 3.084 GB, free: 118.6 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00965/4.317, allocations: 2.608 MB / 3.086 GB, free: 116 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/4.317, allocations: 0 / 3.086 GB, free: 116 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001963/4.319, allocations: 0.6469 MB / 3.087 GB, free: 115.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003015/4.322, allocations: 495.3 kB / 3.087 GB, free: 114.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004303/4.326, allocations: 6.24 MB / 3.093 GB, free: 108.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003349/4.33, allocations: 451.3 kB / 3.094 GB, free: 107.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002065/4.33, allocations: 35.97 kB / 3.094 GB, free: 107.6 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.001088/4.331, allocations: 0.6751 MB / 3.094 GB, free: 106.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004451/4.331, allocations: 134.3 kB / 3.095 GB, free: 106.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009768/4.341, allocations: 2.35 MB / 3.097 GB, free: 104.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/4.341, allocations: 4 kB / 3.097 GB, free: 104.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/4.341, allocations: 0 / 3.097 GB, free: 104.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.894e-06/4.341, allocations: 0 / 3.097 GB, free: 104.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002135/4.343, allocations: 1.235 MB / 3.098 GB, free: 103.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/4.343, allocations: 0 / 3.098 GB, free: 103.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002755/4.346, allocations: 451.5 kB / 3.098 GB, free: 102.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/4.346, allocations: 0 / 3.098 GB, free: 102.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.554e-05/4.346, allocations: 19.97 kB / 3.098 GB, free: 102.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/4.346, allocations: 0 / 3.098 GB, free: 102.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/4.346, allocations: 0 / 3.098 GB, free: 102.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009232/4.356, allocations: 2.269 MB / 3.101 GB, free: 100.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001121/4.357, allocations: 427.1 kB / 3.101 GB, free: 99.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004498/4.357, allocations: 8 kB / 3.101 GB, free: 99.89 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002988/4.36, allocations: 407.4 kB / 3.101 GB, free: 99.49 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/4.36, allocations: 23.92 kB / 3.102 GB, free: 99.47 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.783e-05/4.36, allocations: 27.97 kB / 3.102 GB, free: 99.44 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003012/4.363, allocations: 1.707 MB / 3.103 GB, free: 97.74 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.61e-07/4.363, allocations: 0 / 3.103 GB, free: 97.74 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002538/4.366, allocations: 0.5895 MB / 3.104 GB, free: 97.15 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.01131/4.377, allocations: 3.69 MB / 3.107 GB, free: 93.43 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.01571/4.393, allocations: 4.523 MB / 3.112 GB, free: 88.83 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/4.393, allocations: 0 / 3.112 GB, free: 88.83 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.004531/4.398, allocations: 1.143 MB / 3.113 GB, free: 87.68 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001778/4.399, allocations: 329 kB / 3.113 GB, free: 87.36 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02268/4.422, allocations: 5.914 MB / 3.119 GB, free: 81.39 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009851/4.423, allocations: 1.422 MB / 3.12 GB, free: 79.94 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001897/4.425, allocations: 386.7 kB / 3.121 GB, free: 79.55 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008819/4.426, allocations: 439.2 kB / 3.121 GB, free: 79.12 MB / 1.167 GB Notification: Performance of SimCode: time 9.82e-07/4.426, allocations: 0 / 3.121 GB, free: 79.12 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07521/4.501, allocations: 50.05 MB / 3.17 GB, free: 29.45 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000178/4.502, allocations: 253.2 kB / 3.17 GB, free: 29.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.44/7.942, allocations: 0 / 3.17 GB, free: 29.2 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDryPoint_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDryPoint.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint_res.mat does not exist to compare? outputFormat=mat