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.001389/0.001389, allocations: 77.86 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.00156/0.00156, allocations: 159.3 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.528/1.528, allocations: 177.2 MB / 203.4 MB, free: 8.988 MB / 190.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 2.88/2.88, allocations: 377.9 MB / 0.6228 GB, free: 12.56 MB / 0.5919 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.002358/0.002358, allocations: 63.91 kB / 0.982 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.186/1.188, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.003183/1.192, allocations: 2.073 MB / 1.156 GB, free: 31.91 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002327/1.194, allocations: 1.308 MB / 1.157 GB, free: 31.05 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/1.194, allocations: 0 / 1.157 GB, free: 31.05 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006691/1.195, allocations: 241.4 kB / 1.157 GB, free: 30.98 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0009292/1.196, allocations: 443.8 kB / 1.158 GB, free: 30.78 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 8.386e-06/1.196, allocations: 0 / 1.158 GB, free: 30.78 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003157/1.196, allocations: 393.6 kB / 1.158 GB, free: 30.61 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 6.028e-05/1.196, allocations: 9.969 kB / 1.158 GB, free: 30.61 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/1.196, allocations: 152.8 kB / 1.158 GB, free: 30.54 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002275/1.196, allocations: 202.3 kB / 1.159 GB, free: 30.46 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.519e-05/1.196, allocations: 21.81 kB / 1.159 GB, free: 30.46 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004877/1.197, allocations: 288 kB / 1.159 GB, free: 30.39 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002482/1.197, allocations: 364.7 kB / 1.159 GB, free: 30.3 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000226/1.197, allocations: 246.9 kB / 1.159 GB, free: 30.18 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0007692/1.198, allocations: 0.8598 MB / 1.16 GB, free: 29.91 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/1.198, allocations: 0 / 1.16 GB, free: 29.91 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.814e-06/1.198, allocations: 0 / 1.16 GB, free: 29.91 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.097e-06/1.198, allocations: 4 kB / 1.16 GB, free: 29.9 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.001081/1.199, allocations: 0.8881 MB / 1.161 GB, free: 29.24 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/1.199, allocations: 8.531 kB / 1.161 GB, free: 29.24 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005856/1.2, allocations: 132.2 kB / 1.161 GB, free: 29.2 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008304/1.201, allocations: 0.8568 MB / 1.162 GB, free: 28.75 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/1.201, allocations: 10.12 kB / 1.162 GB, free: 28.74 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.998e-05/1.201, allocations: 15.62 kB / 1.162 GB, free: 28.74 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006858/1.201, allocations: 0.6399 MB / 1.163 GB, free: 28.55 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/1.201, allocations: 0 / 1.163 GB, free: 28.55 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.313e-05/1.202, allocations: 6.156 kB / 1.163 GB, free: 28.55 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/1.202, allocations: 4.562 kB / 1.163 GB, free: 28.55 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/1.203, allocations: 1.109 MB / 1.164 GB, free: 28.3 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002099/1.205, allocations: 1.913 MB / 1.166 GB, free: 27.62 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007526/1.205, allocations: 331.1 kB / 1.166 GB, free: 27.52 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003056/1.206, allocations: 228.7 kB / 1.166 GB, free: 27.45 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.697e-05/1.206, allocations: 30.81 kB / 1.166 GB, free: 27.44 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.696e-05/1.206, allocations: 33.19 kB / 1.166 GB, free: 27.4 MB / 1.076 GB Notification: Performance of pre-optimization done (n=19): time 1.533e-06/1.206, allocations: 0 / 1.166 GB, free: 27.4 MB / 1.076 GB Notification: Performance of matching and sorting (n=19): time 0.001289/1.207, allocations: 0.7018 MB / 1.167 GB, free: 27.18 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/1.207, allocations: 57.41 kB / 1.167 GB, free: 27.11 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002908/1.21, allocations: 2.062 MB / 1.169 GB, free: 26.39 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/1.21, allocations: 26.73 kB / 1.169 GB, free: 26.36 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002252/1.21, allocations: 330.7 kB / 1.169 GB, free: 26.09 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.487e-05/1.21, allocations: 70.11 kB / 1.17 GB, free: 26.04 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/1.21, allocations: 55.98 kB / 1.17 GB, free: 26.01 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.432e-05/1.211, allocations: 316.6 kB / 1.17 GB, free: 25.7 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006236/1.211, allocations: 0.5294 MB / 1.17 GB, free: 25.58 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006365/1.212, allocations: 0.5558 MB / 1.171 GB, free: 25.43 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/1.213, allocations: 0.7699 MB / 1.172 GB, free: 25.21 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/1.213, allocations: 0 / 1.172 GB, free: 25.21 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001546/1.214, allocations: 1.207 MB / 1.173 GB, free: 24.88 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/1.214, allocations: 9.25 kB / 1.173 GB, free: 24.88 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/1.214, allocations: 5.031 kB / 1.173 GB, free: 24.87 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/1.214, allocations: 5.719 kB / 1.173 GB, free: 24.87 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003462/1.215, allocations: 64.89 kB / 1.173 GB, free: 24.86 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/1.215, allocations: 2.906 kB / 1.173 GB, free: 24.86 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003889/1.215, allocations: 33.55 kB / 1.173 GB, free: 24.85 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.763e-05/1.215, allocations: 7.156 kB / 1.173 GB, free: 24.85 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.0003011/1.215, allocations: 274.3 kB / 1.173 GB, free: 24.68 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/1.216, allocations: 81.05 kB / 1.173 GB, free: 24.63 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009556/1.217, allocations: 0.5361 MB / 1.174 GB, free: 24.46 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.595e-06/1.217, allocations: 2.406 kB / 1.174 GB, free: 24.46 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/1.217, allocations: 0 / 1.174 GB, free: 24.46 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/1.217, allocations: 8.312 kB / 1.174 GB, free: 24.45 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003349/1.22, allocations: 2.45 MB / 1.176 GB, free: 23.47 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/1.22, allocations: 3.469 kB / 1.176 GB, free: 23.47 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002592/1.22, allocations: 50.25 kB / 1.176 GB, free: 23.46 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.167e-05/1.22, allocations: 14.03 kB / 1.176 GB, free: 23.46 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.768e-05/1.22, allocations: 10.94 kB / 1.176 GB, free: 23.45 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.005e-06/1.22, allocations: 8.969 kB / 1.176 GB, free: 23.45 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-06/1.22, allocations: 9.094 kB / 1.176 GB, free: 23.45 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009456/1.221, allocations: 0.6561 MB / 1.177 GB, free: 23.08 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001773/1.221, allocations: 89.34 kB / 1.177 GB, free: 23.03 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.867e-05/1.221, allocations: 6.406 kB / 1.177 GB, free: 23.03 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003181/1.222, allocations: 19.03 kB / 1.177 GB, free: 23.03 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.348e-05/1.222, allocations: 39.67 kB / 1.177 GB, free: 23.01 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/1.222, allocations: 9.531 kB / 1.177 GB, free: 23.01 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001856/1.224, allocations: 1.587 MB / 1.179 GB, free: 22.43 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/1.224, allocations: 1.062 kB / 1.179 GB, free: 22.43 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0007077/1.224, allocations: 169 kB / 1.179 GB, free: 22.41 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.0003972/1.225, allocations: 163 kB / 1.179 GB, free: 22.3 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001322/1.226, allocations: 0.7702 MB / 1.18 GB, free: 22.12 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/1.226, allocations: 5.375 kB / 1.18 GB, free: 22.11 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0004125/1.227, allocations: 220.5 kB / 1.18 GB, free: 22.06 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/1.228, allocations: 173.9 kB / 1.18 GB, free: 21.99 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002847/1.23, allocations: 1.628 MB / 1.182 GB, free: 21.11 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005716/1.231, allocations: 406.8 kB / 1.182 GB, free: 20.98 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003233/1.231, allocations: 87.25 kB / 1.182 GB, free: 20.95 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/1.231, allocations: 45.3 kB / 1.182 GB, free: 20.94 MB / 1.076 GB Notification: Performance of SimCode: time 1.303e-06/1.231, allocations: 3.938 kB / 1.182 GB, free: 20.94 MB / 1.076 GB Notification: Performance of Templates: time 0.02563/1.257, allocations: 10.72 MB / 1.193 GB, free: 19.76 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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.899116136017255]