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.00217/0.00217, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.00293/0.00293, allocations: 168.7 kB / 22.46 MB, free: 5.359 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.6/1.6, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 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.943/2.943, allocations: 377.8 MB / 0.6221 GB, free: 12.58 MB / 0.5919 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 1.884e-06/1.884e-06, allocations: 0 / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.448e-05/3.636e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.004115/0.004151, allocations: 2.093 MB / 0.9835 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002923/0.007075, allocations: 1.297 MB / 0.9847 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.007177, allocations: 0 / 0.9847 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000747/0.007924, allocations: 250.9 kB / 0.985 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001151/0.009075, allocations: 453 kB / 0.9854 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 7.544e-06/0.009083, allocations: 0 / 0.9854 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004689/0.009551, allocations: 406.3 kB / 0.9858 GB, free: 7.445 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 7.266e-05/0.009624, allocations: 8.594 kB / 0.9858 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002329/0.009857, allocations: 195.4 kB / 0.986 GB, free: 7.246 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002991/0.01016, allocations: 183.4 kB / 0.9862 GB, free: 7.066 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.563e-05/0.0102, allocations: 24 kB / 0.9862 GB, free: 7.043 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006235/0.01083, allocations: 283.5 kB / 0.9865 GB, free: 6.766 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000417/0.01124, allocations: 387.1 kB / 0.9868 GB, free: 6.387 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002499/0.01149, allocations: 191.5 kB / 0.987 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001134/0.01263, allocations: 0.8566 MB / 0.9879 GB, free: 5.34 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.01263, allocations: 0 / 0.9879 GB, free: 5.34 MB / 0.9356 GB Notification: Performance of FrontEnd: time 9.42e-07/0.01263, allocations: 0 / 0.9879 GB, free: 5.34 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.738e-05/0.01265, allocations: 4 kB / 0.9879 GB, free: 5.336 MB / 0.9356 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.001295/0.01394, allocations: 0.8839 MB / 0.9887 GB, free: 4.418 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.01399, allocations: 8.031 kB / 0.9887 GB, free: 4.41 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007081/0.01469, allocations: 132.4 kB / 0.9889 GB, free: 4.281 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001166/0.01586, allocations: 0.8652 MB / 0.9897 GB, free: 3.387 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.01588, allocations: 8.375 kB / 0.9897 GB, free: 3.379 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.188e-05/0.01592, allocations: 16.38 kB / 0.9897 GB, free: 3.363 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009205/0.01684, allocations: 0.6277 MB / 0.9903 GB, free: 2.73 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.01685, allocations: 192 / 0.9903 GB, free: 2.73 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.131e-05/0.01688, allocations: 8.375 kB / 0.9903 GB, free: 2.723 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.01689, allocations: 3.938 kB / 0.9903 GB, free: 2.719 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001526/0.01842, allocations: 1.109 MB / 0.9914 GB, free: 1.609 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002811/0.02123, allocations: 1.91 MB / 0.9933 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008581/0.02209, allocations: 342.6 kB / 0.9936 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003975/0.02249, allocations: 220.8 kB / 0.9938 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 5.711e-05/0.02254, allocations: 23.98 kB / 0.9939 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/0.02258, allocations: 34.56 kB / 0.9939 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=19): time 5.671e-06/0.02259, allocations: 3.984 kB / 0.9939 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of matching and sorting (n=19): time 0.001348/0.02393, allocations: 0.7029 MB / 0.9946 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/0.02398, allocations: 59.34 kB / 0.9946 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002582/0.02657, allocations: 2.059 MB / 0.9966 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.146e-05/0.0266, allocations: 25.7 kB / 0.9967 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000321/0.02692, allocations: 332.2 kB / 0.997 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.171e-05/0.02698, allocations: 67.38 kB / 0.9971 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/0.02712, allocations: 65.58 kB / 0.9971 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001987/0.02732, allocations: 322 kB / 0.9974 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007101/0.02803, allocations: 0.531 MB / 0.9979 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007219/0.02875, allocations: 0.5522 MB / 0.9985 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/0.02985, allocations: 0.7684 MB / 0.9992 GB, free: 9.512 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.02986, allocations: 4 kB / 0.9992 GB, free: 9.508 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001642/0.0315, allocations: 1.204 MB / 1 GB, free: 8.297 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.03152, allocations: 9.875 kB / 1 GB, free: 8.289 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.03153, allocations: 0 / 1 GB, free: 8.289 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.03155, allocations: 0 / 1 GB, free: 8.289 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003644/0.03192, allocations: 71.83 kB / 1 GB, free: 8.219 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.03192, allocations: 4.031 kB / 1 GB, free: 8.215 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003625/0.03229, allocations: 27.88 kB / 1.001 GB, free: 8.188 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-05/0.03233, allocations: 15.98 kB / 1.001 GB, free: 8.172 MB / 0.9512 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.0003281/0.03265, allocations: 269.7 kB / 1.001 GB, free: 7.898 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.03277, allocations: 71.53 kB / 1.001 GB, free: 7.828 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001037/0.03381, allocations: 0.5349 MB / 1.001 GB, free: 7.285 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.03382, allocations: 4 kB / 1.001 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.03383, allocations: 7.875 kB / 1.001 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.984e-06/0.03383, allocations: 3.984 kB / 1.001 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003284/0.03712, allocations: 2.445 MB / 1.004 GB, free: 4.727 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.064e-06/0.03712, allocations: 4 kB / 1.004 GB, free: 4.723 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002679/0.03739, allocations: 60.44 kB / 1.004 GB, free: 4.664 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.804e-06/0.0374, allocations: 4 kB / 1.004 GB, free: 4.66 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.926e-05/0.03743, allocations: 15.98 kB / 1.004 GB, free: 4.645 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.109e-05/0.03744, allocations: 15.88 kB / 1.004 GB, free: 4.629 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.03745, allocations: 4 kB / 1.004 GB, free: 4.625 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.0385, allocations: 0.6546 MB / 1.005 GB, free: 3.898 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001581/0.03866, allocations: 79.5 kB / 1.005 GB, free: 3.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.03876, allocations: 15.98 kB / 1.005 GB, free: 3.805 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003274/0.03909, allocations: 23.92 kB / 1.005 GB, free: 3.781 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.671e-05/0.03914, allocations: 23.84 kB / 1.005 GB, free: 3.758 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.792e-05/0.03917, allocations: 16 kB / 1.005 GB, free: 3.742 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001786/0.04096, allocations: 1.581 MB / 1.006 GB, free: 2.168 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.04096, allocations: 0 / 1.006 GB, free: 2.168 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006394/0.0416, allocations: 175.8 kB / 1.006 GB, free: 1.996 MB / 0.9512 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.0003704/0.04197, allocations: 187 kB / 1.007 GB, free: 1.805 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001176/0.04314, allocations: 0.7612 MB / 1.007 GB, free: 1.043 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.04315, allocations: 4 kB / 1.007 GB, free: 1.039 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003919/0.04354, allocations: 219.9 kB / 1.008 GB, free: 0.8242 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008379/0.04438, allocations: 175.8 kB / 1.008 GB, free: 0.6523 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00253/0.04691, allocations: 1.595 MB / 1.009 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004887/0.0474, allocations: 406.8 kB / 1.01 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.000226/0.04762, allocations: 80.39 kB / 1.01 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001397/0.04776, allocations: 44.48 kB / 1.01 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of SimCode: time 7.01e-07/0.04776, allocations: 0 / 1.01 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of Templates: time 0.02003/0.0678, allocations: 10.55 MB / 1.02 GB, free: 4.109 MB / 0.9669 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: 8.968616336584091]