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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001383/0.001382, allocations: 115.5 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 194.2 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.999/2.999, allocations: 489.3 MB / 0.7687 GB, free: 3.805 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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=2500,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=2500,variableFilter="time|mWat.mWat_flow|Q_flow.y|shr.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002178/0.002178, allocations: 67.91 kB / 1.103 GB, free: 0.7891 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.096/1.098, allocations: 163.8 MB / 1.263 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.003018/1.101, allocations: 1.511 MB / 1.264 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002794/1.102, allocations: 154.9 kB / 1.264 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.21e-05/1.102, allocations: 0.8438 kB / 1.264 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.391e-05/1.102, allocations: 7.344 kB / 1.264 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.207e-05/1.102, allocations: 6.078 kB / 1.264 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 9.202e-05/1.102, allocations: 13.34 kB / 1.264 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001182/1.102, allocations: 48.28 kB / 1.264 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/1.102, allocations: 7.422 kB / 1.264 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.262e-05/1.102, allocations: 21.2 kB / 1.264 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.108e-05/1.102, allocations: 24.48 kB / 1.264 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/1.102, allocations: 6.875 kB / 1.264 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.249e-05/1.102, allocations: 3.969 kB / 1.264 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.347e-05/1.102, allocations: 11.28 kB / 1.264 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.079e-05/1.102, allocations: 19.12 kB / 1.264 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001207/1.103, allocations: 36.94 kB / 1.264 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/1.103, allocations: 0.7969 kB / 1.264 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.707e-06/1.103, allocations: 0.8125 kB / 1.264 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.032e-06/1.103, allocations: 3.938 kB / 1.264 GB, free: 6.766 MB / 0.9981 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.0005658/1.103, allocations: 366.4 kB / 1.265 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/1.103, allocations: 9.125 kB / 1.265 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.721e-05/1.103, allocations: 7.703 kB / 1.265 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/1.103, allocations: 167.9 kB / 1.265 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/1.103, allocations: 6.344 kB / 1.265 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/1.103, allocations: 5.938 kB / 1.265 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002731/1.104, allocations: 64.39 kB / 1.265 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/1.104, allocations: 4.188 kB / 1.265 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/1.104, allocations: 9.719 kB / 1.265 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.351e-06/1.104, allocations: 0.625 kB / 1.265 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003288/1.104, allocations: 62.52 kB / 1.265 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003898/1.104, allocations: 270.3 kB / 1.265 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002239/1.105, allocations: 63.53 kB / 1.265 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001686/1.105, allocations: 37.23 kB / 1.265 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/1.105, allocations: 3.938 kB / 1.265 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/1.105, allocations: 32.56 kB / 1.265 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/1.105, allocations: 4 kB / 1.265 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0005959/1.105, allocations: 136 kB / 1.266 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/1.106, allocations: 52.62 kB / 1.266 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.325e-05/1.106, allocations: 107.8 kB / 1.266 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/1.106, allocations: 25.7 kB / 1.266 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.719e-05/1.106, allocations: 90.94 kB / 1.266 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/1.106, allocations: 6.844 kB / 1.266 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.588e-05/1.106, allocations: 17.61 kB / 1.266 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.367e-05/1.106, allocations: 313.7 kB / 1.266 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001684/1.106, allocations: 30.67 kB / 1.266 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001545/1.106, allocations: 35.17 kB / 1.266 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003109/1.106, allocations: 74.42 kB / 1.266 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/1.106, allocations: 4.906 kB / 1.266 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003567/1.107, allocations: 101.7 kB / 1.266 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/1.107, allocations: 5.5 kB / 1.266 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/1.107, allocations: 0.7969 kB / 1.266 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/1.107, allocations: 0.8125 kB / 1.266 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/1.107, allocations: 19.09 kB / 1.266 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/1.107, allocations: 0.6562 kB / 1.266 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.675e-05/1.107, allocations: 15.94 kB / 1.266 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/1.107, allocations: 0.9062 kB / 1.266 GB, free: 4.984 MB / 0.9981 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 6.3e-05/1.107, allocations: 120 kB / 1.267 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.196e-05/1.107, allocations: 2.125 kB / 1.267 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.305e-05/1.107, allocations: 10.36 kB / 1.267 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/1.107, allocations: 4.969 kB / 1.267 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/1.107, allocations: 0 / 1.267 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/1.107, allocations: 1.984 kB / 1.267 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/1.107, allocations: 173.9 kB / 1.267 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/1.108, allocations: 0 / 1.267 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/1.108, allocations: 19.66 kB / 1.267 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/1.108, allocations: 5.031 kB / 1.267 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/1.108, allocations: 0.7969 kB / 1.267 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/1.108, allocations: 1.062 kB / 1.267 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/1.108, allocations: 0 / 1.267 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003786/1.108, allocations: 193.8 kB / 1.267 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.737e-05/1.108, allocations: 87.28 kB / 1.267 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/1.108, allocations: 1.516 kB / 1.267 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/1.108, allocations: 10.94 kB / 1.267 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.536e-05/1.108, allocations: 3.766 kB / 1.267 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/1.108, allocations: 1.156 kB / 1.267 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.756e-05/1.108, allocations: 91.91 kB / 1.267 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/1.108, allocations: 0 / 1.267 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002169/1.109, allocations: 11.39 kB / 1.267 GB, free: 4.301 MB / 0.9981 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.0001271/1.109, allocations: 106.2 kB / 1.267 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003843/1.109, allocations: 71.06 kB / 1.267 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/1.109, allocations: 0 / 1.267 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001692/1.109, allocations: 34.72 kB / 1.267 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/1.11, allocations: 17.11 kB / 1.267 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003687/1.11, allocations: 167.4 kB / 1.268 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001427/1.11, allocations: 0.6805 MB / 1.268 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.701e-05/1.11, allocations: 9.844 kB / 1.268 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of SimCode: time 2.2e-07/1.11, allocations: 0 / 1.268 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of Templates: time 0.002934/1.113, allocations: 0.7614 MB / 1.269 GB, free: 3.273 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe 2>&1) [Timeout 800] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.81157681089826]