Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.DXSystems.Cooling.BaseClasses.Examples.Condensation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mWat.mWat_flow|Q_flow.y|shr.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mWat.mWat_flow|Q_flow.y|shr.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008466/0.008466, allocations: 101.1 kB / 15.73 MB, free: 5.992 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.001771/0.001771, allocations: 194.5 kB / 16.67 MB, free: 5.93 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.525/1.525, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.918/2.918, allocations: 461.9 MB / 0.7347 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 67.89 kB / 1.054 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4332/0.4344, allocations: 157.4 MB / 1.208 GB, free: 9.621 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.003109/0.4376, allocations: 1.495 MB / 1.209 GB, free: 8.113 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.000298/0.4379, allocations: 155.5 kB / 1.209 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.322e-05/0.438, allocations: 0 / 1.209 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.17e-05/0.4381, allocations: 3.938 kB / 1.209 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.187e-05/0.4381, allocations: 11.92 kB / 1.209 GB, free: 7.945 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 8.288e-05/0.4382, allocations: 7.984 kB / 1.209 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.085e-05/0.4383, allocations: 55.78 kB / 1.209 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.4384, allocations: 8 kB / 1.209 GB, free: 7.875 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.137e-05/0.4385, allocations: 23.92 kB / 1.209 GB, free: 7.852 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.733e-05/0.4386, allocations: 19.91 kB / 1.21 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.4386, allocations: 4 kB / 1.21 GB, free: 7.828 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.607e-06/0.4386, allocations: 4 kB / 1.21 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.82e-05/0.4386, allocations: 4 kB / 1.21 GB, free: 7.82 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.369e-05/0.4387, allocations: 23.8 kB / 1.21 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.573e-05/0.4388, allocations: 47.81 kB / 1.21 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.4388, allocations: 0 / 1.21 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4388, allocations: 4 kB / 1.21 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.4388, allocations: 3.938 kB / 1.21 GB, free: 7.742 MB / 0.9669 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.0005422/0.4393, allocations: 363.4 kB / 1.21 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.4394, allocations: 8.031 kB / 1.21 GB, free: 7.328 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.925e-05/0.4394, allocations: 8.844 kB / 1.21 GB, free: 7.32 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.4395, allocations: 168.3 kB / 1.21 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.4396, allocations: 384 / 1.21 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.4396, allocations: 4.375 kB / 1.21 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002522/0.4398, allocations: 70.22 kB / 1.21 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.4399, allocations: 192 / 1.21 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.4399, allocations: 3.938 kB / 1.21 GB, free: 7.035 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.4399, allocations: 0 / 1.21 GB, free: 7.035 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002882/0.4402, allocations: 71.86 kB / 1.21 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003569/0.4405, allocations: 265 kB / 1.211 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/0.4408, allocations: 66.45 kB / 1.211 GB, free: 6.582 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/0.4409, allocations: 36.92 kB / 1.211 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.4409, allocations: 4 kB / 1.211 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.441, allocations: 34.5 kB / 1.211 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.482e-06/0.441, allocations: 0 / 1.211 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005423/0.4415, allocations: 125.6 kB / 1.211 GB, free: 6.367 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.4416, allocations: 55.41 kB / 1.211 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.578e-05/0.4417, allocations: 121.7 kB / 1.211 GB, free: 6.172 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.4417, allocations: 25.7 kB / 1.211 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.298e-05/0.4417, allocations: 88.08 kB / 1.211 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.4418, allocations: 15.83 kB / 1.211 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.337e-05/0.4418, allocations: 9.719 kB / 1.211 GB, free: 6.02 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.4419, allocations: 318.8 kB / 1.211 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/0.4421, allocations: 35.95 kB / 1.211 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.4422, allocations: 31.91 kB / 1.211 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002699/0.4425, allocations: 68.78 kB / 1.211 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.4425, allocations: 3.938 kB / 1.212 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003242/0.4428, allocations: 101.5 kB / 1.212 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.4429, allocations: 4 kB / 1.212 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.4429, allocations: 0 / 1.212 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.4429, allocations: 4 kB / 1.212 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.4431, allocations: 11.98 kB / 1.212 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.4431, allocations: 0 / 1.212 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.626e-05/0.4432, allocations: 19.97 kB / 1.212 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.782e-06/0.4432, allocations: 0 / 1.212 GB, free: 5.414 MB / 0.9669 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 7.991e-05/0.4433, allocations: 125.7 kB / 1.212 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.539e-05/0.4433, allocations: 0 / 1.212 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.179e-05/0.4433, allocations: 11.91 kB / 1.212 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.4433, allocations: 0 / 1.212 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.4434, allocations: 3.938 kB / 1.212 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.4434, allocations: 0 / 1.212 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/0.4435, allocations: 177.6 kB / 1.212 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4435, allocations: 4 kB / 1.212 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.4437, allocations: 15.98 kB / 1.212 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.4437, allocations: 0 / 1.212 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.4437, allocations: 0 / 1.212 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.4437, allocations: 0 / 1.212 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4437, allocations: 0 / 1.212 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003761/0.4441, allocations: 199.3 kB / 1.212 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.46e-05/0.4441, allocations: 85.11 kB / 1.212 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.4441, allocations: 0 / 1.212 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.4443, allocations: 8.359 kB / 1.212 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.373e-05/0.4443, allocations: 15.92 kB / 1.212 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.4443, allocations: 0 / 1.212 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.823e-05/0.4444, allocations: 87.28 kB / 1.212 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4444, allocations: 7.938 kB / 1.212 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002197/0.4446, allocations: 8 kB / 1.212 GB, free: 4.578 MB / 0.9669 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.000123/0.4447, allocations: 99.23 kB / 1.212 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003366/0.4451, allocations: 71.91 kB / 1.213 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.4451, allocations: 4 kB / 1.213 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.4452, allocations: 35.97 kB / 1.213 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.4455, allocations: 13.98 kB / 1.213 GB, free: 4.352 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003492/0.4459, allocations: 138.4 kB / 1.213 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/0.4461, allocations: 0.6807 MB / 1.213 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.824e-05/0.4462, allocations: 7.984 kB / 1.213 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.291e-05/0.4462, allocations: 11.44 kB / 1.213 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of SimCode: time 3.21e-07/0.4462, allocations: 0 / 1.213 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of Templates: time 0.002981/0.4492, allocations: 0.804 MB / 1.214 GB, free: 2.672 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches