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.0009254/0.0009254, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0009301/0.0009301, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8972/0.8972, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.822/1.822, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.393e-05/2.575e-05, allocations: 2.281 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.002163/0.002189, allocations: 2.074 MB / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001501/0.003689, allocations: 1.309 MB / 1.004 GB, free: 9.598 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.614e-05/0.003756, allocations: 0 / 1.004 GB, free: 9.598 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0004722/0.004228, allocations: 242.9 kB / 1.004 GB, free: 9.359 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0006378/0.004866, allocations: 448.5 kB / 1.005 GB, free: 8.922 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 6.522e-06/0.004872, allocations: 4 kB / 1.005 GB, free: 8.918 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003509/0.005223, allocations: 414.2 kB / 1.005 GB, free: 8.512 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 5.037e-05/0.005273, allocations: 12.59 kB / 1.005 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.005405, allocations: 187.4 kB / 1.005 GB, free: 8.316 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001504/0.005556, allocations: 179.4 kB / 1.006 GB, free: 8.141 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.469e-05/0.00558, allocations: 20 kB / 1.006 GB, free: 8.121 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003257/0.005906, allocations: 283.5 kB / 1.006 GB, free: 7.844 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0002078/0.006114, allocations: 387.1 kB / 1.006 GB, free: 7.465 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.006236, allocations: 191.5 kB / 1.006 GB, free: 7.277 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0006072/0.006843, allocations: 0.8566 MB / 1.007 GB, free: 6.418 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.006846, allocations: 4 kB / 1.007 GB, free: 6.414 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.323e-06/0.006847, allocations: 0 / 1.007 GB, free: 6.414 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.006853, allocations: 0 / 1.007 GB, free: 6.414 MB / 0.9636 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.0007772/0.00763, allocations: 0.8878 MB / 1.008 GB, free: 5.492 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.00767, allocations: 13.34 kB / 1.008 GB, free: 5.48 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003291/0.007999, allocations: 124.4 kB / 1.008 GB, free: 5.359 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006334/0.008632, allocations: 0.8575 MB / 1.009 GB, free: 4.473 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.008651, allocations: 16.38 kB / 1.009 GB, free: 4.457 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.008676, allocations: 20.38 kB / 1.009 GB, free: 4.438 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005248/0.0092, allocations: 0.6283 MB / 1.01 GB, free: 3.805 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.00921, allocations: 4.188 kB / 1.01 GB, free: 3.801 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.009229, allocations: 4.375 kB / 1.01 GB, free: 3.797 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.009236, allocations: 7.938 kB / 1.01 GB, free: 3.789 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008015/0.01004, allocations: 1.105 MB / 1.011 GB, free: 2.684 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001648/0.01169, allocations: 1.91 MB / 1.013 GB, free: 0.7422 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004601/0.01215, allocations: 338.6 kB / 1.013 GB, free: 412 kB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002199/0.01237, allocations: 225 kB / 1.013 GB, free: 184 kB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 4.037e-05/0.01241, allocations: 31.88 kB / 1.013 GB, free: 152 kB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.01242, allocations: 34.56 kB / 1.013 GB, free: 108 kB / 0.9636 GB Notification: Performance of pre-optimization done (n=19): time 2.244e-06/0.01243, allocations: 0 / 1.013 GB, free: 108 kB / 0.9636 GB Notification: Performance of matching and sorting (n=19): time 0.0007504/0.01318, allocations: 0.6946 MB / 1.014 GB, free: 15.41 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.01321, allocations: 63.34 kB / 1.014 GB, free: 15.33 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001449/0.01466, allocations: 2.063 MB / 1.016 GB, free: 13.26 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.01468, allocations: 29.7 kB / 1.016 GB, free: 13.22 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001733/0.01485, allocations: 324.2 kB / 1.016 GB, free: 12.9 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 3.857e-05/0.01489, allocations: 71.36 kB / 1.017 GB, free: 12.83 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.178e-05/0.01496, allocations: 57.69 kB / 1.017 GB, free: 12.77 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 7.829e-05/0.01504, allocations: 318 kB / 1.017 GB, free: 12.45 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003772/0.01542, allocations: 0.5271 MB / 1.017 GB, free: 11.93 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003871/0.0158, allocations: 0.5561 MB / 1.018 GB, free: 11.36 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006122/0.01642, allocations: 0.7728 MB / 1.019 GB, free: 10.59 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.01642, allocations: 0 / 1.019 GB, free: 10.59 MB / 0.9792 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009599/0.01738, allocations: 1.208 MB / 1.02 GB, free: 9.371 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.0174, allocations: 4 kB / 1.02 GB, free: 9.367 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.0174, allocations: 0 / 1.02 GB, free: 9.367 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.01742, allocations: 7.984 kB / 1.02 GB, free: 9.359 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/0.01758, allocations: 71.83 kB / 1.02 GB, free: 9.289 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.01759, allocations: 0 / 1.02 GB, free: 9.289 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/0.01774, allocations: 31.83 kB / 1.02 GB, free: 9.258 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.01775, allocations: 11.98 kB / 1.02 GB, free: 9.246 MB / 0.9792 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.000182/0.01793, allocations: 273.7 kB / 1.02 GB, free: 8.969 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.746e-05/0.01799, allocations: 71.53 kB / 1.02 GB, free: 8.898 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005502/0.01854, allocations: 0.5348 MB / 1.021 GB, free: 8.348 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.01855, allocations: 4 kB / 1.021 GB, free: 8.344 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.01855, allocations: 11.94 kB / 1.021 GB, free: 8.332 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.01856, allocations: 3.984 kB / 1.021 GB, free: 8.328 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001949/0.02051, allocations: 2.449 MB / 1.023 GB, free: 5.781 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.02051, allocations: 4 kB / 1.023 GB, free: 5.777 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.02062, allocations: 43.97 kB / 1.023 GB, free: 5.734 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.02063, allocations: 11.94 kB / 1.023 GB, free: 5.723 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.02064, allocations: 15.98 kB / 1.023 GB, free: 5.707 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.02065, allocations: 8.375 kB / 1.023 GB, free: 5.699 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.02065, allocations: 8 kB / 1.023 GB, free: 5.691 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005231/0.02118, allocations: 0.6539 MB / 1.024 GB, free: 4.965 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 7.786e-05/0.02125, allocations: 83.48 kB / 1.024 GB, free: 4.883 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.562e-05/0.0213, allocations: 8 kB / 1.024 GB, free: 4.875 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.02144, allocations: 27.92 kB / 1.024 GB, free: 4.848 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.559e-05/0.02148, allocations: 35.78 kB / 1.024 GB, free: 4.812 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.02149, allocations: 8 kB / 1.024 GB, free: 4.805 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0009616/0.02245, allocations: 1.585 MB / 1.026 GB, free: 3.227 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.4e-07/0.02245, allocations: 0 / 1.026 GB, free: 3.227 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.000368/0.02282, allocations: 175.9 kB / 1.026 GB, free: 3.055 MB / 0.9792 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.0002673/0.02309, allocations: 171 kB / 1.026 GB, free: 2.879 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0007286/0.02381, allocations: 0.7651 MB / 1.027 GB, free: 2.113 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.02382, allocations: 4 kB / 1.027 GB, free: 2.109 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.000198/0.02401, allocations: 220.6 kB / 1.027 GB, free: 1.895 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005111/0.02453, allocations: 171.2 kB / 1.027 GB, free: 1.727 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.02578, allocations: 1.414 MB / 1.029 GB, free: 228 kB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002208/0.026, allocations: 328.7 kB / 1.029 GB, free: 15.88 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.02611, allocations: 48.48 kB / 1.029 GB, free: 15.83 MB / 0.9948 GB Notification: Performance of SimCode: time 5.01e-07/0.02611, allocations: 0 / 1.029 GB, free: 15.83 MB / 0.9948 GB Notification: Performance of Templates: time 0.007354/0.03346, allocations: 8.927 MB / 1.038 GB, free: 6.965 MB / 0.9948 GB " [Timeout remaining time 300] 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 -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/jenkins/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: 7.727926551364362]