Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.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: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|evaSho.m|evaNor.m|evaSho.mEva_flow|evaNor.mEva_flow|intSho.y|intNor.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|evaSho.m|evaNor.m|evaSho.mEva_flow|evaNor.mEva_flow|intSho.y|intNor.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.192/2.192, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001152/0.001152, allocations: 176.9 kB / 487.4 MB, free: 5.07 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.585/1.585, allocations: 221.5 MB / 0.7824 GB, free: 0.9688 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009003/0.0009006, allocations: 91.91 kB / 0.9219 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.043e-05/2.044e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2595, allocations: 142.4 MB / 1.206 GB, free: 43.94 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.096/4.356, allocations: 1.722 GB / 2.928 GB, free: 163.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002316/4.356, allocations: 90.94 kB / 2.928 GB, free: 163.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1343/4.49, allocations: 65.33 MB / 2.992 GB, free: 97.33 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.162e-06/4.49, allocations: 0 / 2.992 GB, free: 97.33 MB / 1.151 GB Notification: Performance of Transformations before backend: time 3.382e-05/4.49, allocations: 8 kB / 2.992 GB, free: 97.32 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.002242/4.492, allocations: 0.8933 MB / 2.992 GB, free: 96.37 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/4.492, allocations: 12.03 kB / 2.992 GB, free: 96.36 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002348/4.495, allocations: 251.2 kB / 2.993 GB, free: 96.11 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006841/4.496, allocations: 395.2 kB / 2.993 GB, free: 95.69 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.664e-05/4.496, allocations: 75.83 kB / 2.993 GB, free: 95.61 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001443/4.496, allocations: 24 kB / 2.993 GB, free: 95.58 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003008/4.496, allocations: 164.8 kB / 2.993 GB, free: 95.42 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004024/4.497, allocations: 299.4 kB / 2.994 GB, free: 95.11 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/4.497, allocations: 0 / 2.994 GB, free: 95.11 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.564e-05/4.497, allocations: 4 kB / 2.994 GB, free: 95.11 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/4.497, allocations: 8 kB / 2.994 GB, free: 95.1 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004139/4.501, allocations: 1.671 MB / 2.995 GB, free: 93.38 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002788/4.501, allocations: 170.7 kB / 2.995 GB, free: 93.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/4.501, allocations: 116.8 kB / 2.996 GB, free: 93.08 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/4.501, allocations: 0 / 2.996 GB, free: 93.08 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003293/4.502, allocations: 254.3 kB / 2.996 GB, free: 92.82 MB / 1.151 GB Notification: Performance of pre-optimization done (n=30): time 2.204e-06/4.502, allocations: 0 / 2.996 GB, free: 92.82 MB / 1.151 GB Notification: Performance of matching and sorting (n=30): time 0.005238/4.507, allocations: 0.9662 MB / 2.997 GB, free: 91.84 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/4.507, allocations: 81.11 kB / 2.997 GB, free: 91.74 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004266/4.507, allocations: 357 kB / 2.997 GB, free: 91.38 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001463/4.508, allocations: 33.69 kB / 2.997 GB, free: 91.34 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/4.508, allocations: 193.5 kB / 2.997 GB, free: 91.15 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.692e-05/4.508, allocations: 90.75 kB / 2.997 GB, free: 91.06 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.381e-05/4.508, allocations: 0 / 2.997 GB, free: 91.06 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.061e-05/4.508, allocations: 358.8 kB / 2.998 GB, free: 90.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003394/4.508, allocations: 201.5 kB / 2.998 GB, free: 90.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004085/4.509, allocations: 345.5 kB / 2.998 GB, free: 90.14 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004271/4.509, allocations: 225.7 kB / 2.999 GB, free: 89.92 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.84e-06/4.509, allocations: 3.953 kB / 2.999 GB, free: 89.91 MB / 1.151 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.006024/4.515, allocations: 1.367 MB / 3 GB, free: 88.53 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 4.705e-05/4.515, allocations: 59.41 kB / 3 GB, free: 88.46 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/4.515, allocations: 0 / 3 GB, free: 88.46 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001352/4.517, allocations: 355.3 kB / 3 GB, free: 88.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005159/4.517, allocations: 99.8 kB / 3 GB, free: 88 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004014/4.521, allocations: 4.329 MB / 3.005 GB, free: 83.38 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/4.522, allocations: 91.38 kB / 3.005 GB, free: 83.29 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001499/4.522, allocations: 39.95 kB / 3.005 GB, free: 83.25 MB / 1.151 GB Warning: Assuming fixed start value for the following 2 variables: evaNor.off:DISCRETE(fixed = false protected = true ) "Signal, true when component is off" type: Boolean evaSho.off:DISCRETE(fixed = false protected = true ) "Signal, true when component is off" type: Boolean Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: evaSho.dX:VARIABLE(min = -1.0 max = 0.0 unit = "1" protected = true ) "Difference in water vapor concentration that drives mass transfer" type: Real evaSho.mTotWat_flow:VARIABLE(unit = "kg/s" ) "Total moisture mass flow rate into the air stream" type: Real evaSho.XiSatRefOut:VARIABLE(min = 0.0 max = 1.0 unit = "1" protected = true ) "Water vapor mass fraction at saturation, referenced to outlet mass flow rate" type: Real evaSho.XEvaWetBulOut:VARIABLE(min = 0.0 max = 1.0 unit = "1" protected = true ) "Water vapor mass fraction at wet bulb conditions at air inlet" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: evaNor.dX:VARIABLE(min = -1.0 max = 0.0 unit = "1" protected = true ) "Difference in water vapor concentration that drives mass transfer" type: Real evaNor.XEvaWetBulOut:VARIABLE(min = 0.0 max = 1.0 unit = "1" protected = true ) "Water vapor mass fraction at wet bulb conditions at air inlet" type: Real evaNor.XiSatRefOut:VARIABLE(min = 0.0 max = 1.0 unit = "1" protected = true ) "Water vapor mass fraction at saturation, referenced to outlet mass flow rate" type: Real evaNor.mTotWat_flow:VARIABLE(unit = "kg/s" ) "Total moisture mass flow rate into the air stream" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition4,$whenCondition2,$PRE.evaNor.off,evaNor.off,$PRE.pulNor.T_start,pulNor.T_start,$PRE.pulNor.count,pulNor.count,$whenCondition3,$whenCondition1,$PRE.pulSho.T_start,pulSho.T_start,$PRE.pulSho.count,pulSho.count,$PRE.evaSho.off,evaSho.off,intNor.local_reset,intSho.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {7,7} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003462/4.523, allocations: 155.7 kB / 3.005 GB, free: 83.09 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/4.523, allocations: 39.44 kB / 3.005 GB, free: 83.05 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.3e-05/4.523, allocations: 35.53 kB / 3.005 GB, free: 83.02 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/4.523, allocations: 4 kB / 3.005 GB, free: 83.02 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/4.523, allocations: 0 / 3.005 GB, free: 83.02 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-06/4.523, allocations: 3.984 kB / 3.005 GB, free: 83.01 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004787/4.523, allocations: 425.7 kB / 3.005 GB, free: 82.56 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/4.524, allocations: 7.953 kB / 3.005 GB, free: 82.55 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/4.524, allocations: 35.91 kB / 3.005 GB, free: 82.52 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000279/4.524, allocations: 197.6 kB / 3.006 GB, free: 82.32 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.599e-05/4.524, allocations: 11.98 kB / 3.006 GB, free: 82.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001173/4.525, allocations: 1.484 MB / 3.007 GB, free: 80.78 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/4.525, allocations: 7.922 kB / 3.007 GB, free: 80.77 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004927/4.53, allocations: 1.144 MB / 3.008 GB, free: 79.59 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002287/4.53, allocations: 160.5 kB / 3.008 GB, free: 79.42 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/4.531, allocations: 4 kB / 3.008 GB, free: 79.41 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004896/4.531, allocations: 39.95 kB / 3.008 GB, free: 79.38 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/4.531, allocations: 51.81 kB / 3.008 GB, free: 79.32 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.73e-05/4.531, allocations: 15.98 kB / 3.008 GB, free: 79.31 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0002573/4.531, allocations: 255 kB / 3.009 GB, free: 79.06 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.31e-07/4.531, allocations: 3.938 kB / 3.009 GB, free: 79.06 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0008718/4.532, allocations: 191.8 kB / 3.009 GB, free: 78.87 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (evaSho.m,intSho.y,evaNor.m,intNor.y) * Number of discrete variables: 10 ($whenCondition3,$whenCondition1,pulSho.T_start,pulSho.count,evaSho.off,$whenCondition4,$whenCondition2,evaNor.off,pulNor.T_start,pulNor.count) * Number of discrete states: 4 (pulNor.count,evaNor.off,pulSho.count,evaSho.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {7,7} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00107/4.533, allocations: 0.8479 MB / 3.01 GB, free: 78.02 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00232/4.536, allocations: 0.8802 MB / 3.011 GB, free: 77.09 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/4.536, allocations: 0 / 3.011 GB, free: 77.09 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001094/4.537, allocations: 253.5 kB / 3.011 GB, free: 76.83 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005368/4.537, allocations: 94.8 kB / 3.011 GB, free: 76.74 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/4.539, allocations: 0.6131 MB / 3.011 GB, free: 76.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002077/4.539, allocations: 0.8191 MB / 3.012 GB, free: 75.25 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0003494/4.539, allocations: 62.72 kB / 3.012 GB, free: 75.19 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/4.539, allocations: 31.42 kB / 3.012 GB, free: 75.16 MB / 1.151 GB Notification: Performance of SimCode: time 3.81e-07/4.539, allocations: 0 / 3.012 GB, free: 75.16 MB / 1.151 GB Notification: Performance of Templates: time 0.02001/4.559, allocations: 14.05 MB / 3.026 GB, free: 61.2 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationPulse.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches