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.001999/0.001999, allocations: 80.41 kB / 20.23 MB, free: 4.203 MB / 18.57 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.002495/0.002495, allocations: 161.7 kB / 23.55 MB, free: 0.8906 MB / 18.57 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.641/1.641, allocations: 177.1 MB / 203.9 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.99/2.99, allocations: 377.8 MB / 0.6232 GB, free: 8.516 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 3.256e-06/3.256e-06, allocations: 1.094 kB / 0.8108 GB, free: 2.043 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.954e-05/4.28e-05, allocations: 3.25 kB / 0.8108 GB, free: 2.039 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.005261/0.005303, allocations: 2.076 MB / 0.8129 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.003415/0.008718, allocations: 1.307 MB / 0.8141 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002316/0.00895, allocations: 4 kB / 0.8141 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0008642/0.009814, allocations: 235 kB / 0.8144 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0015/0.01131, allocations: 457.7 kB / 0.8148 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 1.956e-05/0.01133, allocations: 0 / 0.8148 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0008541/0.01219, allocations: 410.2 kB / 0.8152 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.526e-05/0.01226, allocations: 12.59 kB / 0.8152 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003642/0.01263, allocations: 187.9 kB / 0.8154 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003592/0.01299, allocations: 188 kB / 0.8156 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.001e-05/0.01304, allocations: 20 kB / 0.8156 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007513/0.01379, allocations: 284.3 kB / 0.8159 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0005157/0.0143, allocations: 383.1 kB / 0.8162 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0003385/0.01464, allocations: 192.7 kB / 0.8164 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001535/0.01618, allocations: 0.8565 MB / 0.8172 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 8.245e-06/0.01619, allocations: 4 kB / 0.8172 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.412e-06/0.01619, allocations: 1.375 kB / 0.8172 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.346e-05/0.01621, allocations: 0 / 0.8172 GB, free: 11.48 MB / 0.7761 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.002087/0.0183, allocations: 0.8801 MB / 0.8181 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.784e-05/0.01836, allocations: 8.531 kB / 0.8181 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008713/0.01923, allocations: 146.4 kB / 0.8182 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001408/0.02063, allocations: 0.8614 MB / 0.8191 GB, free: 9.531 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.769e-05/0.02066, allocations: 13.22 kB / 0.8191 GB, free: 9.52 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.035e-05/0.0207, allocations: 12.38 kB / 0.8191 GB, free: 9.508 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/0.02206, allocations: 0.6343 MB / 0.8197 GB, free: 8.871 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.02207, allocations: 4.188 kB / 0.8197 GB, free: 8.867 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.057e-05/0.0221, allocations: 4.375 kB / 0.8197 GB, free: 8.863 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.02211, allocations: 7.938 kB / 0.8197 GB, free: 8.855 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00167/0.02378, allocations: 1.104 MB / 0.8208 GB, free: 7.754 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003493/0.02727, allocations: 1.906 MB / 0.8227 GB, free: 5.816 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000943/0.02822, allocations: 336.6 kB / 0.823 GB, free: 5.48 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004548/0.02867, allocations: 222.7 kB / 0.8232 GB, free: 5.262 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.228e-05/0.02874, allocations: 31.92 kB / 0.8233 GB, free: 5.23 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.02878, allocations: 34.56 kB / 0.8233 GB, free: 5.188 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=19): time 2.084e-06/0.02879, allocations: 0 / 0.8233 GB, free: 5.188 MB / 0.7761 GB Notification: Performance of matching and sorting (n=19): time 0.001566/0.03035, allocations: 0.7053 MB / 0.824 GB, free: 4.48 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.394e-05/0.03042, allocations: 62.98 kB / 0.824 GB, free: 4.41 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003257/0.03367, allocations: 2.067 MB / 0.8261 GB, free: 2.336 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.59e-05/0.03372, allocations: 29.7 kB / 0.8261 GB, free: 2.301 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003897/0.03411, allocations: 324.2 kB / 0.8264 GB, free: 1.98 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9.249e-05/0.0342, allocations: 67.42 kB / 0.8265 GB, free: 1.914 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/0.03435, allocations: 57.69 kB / 0.8265 GB, free: 1.852 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0004899/0.03484, allocations: 314 kB / 0.8268 GB, free: 1.539 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008189/0.03566, allocations: 0.531 MB / 0.8273 GB, free: 1.008 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000994/0.03665, allocations: 0.5499 MB / 0.8279 GB, free: 464 kB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001287/0.03794, allocations: 0.7705 MB / 0.8286 GB, free: 15.68 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.03794, allocations: 0 / 0.8286 GB, free: 15.68 MB / 0.7917 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002034/0.03998, allocations: 1.225 MB / 0.8298 GB, free: 14.45 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/0.04001, allocations: 4 kB / 0.8298 GB, free: 14.45 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.04002, allocations: 0 / 0.8298 GB, free: 14.45 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.733e-05/0.04004, allocations: 4.719 kB / 0.8298 GB, free: 14.44 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003823/0.04043, allocations: 68.61 kB / 0.8299 GB, free: 14.38 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.04044, allocations: 0 / 0.8299 GB, free: 14.38 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005231/0.04096, allocations: 44.64 kB / 0.8299 GB, free: 14.33 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.034e-05/0.041, allocations: 15.98 kB / 0.8299 GB, free: 14.32 MB / 0.7917 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.0004457/0.04145, allocations: 267.6 kB / 0.8302 GB, free: 14.05 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002187/0.04167, allocations: 79.53 kB / 0.8303 GB, free: 13.97 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001194/0.04286, allocations: 0.5387 MB / 0.8308 GB, free: 13.43 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.04287, allocations: 4 kB / 0.8308 GB, free: 13.42 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.116e-06/0.04288, allocations: 3.938 kB / 0.8308 GB, free: 13.42 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.04289, allocations: 3.984 kB / 0.8308 GB, free: 13.41 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004026/0.04691, allocations: 2.444 MB / 0.8332 GB, free: 10.88 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.496e-05/0.04693, allocations: 4 kB / 0.8332 GB, free: 10.87 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002913/0.04722, allocations: 55.89 kB / 0.8333 GB, free: 10.82 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.594e-05/0.04724, allocations: 8 kB / 0.8333 GB, free: 10.81 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.707e-05/0.04726, allocations: 4 kB / 0.8333 GB, free: 10.8 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.539e-05/0.04728, allocations: 12.34 kB / 0.8333 GB, free: 10.79 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.018e-05/0.04729, allocations: 11.94 kB / 0.8333 GB, free: 10.78 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001592/0.04888, allocations: 0.6521 MB / 0.8339 GB, free: 10.05 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002302/0.04911, allocations: 87.55 kB / 0.834 GB, free: 9.969 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.04923, allocations: 12 kB / 0.834 GB, free: 9.957 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003605/0.04959, allocations: 23.92 kB / 0.834 GB, free: 9.934 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.394e-05/0.04968, allocations: 27.84 kB / 0.8341 GB, free: 9.906 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-05/0.0497, allocations: 12 kB / 0.8341 GB, free: 9.895 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002313/0.05202, allocations: 1.585 MB / 0.8356 GB, free: 8.312 MB / 0.7917 GB Notification: Performance of sort global known variables: time 8e-08/0.05202, allocations: 0 / 0.8356 GB, free: 8.312 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0007322/0.05275, allocations: 171.9 kB / 0.8358 GB, free: 8.145 MB / 0.7917 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.0004708/0.05322, allocations: 179 kB / 0.836 GB, free: 7.961 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001359/0.05458, allocations: 0.7673 MB / 0.8367 GB, free: 7.195 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.05459, allocations: 4 kB / 0.8367 GB, free: 7.191 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0004316/0.05502, allocations: 220.7 kB / 0.8369 GB, free: 6.977 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000976/0.05599, allocations: 188.3 kB / 0.8371 GB, free: 6.797 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003383/0.05938, allocations: 1.618 MB / 0.8387 GB, free: 5.086 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006699/0.06005, allocations: 406.6 kB / 0.8391 GB, free: 4.664 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0003743/0.06042, allocations: 88.39 kB / 0.8392 GB, free: 4.578 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001965/0.06062, allocations: 44.48 kB / 0.8392 GB, free: 4.531 MB / 0.7917 GB Notification: Performance of SimCode: time 1.123e-06/0.06062, allocations: 0 / 0.8392 GB, free: 4.531 MB / 0.7917 GB Notification: Performance of Templates: time 0.02444/0.08506, allocations: 10.59 MB / 0.8495 GB, free: 10.2 MB / 0.8073 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.003787224995904]