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.001624/0.001624, allocations: 106.7 kB / 16.41 MB, free: 6.484 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.001779/0.001779, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.402/1.402, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.72/2.72, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 67.91 kB / 0.9516 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9502/0.9517, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation): time 0.00251/0.9542, allocations: 1.527 MB / 1.09 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002312/0.9545, allocations: 151.9 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.849e-05/0.9545, allocations: 1.094 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.878e-05/0.9546, allocations: 4.594 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.777e-05/0.9546, allocations: 13.67 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 8.045e-05/0.9547, allocations: 14.73 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.187e-05/0.9548, allocations: 47.88 kB / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.9549, allocations: 10.83 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.645e-05/0.955, allocations: 18.27 kB / 1.09 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.382e-05/0.955, allocations: 24.33 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.9551, allocations: 3.219 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.026e-05/0.9551, allocations: 4.125 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.838e-05/0.9551, allocations: 11.67 kB / 1.09 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.502e-05/0.9551, allocations: 21.8 kB / 1.09 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.515e-05/0.9552, allocations: 37.16 kB / 1.09 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.9553, allocations: 2.047 kB / 1.09 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.743e-06/0.9553, allocations: 0 / 1.09 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.9553, allocations: 0 / 1.09 GB, free: 4.258 MB / 0.8575 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.0004799/0.9558, allocations: 358.1 kB / 1.091 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.9558, allocations: 8.938 kB / 1.091 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.136e-05/0.9558, allocations: 7.641 kB / 1.091 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.039e-05/0.9559, allocations: 169.9 kB / 1.091 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.9559, allocations: 5.406 kB / 1.091 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.956, allocations: 7.281 kB / 1.091 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002461/0.9562, allocations: 71.8 kB / 1.091 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.9562, allocations: 0 / 1.091 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.9562, allocations: 0 / 1.091 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.9562, allocations: 1.344 kB / 1.091 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003072/0.9566, allocations: 67.05 kB / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003154/0.9569, allocations: 282.1 kB / 1.091 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.9571, allocations: 58.95 kB / 1.091 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.9573, allocations: 41.92 kB / 1.092 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.9573, allocations: 0 / 1.092 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.565e-05/0.9573, allocations: 33.2 kB / 1.092 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.9573, allocations: 0 / 1.092 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005499/0.9579, allocations: 131.3 kB / 1.092 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.9579, allocations: 53.12 kB / 1.092 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.53e-05/0.958, allocations: 115.1 kB / 1.092 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.736e-06/0.958, allocations: 25.7 kB / 1.092 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.083e-05/0.958, allocations: 91.33 kB / 1.092 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-05/0.958, allocations: 10.03 kB / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.962e-05/0.9581, allocations: 13.8 kB / 1.092 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.514e-05/0.9581, allocations: 325.4 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.9583, allocations: 31.2 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.9584, allocations: 31.09 kB / 1.092 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002777/0.9587, allocations: 69.94 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.9587, allocations: 0.5156 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003207/0.9591, allocations: 98.62 kB / 1.092 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.9591, allocations: 8.328 kB / 1.093 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.9591, allocations: 0 / 1.093 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.9591, allocations: 1.094 kB / 1.093 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.9592, allocations: 19.97 kB / 1.093 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.9593, allocations: 0 / 1.093 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.268e-05/0.9593, allocations: 15.67 kB / 1.093 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.9593, allocations: 1.188 kB / 1.093 GB, free: 2.48 MB / 0.8575 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.475e-05/0.9594, allocations: 116.7 kB / 1.093 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.682e-05/0.9594, allocations: 6.672 kB / 1.093 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.645e-05/0.9595, allocations: 9.797 kB / 1.093 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.9595, allocations: 0 / 1.093 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.9595, allocations: 9.25 kB / 1.093 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.9595, allocations: 0.5156 kB / 1.093 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/0.9596, allocations: 169.9 kB / 1.093 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.9596, allocations: 1.156 kB / 1.093 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001/0.9597, allocations: 15.41 kB / 1.093 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.9598, allocations: 0.8438 kB / 1.093 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-06/0.9598, allocations: 0 / 1.093 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.9598, allocations: 1.641 kB / 1.093 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.9598, allocations: 0 / 1.093 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003463/0.9601, allocations: 198 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.162e-05/0.9602, allocations: 87.44 kB / 1.093 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.9602, allocations: 1.547 kB / 1.093 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.9603, allocations: 14.66 kB / 1.093 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.375e-05/0.9603, allocations: 8.422 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.9604, allocations: 4.719 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.418e-05/0.9604, allocations: 87.42 kB / 1.093 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9604, allocations: 0.8125 kB / 1.093 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002138/0.9606, allocations: 10.84 kB / 1.093 GB, free: 1.789 MB / 0.8575 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.000101/0.9607, allocations: 104.4 kB / 1.093 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003528/0.9611, allocations: 73.94 kB / 1.093 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.9611, allocations: 0.7812 kB / 1.093 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.9612, allocations: 38.77 kB / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.9616, allocations: 8.391 kB / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003184/0.9619, allocations: 160.7 kB / 1.094 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.962, allocations: 0.6844 MB / 1.094 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.431e-05/0.962, allocations: 9.562 kB / 1.094 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of SimCode: time 2.41e-07/0.962, allocations: 0 / 1.094 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of Templates: time 0.002445/0.9645, allocations: 0.7552 MB / 1.095 GB, free: 0.7734 MB / 0.8575 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/jenkins1/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