Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001754/0.001754, allocations: 79.28 kB / 19.76 MB, free: 2.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002164/0.002164, allocations: 158 kB / 23.01 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.468/1.468, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.935/2.935, allocations: 394.2 MB / 0.6387 GB, free: 11.9 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cyc.etaThe|cyc.dTSup",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid") translateModel(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cyc.etaThe|cyc.dTSup",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002348/0.002348, allocations: 59.91 kB / 1.009 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8881/0.8905, allocations: 181.8 MB / 1.187 GB, free: 16.17 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.002835/0.8933, allocations: 2.072 MB / 1.189 GB, free: 14.76 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001943/0.8952, allocations: 1.304 MB / 1.19 GB, free: 13.91 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.991e-05/0.8953, allocations: 6.469 kB / 1.19 GB, free: 13.9 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006101/0.8959, allocations: 236.4 kB / 1.19 GB, free: 13.83 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0009632/0.8969, allocations: 452.3 kB / 1.191 GB, free: 13.62 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 8.075e-06/0.8969, allocations: 1.281 kB / 1.191 GB, free: 13.62 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003428/0.8972, allocations: 392 kB / 1.191 GB, free: 13.45 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.969e-05/0.8973, allocations: 11.48 kB / 1.191 GB, free: 13.45 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.8974, allocations: 145 kB / 1.191 GB, free: 13.38 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000234/0.8977, allocations: 203.5 kB / 1.191 GB, free: 13.3 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.721e-05/0.8977, allocations: 21.72 kB / 1.191 GB, free: 13.3 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005348/0.8982, allocations: 276.6 kB / 1.192 GB, free: 13.24 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003308/0.8986, allocations: 373.9 kB / 1.192 GB, free: 13.14 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002464/0.8988, allocations: 248.4 kB / 1.192 GB, free: 13.03 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001075/0.8999, allocations: 0.8551 MB / 1.193 GB, free: 12.75 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.8999, allocations: 5.125 kB / 1.193 GB, free: 12.75 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8999, allocations: 0 / 1.193 GB, free: 12.75 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.8999, allocations: 0 / 1.193 GB, free: 12.75 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001232/0.9011, allocations: 0.8873 MB / 1.194 GB, free: 12.09 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.9012, allocations: 10.19 kB / 1.194 GB, free: 12.09 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006253/0.9018, allocations: 131.3 kB / 1.194 GB, free: 12.05 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.9028, allocations: 0.8652 MB / 1.195 GB, free: 11.59 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.9029, allocations: 13.97 kB / 1.195 GB, free: 11.58 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.196e-05/0.9029, allocations: 17.78 kB / 1.195 GB, free: 11.57 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009025/0.9038, allocations: 0.6382 MB / 1.196 GB, free: 11.39 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.9038, allocations: 0.6562 kB / 1.196 GB, free: 11.39 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.364e-05/0.9038, allocations: 6.438 kB / 1.196 GB, free: 11.39 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.9038, allocations: 2.719 kB / 1.196 GB, free: 11.39 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001384/0.9052, allocations: 1.102 MB / 1.197 GB, free: 11.14 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002556/0.9078, allocations: 1.913 MB / 1.198 GB, free: 10.46 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008141/0.9086, allocations: 335.4 kB / 1.199 GB, free: 10.36 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003568/0.909, allocations: 229.3 kB / 1.199 GB, free: 10.29 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 5.067e-05/0.909, allocations: 19.94 kB / 1.199 GB, free: 10.29 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.619e-05/0.909, allocations: 36.5 kB / 1.199 GB, free: 10.24 MB / 1.076 GB Notification: Performance of pre-optimization done (n=19): time 1.784e-06/0.909, allocations: 0 / 1.199 GB, free: 10.24 MB / 1.076 GB Notification: Performance of matching and sorting (n=19): time 0.001225/0.9102, allocations: 0.7008 MB / 1.2 GB, free: 10.02 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.9103, allocations: 53.56 kB / 1.2 GB, free: 9.957 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002263/0.9125, allocations: 2.067 MB / 1.202 GB, free: 9.242 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.9126, allocations: 31.05 kB / 1.202 GB, free: 9.207 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002028/0.9128, allocations: 327.9 kB / 1.202 GB, free: 8.941 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.302e-05/0.9128, allocations: 69.52 kB / 1.202 GB, free: 8.887 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.9129, allocations: 61.06 kB / 1.202 GB, free: 8.852 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.346e-05/0.913, allocations: 315.9 kB / 1.203 GB, free: 8.543 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005981/0.9136, allocations: 0.5278 MB / 1.203 GB, free: 8.422 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005991/0.9141, allocations: 0.5559 MB / 1.204 GB, free: 8.277 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009147/0.9151, allocations: 0.7685 MB / 1.204 GB, free: 8.062 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.9151, allocations: 0 / 1.204 GB, free: 8.062 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001427/0.9165, allocations: 1.21 MB / 1.206 GB, free: 7.723 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.9165, allocations: 11.66 kB / 1.206 GB, free: 7.719 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.9165, allocations: 2.047 kB / 1.206 GB, free: 7.719 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.9165, allocations: 1.125 kB / 1.206 GB, free: 7.719 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003368/0.9169, allocations: 64.94 kB / 1.206 GB, free: 7.715 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.9169, allocations: 2.031 kB / 1.206 GB, free: 7.715 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004107/0.9173, allocations: 32.34 kB / 1.206 GB, free: 7.699 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.876e-05/0.9173, allocations: 17.11 kB / 1.206 GB, free: 7.691 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (30): * Single equations (assignments): 30 * 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 0.0002692/0.9176, allocations: 272.9 kB / 1.206 GB, free: 7.527 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.853e-05/0.9177, allocations: 70.39 kB / 1.206 GB, free: 7.488 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000893/0.9186, allocations: 0.5381 MB / 1.207 GB, free: 7.312 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.9186, allocations: 6.312 kB / 1.207 GB, free: 7.309 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.9186, allocations: 1.75 kB / 1.207 GB, free: 7.309 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.9186, allocations: 4.688 kB / 1.207 GB, free: 7.305 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002782/0.9214, allocations: 2.447 MB / 1.209 GB, free: 6.324 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.9214, allocations: 4.953 kB / 1.209 GB, free: 6.324 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002507/0.9216, allocations: 54.47 kB / 1.209 GB, free: 6.316 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.9216, allocations: 9.312 kB / 1.209 GB, free: 6.312 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.403e-05/0.9217, allocations: 12.59 kB / 1.209 GB, free: 6.309 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/0.9217, allocations: 9.828 kB / 1.209 GB, free: 6.305 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.9217, allocations: 9.609 kB / 1.209 GB, free: 6.301 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008273/0.9225, allocations: 0.6543 MB / 1.21 GB, free: 5.934 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001729/0.9227, allocations: 87.78 kB / 1.21 GB, free: 5.883 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.09e-05/0.9228, allocations: 7.906 kB / 1.21 GB, free: 5.883 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003119/0.9231, allocations: 23.72 kB / 1.21 GB, free: 5.875 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.434e-05/0.9231, allocations: 31.02 kB / 1.21 GB, free: 5.863 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/0.9231, allocations: 13.94 kB / 1.21 GB, free: 5.859 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.00148/0.9246, allocations: 1.583 MB / 1.211 GB, free: 5.285 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.9246, allocations: 0 / 1.211 GB, free: 5.285 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006616/0.9253, allocations: 176.2 kB / 1.212 GB, free: 5.266 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (19): * Single equations (assignments): 19 * 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.0002608/0.9256, allocations: 165.1 kB / 1.212 GB, free: 5.152 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001017/0.9266, allocations: 0.7676 MB / 1.212 GB, free: 4.969 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.9266, allocations: 0.9688 kB / 1.212 GB, free: 4.969 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003479/0.9269, allocations: 229.2 kB / 1.213 GB, free: 4.906 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007681/0.9277, allocations: 169.9 kB / 1.213 GB, free: 4.84 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002118/0.9298, allocations: 1.621 MB / 1.214 GB, free: 3.973 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000432/0.9302, allocations: 407.1 kB / 1.215 GB, free: 3.832 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002461/0.9305, allocations: 92.17 kB / 1.215 GB, free: 3.805 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.9306, allocations: 44.03 kB / 1.215 GB, free: 3.793 MB / 1.076 GB Notification: Performance of SimCode: time 4.21e-07/0.9306, allocations: 1.125 kB / 1.215 GB, free: 3.793 MB / 1.076 GB Notification: Performance of Templates: time 0.01921/0.9498, allocations: 10.73 MB / 1.225 GB, free: 2.57 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.sim & ./Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.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: 9.04190898698289]