Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.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.DryCoil,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil",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.466/2.466, allocations: 390.5 MB / 398 MB, free: 10.95 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.001204/0.001204, allocations: 184.8 kB / 491.2 MB, free: 1.598 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.824/1.824, allocations: 221.5 MB / 0.7868 GB, free: 13.35 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.001074/0.001074, allocations: 99.8 kB / 0.9269 GB, free: 13.83 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.585e-05/4.592e-05, allocations: 8 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4043/0.4044, allocations: 143 MB / 1.212 GB, free: 39.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.521/4.925, allocations: 1.728 GB / 2.941 GB, free: 147.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002958/4.926, allocations: 99.94 kB / 2.941 GB, free: 147.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.08717/5.013, allocations: 41.39 MB / 2.981 GB, free: 106.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.204e-06/5.013, allocations: 0 / 2.981 GB, free: 106.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001436/5.013, allocations: 20 kB / 2.981 GB, free: 106.1 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.00378/5.017, allocations: 1.43 MB / 2.983 GB, free: 104.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.897e-05/5.017, allocations: 12.03 kB / 2.983 GB, free: 104.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006443/5.023, allocations: 0.6457 MB / 2.983 GB, free: 104 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004706/5.028, allocations: 1.701 MB / 2.985 GB, free: 102.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005254/5.029, allocations: 136.1 kB / 2.985 GB, free: 102.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003532/5.029, allocations: 23.94 kB / 2.985 GB, free: 102.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004218/5.033, allocations: 2.805 MB / 2.988 GB, free: 99.26 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002938/5.036, allocations: 1.962 MB / 2.99 GB, free: 97.29 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/5.036, allocations: 0 / 2.99 GB, free: 97.29 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000292/5.037, allocations: 3.953 kB / 2.99 GB, free: 97.29 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.468e-05/5.037, allocations: 11.94 kB / 2.99 GB, free: 97.27 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01227/5.049, allocations: 5.061 MB / 2.995 GB, free: 92.17 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00843/5.057, allocations: 3.096 MB / 2.998 GB, free: 89.06 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001445/5.059, allocations: 1.232 MB / 2.999 GB, free: 87.83 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001078/5.059, allocations: 16.42 kB / 2.999 GB, free: 87.81 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00255/5.062, allocations: 1.889 MB / 3.001 GB, free: 85.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=61): time 5.1e-06/5.062, allocations: 0 / 3.001 GB, free: 85.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=61): time 0.005366/5.067, allocations: 2.687 MB / 3.004 GB, free: 83.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.391e-05/5.067, allocations: 89.67 kB / 3.004 GB, free: 83.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004772/5.072, allocations: 2.343 MB / 3.006 GB, free: 80.76 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0003688/5.072, allocations: 49.69 kB / 3.006 GB, free: 80.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007777/5.073, allocations: 0.6536 MB / 3.007 GB, free: 80.05 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003077/5.073, allocations: 181.4 kB / 3.007 GB, free: 79.87 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001487/5.073, allocations: 4 kB / 3.007 GB, free: 79.86 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001017/5.074, allocations: 322 kB / 3.007 GB, free: 79.54 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001572/5.075, allocations: 1.58 MB / 3.009 GB, free: 77.96 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001495/5.077, allocations: 1.562 MB / 3.01 GB, free: 76.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002381/5.079, allocations: 1.45 MB / 3.012 GB, free: 74.95 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/5.079, allocations: 0 / 3.012 GB, free: 74.95 MB / 1.151 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.004796/5.084, allocations: 3.355 MB / 3.015 GB, free: 71.58 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.51e-05/5.084, allocations: 96.92 kB / 3.015 GB, free: 71.48 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/5.084, allocations: 0 / 3.015 GB, free: 71.48 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.558e-05/5.084, allocations: 3.953 kB / 3.015 GB, free: 71.47 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001459/5.086, allocations: 223.7 kB / 3.015 GB, free: 71.25 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.514e-05/5.086, allocations: 4 kB / 3.015 GB, free: 71.25 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001809/5.087, allocations: 111.6 kB / 3.015 GB, free: 71.14 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002724/5.088, allocations: 107.9 kB / 3.015 GB, free: 71.04 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,dryCoi.cooCap.stage,$PRE.dryCoi.cooCap.checkBoundsTEva[1],dryCoi.cooCap.checkBoundsTEva[1],$PRE.dryCoi.cooCap.checkBoundsTEva[2],dryCoi.cooCap.checkBoundsTEva[2],$PRE.dryCoi.cooCap.checkBoundsTEva[3],dryCoi.cooCap.checkBoundsTEva[3],$PRE.dryCoi.cooCap.checkBoundsTEva[4],dryCoi.cooCap.checkBoundsTEva[4],$PRE.dryCoi.cooCap.checkBoundsTCon[1],dryCoi.cooCap.checkBoundsTCon[1],$PRE.dryCoi.cooCap.checkBoundsTCon[2],dryCoi.cooCap.checkBoundsTCon[2],$PRE.dryCoi.cooCap.checkBoundsTCon[3],dryCoi.cooCap.checkBoundsTCon[3],$PRE.dryCoi.cooCap.checkBoundsTCon[4],dryCoi.cooCap.checkBoundsTCon[4],speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 2 * 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.0005742/5.088, allocations: 179.8 kB / 3.016 GB, free: 70.85 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0046/5.093, allocations: 2.703 MB / 3.018 GB, free: 68.14 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007015/5.094, allocations: 169.9 kB / 3.018 GB, free: 67.97 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004775/5.098, allocations: 2.987 MB / 3.021 GB, free: 64.97 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/5.098, allocations: 8 kB / 3.021 GB, free: 64.96 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/5.098, allocations: 0 / 3.021 GB, free: 64.96 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.335e-06/5.098, allocations: 3.984 kB / 3.021 GB, free: 64.96 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003404/5.102, allocations: 2.446 MB / 3.024 GB, free: 62.48 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/5.102, allocations: 0 / 3.024 GB, free: 62.48 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001428/5.103, allocations: 219.7 kB / 3.024 GB, free: 62.26 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.025e-05/5.103, allocations: 4 kB / 3.024 GB, free: 62.26 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001361/5.103, allocations: 47.92 kB / 3.024 GB, free: 62.21 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/5.103, allocations: 4 kB / 3.024 GB, free: 62.21 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/5.103, allocations: 4 kB / 3.024 GB, free: 62.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00436/5.108, allocations: 2.748 MB / 3.027 GB, free: 59.43 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001506/5.109, allocations: 0.7682 MB / 3.027 GB, free: 58.64 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005673/5.11, allocations: 55.91 kB / 3.027 GB, free: 58.59 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001739/5.112, allocations: 147.8 kB / 3.028 GB, free: 58.45 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/5.112, allocations: 60.47 kB / 3.028 GB, free: 58.39 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002155/5.112, allocations: 115.9 kB / 3.028 GB, free: 58.27 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002801/5.115, allocations: 1.801 MB / 3.029 GB, free: 56.48 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.1e-07/5.115, allocations: 3.938 kB / 3.029 GB, free: 56.48 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001823/5.117, allocations: 439.7 kB / 3.03 GB, free: 56.05 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 23 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,dryCoi.cooCap.stage,dryCoi.cooCap.checkBoundsTEva[1],dryCoi.cooCap.checkBoundsTEva[2],dryCoi.cooCap.checkBoundsTEva[3],dryCoi.cooCap.checkBoundsTEva[4],dryCoi.cooCap.checkBoundsTCon[1],dryCoi.cooCap.checkBoundsTCon[2],dryCoi.cooCap.checkBoundsTCon[3],dryCoi.cooCap.checkBoundsTCon[4],speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled) * Number of discrete states: 9 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition9,dryCoi.cooCap.stage,dryCoi.cooCap.checkBoundsTEva[dryCoi.cooCap.stage],dryCoi.cooCap.checkBoundsTCon[dryCoi.cooCap.stage]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 8 * 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.005541/5.122, allocations: 3.653 MB / 3.033 GB, free: 52.36 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003323/5.126, allocations: 3.19 MB / 3.037 GB, free: 49.15 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/5.126, allocations: 0 / 3.037 GB, free: 49.15 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001395/5.127, allocations: 1.407 MB / 3.038 GB, free: 47.73 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001814/5.129, allocations: 398.2 kB / 3.038 GB, free: 47.34 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007897/5.137, allocations: 4.135 MB / 3.042 GB, free: 43.16 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001149/5.138, allocations: 1.603 MB / 3.044 GB, free: 41.52 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002376/5.14, allocations: 0.8212 MB / 3.045 GB, free: 40.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001158/5.142, allocations: 0.5812 MB / 3.045 GB, free: 40.11 MB / 1.151 GB Notification: Performance of SimCode: time 1.072e-06/5.142, allocations: 0 / 3.045 GB, free: 40.11 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7522/5.894, allocations: 45.38 MB / 3.09 GB, free: 403.1 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000281/5.894, allocations: 191.5 kB / 3.09 GB, free: 402.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.686/9.58, allocations: 0.8438 kB / 3.09 GB, free: 402.9 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil_res.mat does not exist to compare? outputFormat=mat