Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.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.001041/0.001041, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001608/0.002649, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001043/0.001043, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001365/0.002408, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.945/0.945, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0931/1.038, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.828/1.828, allocations: 378.4 MB / 0.6079 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4244/2.253, allocations: 123.3 MB / 0.7283 GB, free: 5.711 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.DryFluid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cyc.etaThe",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid") translateModel(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cyc.etaThe",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.7297 GB, free: 4.387 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.26e-05/1.416e-05, allocations: 2.859 kB / 0.7297 GB, free: 4.383 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.00317/0.003184, allocations: 2.129 MB / 0.7317 GB, free: 2.285 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002214/0.005398, allocations: 1.392 MB / 0.7331 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.63e-05/0.005494, allocations: 0.9375 kB / 0.7331 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005609/0.006055, allocations: 242.9 kB / 0.7333 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0008226/0.006878, allocations: 421.3 kB / 0.7337 GB, free: 268 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 6.422e-06/0.006884, allocations: 0 / 0.7337 GB, free: 268 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0004076/0.007292, allocations: 406.3 kB / 0.7341 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 5.536e-05/0.007347, allocations: 15.56 kB / 0.7341 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002757/0.007623, allocations: 233.1 kB / 0.7344 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002455/0.007868, allocations: 179.4 kB / 0.7345 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.688e-05/0.007905, allocations: 21.12 kB / 0.7345 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005713/0.008476, allocations: 311.5 kB / 0.7348 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.000292/0.008768, allocations: 368.2 kB / 0.7352 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001818/0.00895, allocations: 163.6 kB / 0.7354 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0006968/0.009647, allocations: 0.5816 MB / 0.7359 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.211e-05/0.009659, allocations: 0 / 0.7359 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.82e-07/0.00966, allocations: 0 / 0.7359 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.64e-05/0.009676, allocations: 0 / 0.7359 GB, free: 14.02 MB / 0.7136 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.001141/0.01082, allocations: 0.9758 MB / 0.7369 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.01085, allocations: 12.89 kB / 0.7369 GB, free: 13 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003895/0.01124, allocations: 186.9 kB / 0.7371 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003901/0.01163, allocations: 478.5 kB / 0.7375 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.01165, allocations: 16.31 kB / 0.7375 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.01167, allocations: 12.38 kB / 0.7375 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.01188, allocations: 160.3 kB / 0.7377 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.617e-06/0.01189, allocations: 192 / 0.7377 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.0119, allocations: 4.375 kB / 0.7377 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.01191, allocations: 9.188 kB / 0.7377 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001538/0.01207, allocations: 112.8 kB / 0.7378 GB, free: 12 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000798/0.01286, allocations: 0.6518 MB / 0.7385 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002562/0.01312, allocations: 174.3 kB / 0.7386 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.388e-05/0.01317, allocations: 40.84 kB / 0.7387 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.609e-05/0.01321, allocations: 23.98 kB / 0.7387 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.01323, allocations: 34.5 kB / 0.7387 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=19): time 1.052e-06/0.01323, allocations: 1.219 kB / 0.7387 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19): time 0.000244/0.01348, allocations: 145.9 kB / 0.7389 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.01351, allocations: 55.41 kB / 0.7389 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005816/0.01409, allocations: 0.873 MB / 0.7398 GB, free: 9.938 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.01411, allocations: 30.45 kB / 0.7398 GB, free: 9.902 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001977/0.01431, allocations: 206.1 kB / 0.74 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.199e-05/0.01434, allocations: 68.11 kB / 0.7401 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.092e-05/0.0144, allocations: 61.61 kB / 0.7401 GB, free: 9.566 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.506e-05/0.01446, allocations: 314.8 kB / 0.7404 GB, free: 9.254 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.68e-05/0.01454, allocations: 50.81 kB / 0.7405 GB, free: 9.203 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.623e-05/0.01463, allocations: 75 kB / 0.7405 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/0.0148, allocations: 145.2 kB / 0.7407 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.0148, allocations: 1.031 kB / 0.7407 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002417/0.01505, allocations: 207.7 kB / 0.7409 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.01506, allocations: 4.938 kB / 0.7409 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.351e-06/0.01506, allocations: 4 kB / 0.7409 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.01507, allocations: 3.984 kB / 0.7409 GB, free: 8.754 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.01525, allocations: 72.52 kB / 0.741 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.955e-06/0.01525, allocations: 2.75 kB / 0.741 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.01537, allocations: 35.75 kB / 0.741 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.01538, allocations: 4 kB / 0.741 GB, free: 8.645 MB / 0.7136 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 8.491e-05/0.01547, allocations: 120.6 kB / 0.7411 GB, free: 8.516 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.699e-05/0.01551, allocations: 47.94 kB / 0.7412 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002001/0.01571, allocations: 177.1 kB / 0.7413 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.01572, allocations: 4 kB / 0.7413 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.01572, allocations: 0 / 0.7413 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.01572, allocations: 7.922 kB / 0.7413 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007146/0.01644, allocations: 0.8778 MB / 0.7422 GB, free: 7.297 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.01644, allocations: 4 kB / 0.7422 GB, free: 7.293 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.01655, allocations: 48.56 kB / 0.7422 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.208e-05/0.01661, allocations: 85.33 kB / 0.7423 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.01661, allocations: 4 kB / 0.7423 GB, free: 7.16 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.01662, allocations: 8 kB / 0.7423 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.01663, allocations: 4 kB / 0.7423 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.01663, allocations: 15.88 kB / 0.7424 GB, free: 7.133 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002224/0.01686, allocations: 323.4 kB / 0.7427 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.256e-05/0.0169, allocations: 12 kB / 0.7427 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.01702, allocations: 11.98 kB / 0.7427 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.938e-05/0.01705, allocations: 34.25 kB / 0.7427 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.868e-06/0.01706, allocations: 12 kB / 0.7427 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003203/0.01738, allocations: 0.5149 MB / 0.7432 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.01738, allocations: 0 / 0.7432 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002902/0.01767, allocations: 171.9 kB / 0.7434 GB, free: 5.973 MB / 0.7136 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.0001939/0.01786, allocations: 164.7 kB / 0.7436 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001889/0.01805, allocations: 159.7 kB / 0.7437 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.187e-05/0.01806, allocations: 8.969 kB / 0.7437 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.01821, allocations: 131.4 kB / 0.7438 GB, free: 5.512 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008492/0.01905, allocations: 1.914 MB / 0.7457 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008058/0.02711, allocations: 1.673 MB / 0.7473 GB, free: 1.461 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001238/0.02724, allocations: 214.7 kB / 0.7475 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.000135/0.02737, allocations: 73.31 kB / 0.7476 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002612/0.02763, allocations: 182 kB / 0.7478 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of SimCode: time 8.72e-07/0.02763, allocations: 0 / 0.7478 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of Templates: time 0.01269/0.04033, allocations: 12.26 MB / 0.7598 GB, free: 5.094 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.sim & ./Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid/Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.972269991412759]