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: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dryCoi.m_flow|onOff.y|TEvaIn.y|dryCoi.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dryCoi.m_flow|onOff.y|TEvaIn.y|dryCoi.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.791/2.791, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.001319/0.001319, allocations: 188.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.536/1.536, allocations: 221.3 MB / 0.7915 GB, free: 5.488 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.0009493/0.0009493, allocations: 95.97 kB / 0.9317 GB, free: 5.797 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.285e-05/3.289e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3517, allocations: 143 MB / 1.219 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.754/5.105, allocations: 1.729 GB / 2.948 GB, free: 107.1 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/5.106, allocations: 95.94 kB / 2.948 GB, free: 107 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.084/5.19, allocations: 42.33 MB / 2.989 GB, free: 64.54 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.643e-06/5.19, allocations: 0 / 2.989 GB, free: 64.54 MB / 1.167 GB Notification: Performance of Transformations before backend: time 6.038e-05/5.19, allocations: 20 kB / 2.989 GB, free: 64.52 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.002179/5.192, allocations: 1.424 MB / 2.991 GB, free: 63.04 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.192e-05/5.192, allocations: 12.03 kB / 2.991 GB, free: 63.02 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005711/5.198, allocations: 0.6496 MB / 2.991 GB, free: 62.37 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002934/5.201, allocations: 1.693 MB / 2.993 GB, free: 60.63 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002112/5.201, allocations: 152.1 kB / 2.993 GB, free: 60.47 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001612/5.201, allocations: 35.98 kB / 2.993 GB, free: 60.44 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002388/5.203, allocations: 1.998 MB / 2.995 GB, free: 58.43 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/5.204, allocations: 0 / 2.995 GB, free: 58.43 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001432/5.204, allocations: 15.95 kB / 2.995 GB, free: 58.41 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/5.204, allocations: 11.98 kB / 2.995 GB, free: 58.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003196/5.207, allocations: 2.822 MB / 2.998 GB, free: 55.58 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008171/5.215, allocations: 5.126 MB / 3.003 GB, free: 50.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007516/5.223, allocations: 3.125 MB / 3.006 GB, free: 47.26 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001402/5.224, allocations: 1.251 MB / 3.007 GB, free: 46.01 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.166e-05/5.224, allocations: 12.42 kB / 3.007 GB, free: 46 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002091/5.226, allocations: 1.905 MB / 3.009 GB, free: 44.07 MB / 1.167 GB Notification: Performance of pre-optimization done (n=61): time 3.286e-06/5.226, allocations: 0 / 3.009 GB, free: 44.07 MB / 1.167 GB Notification: Performance of matching and sorting (n=61): time 0.003511/5.23, allocations: 2.58 MB / 3.012 GB, free: 41.47 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/5.23, allocations: 93.66 kB / 3.012 GB, free: 41.36 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00316/5.233, allocations: 2.441 MB / 3.014 GB, free: 38.93 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002765/5.233, allocations: 57.69 kB / 3.014 GB, free: 38.86 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005108/5.234, allocations: 0.6537 MB / 3.015 GB, free: 38.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002177/5.234, allocations: 189.5 kB / 3.015 GB, free: 38.02 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/5.234, allocations: 8 kB / 3.015 GB, free: 38.01 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.273e-05/5.234, allocations: 334 kB / 3.015 GB, free: 37.68 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001555/5.236, allocations: 1.591 MB / 3.017 GB, free: 36.08 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001479/5.237, allocations: 1.567 MB / 3.018 GB, free: 34.51 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001282/5.239, allocations: 1.299 MB / 3.02 GB, free: 33.21 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/5.239, allocations: 0 / 3.02 GB, free: 33.21 MB / 1.167 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003733/5.242, allocations: 3.249 MB / 3.023 GB, free: 29.93 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 6.903e-05/5.242, allocations: 87.36 kB / 3.023 GB, free: 29.84 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/5.242, allocations: 0 / 3.023 GB, free: 29.84 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/5.242, allocations: 4 kB / 3.023 GB, free: 29.83 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001432/5.244, allocations: 227.7 kB / 3.023 GB, free: 29.61 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/5.244, allocations: 0 / 3.023 GB, free: 29.61 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/5.245, allocations: 123.6 kB / 3.023 GB, free: 29.49 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002192/5.246, allocations: 107.9 kB / 3.023 GB, free: 29.38 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: 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.0004364/5.246, allocations: 190.5 kB / 3.023 GB, free: 29.18 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002969/5.246, allocations: 169.9 kB / 3.024 GB, free: 29.02 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003827/5.25, allocations: 2.891 MB / 3.026 GB, free: 26.11 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/5.25, allocations: 8 kB / 3.026 GB, free: 26.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/5.25, allocations: 4 kB / 3.026 GB, free: 26.09 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.974e-06/5.25, allocations: 3.984 kB / 3.026 GB, free: 26.09 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002783/5.253, allocations: 2.512 MB / 3.029 GB, free: 23.53 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/5.253, allocations: 3.938 kB / 3.029 GB, free: 23.52 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001388/5.254, allocations: 219.7 kB / 3.029 GB, free: 23.31 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.264e-06/5.254, allocations: 8 kB / 3.029 GB, free: 23.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001349/5.255, allocations: 51.92 kB / 3.029 GB, free: 23.25 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.481e-06/5.255, allocations: 7.938 kB / 3.029 GB, free: 23.24 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/5.255, allocations: 0 / 3.029 GB, free: 23.24 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003224/5.258, allocations: 2.649 MB / 3.032 GB, free: 20.57 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001433/5.259, allocations: 0.7759 MB / 3.033 GB, free: 19.77 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003052/5.26, allocations: 55.97 kB / 3.033 GB, free: 19.71 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001451/5.261, allocations: 151.8 kB / 3.033 GB, free: 19.57 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001748/5.261, allocations: 64.45 kB / 3.033 GB, free: 19.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000204/5.261, allocations: 119.9 kB / 3.033 GB, free: 19.39 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002425/5.264, allocations: 1.892 MB / 3.035 GB, free: 17.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.5e-07/5.264, allocations: 0 / 3.035 GB, free: 17.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001484/5.265, allocations: 451.7 kB / 3.035 GB, free: 17.06 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: 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.001036/5.266, allocations: 471.2 kB / 3.036 GB, free: 16.61 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003401/5.27, allocations: 3.231 MB / 3.039 GB, free: 13.35 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/5.27, allocations: 0 / 3.039 GB, free: 13.35 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001446/5.271, allocations: 1.408 MB / 3.04 GB, free: 11.93 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001766/5.273, allocations: 405.1 kB / 3.041 GB, free: 11.54 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005727/5.279, allocations: 3.657 MB / 3.044 GB, free: 7.844 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009188/5.28, allocations: 1.607 MB / 3.046 GB, free: 6.195 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002539/5.282, allocations: 0.7979 MB / 3.046 GB, free: 5.395 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006964/5.283, allocations: 159.3 kB / 3.047 GB, free: 5.242 MB / 1.167 GB Notification: Performance of SimCode: time 1.322e-06/5.283, allocations: 0 / 3.047 GB, free: 5.242 MB / 1.167 GB Notification: Performance of Templates: time 0.7119/5.995, allocations: 35.26 MB / 3.081 GB, free: 412.8 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.makefile (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 & ./Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches