Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001697/0.001697, allocations: 107.9 kB / 16.45 MB, free: 6.453 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.001911/0.001911, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.543/1.543, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.349/3.349, allocations: 0.4899 GB / 0.7916 GB, free: 33.57 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002322/0.002322, allocations: 64.47 kB / 1.149 GB, free: 26.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4237/0.426, allocations: 176.1 MB / 1.321 GB, free: 2.812 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.003469/0.4294, allocations: 2.224 MB / 1.323 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002392/0.4318, allocations: 1.402 MB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.9e-05/0.4319, allocations: 11.94 kB / 1.325 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006351/0.4326, allocations: 251.1 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0009805/0.4335, allocations: 437.9 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 8.135e-06/0.4336, allocations: 0 / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004478/0.434, allocations: 394.5 kB / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 7.584e-05/0.4341, allocations: 20.38 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.4342, allocations: 147.4 kB / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000247/0.4345, allocations: 215.1 kB / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.79e-05/0.4345, allocations: 24 kB / 1.326 GB, free: 13.69 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004792/0.435, allocations: 275.7 kB / 1.326 GB, free: 13.42 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000345/0.4353, allocations: 375 kB / 1.327 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002874/0.4356, allocations: 302.2 kB / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009426/0.4366, allocations: 0.8443 MB / 1.328 GB, free: 11.91 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.4366, allocations: 3.938 kB / 1.328 GB, free: 11.9 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4366, allocations: 0 / 1.328 GB, free: 11.9 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.707e-06/0.4366, allocations: 7.938 kB / 1.328 GB, free: 11.89 MB / 1.029 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.001239/0.4378, allocations: 0.9671 MB / 1.329 GB, free: 10.88 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.4379, allocations: 11.98 kB / 1.329 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000639/0.4385, allocations: 128.4 kB / 1.329 GB, free: 10.74 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.4396, allocations: 0.9147 MB / 1.33 GB, free: 9.781 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.4396, allocations: 12.38 kB / 1.33 GB, free: 9.77 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.25e-05/0.4396, allocations: 16.38 kB / 1.33 GB, free: 9.754 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009414/0.4406, allocations: 0.6382 MB / 1.331 GB, free: 9.109 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.4406, allocations: 0 / 1.331 GB, free: 9.109 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.564e-05/0.4406, allocations: 4 kB / 1.331 GB, free: 9.105 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.968e-06/0.4406, allocations: 4 kB / 1.331 GB, free: 9.102 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00142/0.4421, allocations: 1.109 MB / 1.332 GB, free: 7.992 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002622/0.4447, allocations: 2.047 MB / 1.334 GB, free: 5.895 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007977/0.4455, allocations: 336.2 kB / 1.334 GB, free: 5.559 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003879/0.4459, allocations: 224.7 kB / 1.334 GB, free: 5.336 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.477e-05/0.4459, allocations: 23.98 kB / 1.334 GB, free: 5.312 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.4459, allocations: 34.5 kB / 1.334 GB, free: 5.27 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 1.402e-06/0.4459, allocations: 8 kB / 1.334 GB, free: 5.262 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.001309/0.4473, allocations: 0.6939 MB / 1.335 GB, free: 4.562 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.004e-05/0.4473, allocations: 59.39 kB / 1.335 GB, free: 4.492 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002689/0.45, allocations: 2.078 MB / 1.337 GB, free: 2.402 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.819e-05/0.45, allocations: 29.7 kB / 1.337 GB, free: 2.367 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003333/0.4504, allocations: 340.2 kB / 1.337 GB, free: 2.031 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.695e-05/0.4504, allocations: 63.44 kB / 1.337 GB, free: 1.969 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/0.4506, allocations: 61.69 kB / 1.338 GB, free: 1.902 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001904/0.4508, allocations: 318 kB / 1.338 GB, free: 1.586 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000727/0.4515, allocations: 0.5271 MB / 1.338 GB, free: 1.059 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007026/0.4522, allocations: 0.5522 MB / 1.339 GB, free: 0.5 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/0.4533, allocations: 0.7674 MB / 1.34 GB, free: 15.73 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4533, allocations: 0 / 1.34 GB, free: 15.73 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001695/0.455, allocations: 1.215 MB / 1.341 GB, free: 14.5 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.455, allocations: 8 kB / 1.341 GB, free: 14.5 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.455, allocations: 0 / 1.341 GB, free: 14.5 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/0.455, allocations: 0 / 1.341 GB, free: 14.5 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003332/0.4554, allocations: 67.89 kB / 1.341 GB, free: 14.43 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.4554, allocations: 4 kB / 1.341 GB, free: 14.43 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000371/0.4557, allocations: 35.84 kB / 1.341 GB, free: 14.39 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.997e-05/0.4558, allocations: 11.98 kB / 1.341 GB, free: 14.38 MB / 1.045 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.000378/0.4562, allocations: 269.7 kB / 1.341 GB, free: 14.11 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/0.4563, allocations: 75.47 kB / 1.341 GB, free: 14.03 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/0.4573, allocations: 0.5389 MB / 1.342 GB, free: 13.48 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.4573, allocations: 4 kB / 1.342 GB, free: 13.48 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.4574, allocations: 0 / 1.342 GB, free: 13.48 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.4574, allocations: 7.922 kB / 1.342 GB, free: 13.47 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003492/0.4609, allocations: 2.582 MB / 1.344 GB, free: 10.77 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.106e-06/0.4609, allocations: 4 kB / 1.344 GB, free: 10.77 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002592/0.4611, allocations: 56.48 kB / 1.344 GB, free: 10.71 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-06/0.4611, allocations: 8 kB / 1.344 GB, free: 10.71 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.503e-05/0.4612, allocations: 8 kB / 1.344 GB, free: 10.7 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.017e-06/0.4612, allocations: 11.94 kB / 1.344 GB, free: 10.69 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.478e-06/0.4612, allocations: 4 kB / 1.344 GB, free: 10.68 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/0.4622, allocations: 0.6617 MB / 1.345 GB, free: 9.949 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001851/0.4624, allocations: 164.7 kB / 1.345 GB, free: 9.77 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.104e-05/0.4625, allocations: 8 kB / 1.345 GB, free: 9.762 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003033/0.4628, allocations: 19.98 kB / 1.345 GB, free: 9.742 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.156e-05/0.4629, allocations: 31.83 kB / 1.345 GB, free: 9.711 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.256e-05/0.4629, allocations: 15.94 kB / 1.345 GB, free: 9.695 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001831/0.4647, allocations: 1.596 MB / 1.347 GB, free: 8.105 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4647, allocations: 0 / 1.347 GB, free: 8.105 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0006316/0.4654, allocations: 167.9 kB / 1.347 GB, free: 7.941 MB / 1.045 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.0003671/0.4657, allocations: 167 kB / 1.347 GB, free: 7.766 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001179/0.4669, allocations: 0.769 MB / 1.348 GB, free: 6.996 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.4669, allocations: 0 / 1.348 GB, free: 6.996 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003711/0.4673, allocations: 224.6 kB / 1.348 GB, free: 6.777 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008542/0.4681, allocations: 183 kB / 1.348 GB, free: 6.598 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0025/0.4706, allocations: 1.598 MB / 1.35 GB, free: 4.914 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007223/0.4714, allocations: 1.003 MB / 1.351 GB, free: 3.887 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.00024/0.4716, allocations: 84.55 kB / 1.351 GB, free: 3.801 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.4717, allocations: 51.36 kB / 1.351 GB, free: 3.75 MB / 1.045 GB Notification: Performance of SimCode: time 3.91e-07/0.4717, allocations: 0 / 1.351 GB, free: 3.75 MB / 1.045 GB Notification: Performance of Templates: time 0.02001/0.4917, allocations: 10.51 MB / 1.361 GB, free: 9.367 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.sim & ./Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.991825597826391]