Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mWat.mWat_flow|Q_flow.y|shr.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mWat.mWat_flow|Q_flow.y|shr.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 91.38 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006412/0.006412, allocations: 172.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.386/2.386, allocations: 390.9 MB / 0.6663 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003351/0.0003352, allocations: 8 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.638/0.6383, allocations: 142.4 MB / 0.9551 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation): time 0.001527/0.6399, allocations: 1.251 MB / 0.9563 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002099/0.6401, allocations: 143.4 kB / 0.9564 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.659e-05/0.6402, allocations: 0 / 0.9564 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.938e-05/0.6402, allocations: 0 / 0.9564 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.419e-05/0.6402, allocations: 13.3 kB / 0.9564 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.845e-05/0.6403, allocations: 13.48 kB / 0.9564 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.128e-05/0.6404, allocations: 43.05 kB / 0.9565 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.6405, allocations: 12.02 kB / 0.9565 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.651e-05/0.6406, allocations: 10.94 kB / 0.9565 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.647e-05/0.6406, allocations: 25.94 kB / 0.9565 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.6407, allocations: 1.438 kB / 0.9565 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.003e-05/0.6407, allocations: 1.406 kB / 0.9565 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.505e-05/0.6407, allocations: 9.188 kB / 0.9565 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.511e-05/0.6407, allocations: 46.38 kB / 0.9566 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.682e-05/0.6408, allocations: 32.34 kB / 0.9566 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.6408, allocations: 0 / 0.9566 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.894e-06/0.6408, allocations: 3.938 kB / 0.9566 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.6408, allocations: 0 / 0.9566 GB, free: 6.457 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000438/0.6413, allocations: 373.2 kB / 0.957 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.6413, allocations: 10.12 kB / 0.957 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.342e-05/0.6414, allocations: 7.125 kB / 0.957 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.83e-05/0.6415, allocations: 166.2 kB / 0.9571 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.6415, allocations: 1.312 kB / 0.9571 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.6415, allocations: 6.5 kB / 0.9572 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002632/0.6418, allocations: 88.08 kB / 0.9572 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.6418, allocations: 1.25 kB / 0.9572 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.6418, allocations: 0 / 0.9572 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.6418, allocations: 1.406 kB / 0.9572 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003162/0.6421, allocations: 86.67 kB / 0.9573 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003201/0.6424, allocations: 274.9 kB / 0.9576 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.6427, allocations: 62.36 kB / 0.9576 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/0.6428, allocations: 56.78 kB / 0.9577 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/0.6429, allocations: 1.25 kB / 0.9577 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.206e-05/0.6429, allocations: 32 kB / 0.9577 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.6429, allocations: 4 kB / 0.9577 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.000543/0.6434, allocations: 158.6 kB / 0.9579 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.303e-05/0.6435, allocations: 52.66 kB / 0.9579 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.505e-05/0.6435, allocations: 107.1 kB / 0.958 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.978e-06/0.6435, allocations: 29.42 kB / 0.9581 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.723e-05/0.6436, allocations: 92.12 kB / 0.9582 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.945e-05/0.6436, allocations: 7.906 kB / 0.9582 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.424e-05/0.6436, allocations: 11 kB / 0.9582 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.498e-05/0.6437, allocations: 319.9 kB / 0.9585 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.6439, allocations: 50.45 kB / 0.9585 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.644, allocations: 40.62 kB / 0.9586 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002926/0.6443, allocations: 94.02 kB / 0.9587 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.6443, allocations: 0 / 0.9587 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003372/0.6447, allocations: 121.7 kB / 0.9588 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.6447, allocations: 5.031 kB / 0.9588 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.6447, allocations: 0 / 0.9588 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.6447, allocations: 5.219 kB / 0.9588 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.6449, allocations: 26.34 kB / 0.9588 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.6449, allocations: 8.844 kB / 0.9588 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.963e-05/0.645, allocations: 15.33 kB / 0.9588 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.645, allocations: 1.406 kB / 0.9588 GB, free: 4.473 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.417e-05/0.6451, allocations: 120.1 kB / 0.9589 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.578e-05/0.6451, allocations: 2.344 kB / 0.9589 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.641e-05/0.6451, allocations: 9.094 kB / 0.959 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.6451, allocations: 3.984 kB / 0.959 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.6451, allocations: 1.125 kB / 0.959 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.6451, allocations: 0 / 0.959 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.6453, allocations: 169.1 kB / 0.9591 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.6453, allocations: 0 / 0.9591 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.6454, allocations: 23.33 kB / 0.9591 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.6454, allocations: 1.562 kB / 0.9591 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.6454, allocations: 4 kB / 0.9591 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.6454, allocations: 0 / 0.9591 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.6454, allocations: 5.266 kB / 0.9592 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003651/0.6458, allocations: 223.1 kB / 0.9594 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.789e-05/0.6458, allocations: 78.36 kB / 0.9594 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.6458, allocations: 1.938 kB / 0.9594 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.6459, allocations: 19.11 kB / 0.9595 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/0.646, allocations: 5.578 kB / 0.9595 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.646, allocations: 0 / 0.9595 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.872e-05/0.646, allocations: 94.69 kB / 0.9596 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.646, allocations: 0 / 0.9596 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002167/0.6463, allocations: 11.03 kB / 0.9596 GB, free: 3.734 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001028/0.6464, allocations: 106.8 kB / 0.9597 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003399/0.6467, allocations: 92.67 kB / 0.9598 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.6467, allocations: 1.375 kB / 0.9598 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.6469, allocations: 46.16 kB / 0.9598 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/0.6472, allocations: 14.22 kB / 0.9598 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002402/0.6474, allocations: 157.3 kB / 0.96 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.485e-05/0.6475, allocations: 0.6798 MB / 0.9606 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.484e-05/0.6476, allocations: 5.656 kB / 0.9606 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.191e-05/0.6476, allocations: 8.812 kB / 0.9606 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of SimCode: time 3.81e-07/0.6476, allocations: 1.375 kB / 0.9606 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of Templates: time 0.002404/0.65, allocations: 0.6505 MB / 0.9613 GB, free: 2.387 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_Condensation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches