Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.000758/0.000758, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009486/0.001707, allocations: 435.8 kB / 10.33 MB, free: 368 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.000808/0.000808, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008854/0.001693, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.973/0.973, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09482/1.068, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.376/2.376, allocations: 446.7 MB / 0.6745 GB, free: 6.223 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2623/2.638, allocations: 145.9 MB / 0.817 GB, free: 4.234 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.DryFluid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cyc.etaThe",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.8183 GB, free: 2.91 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.467e-05/1.601e-05, allocations: 4.703 kB / 0.8183 GB, free: 2.906 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.002424/0.00244, allocations: 2.131 MB / 0.8204 GB, free: 0.7578 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001756/0.004196, allocations: 1.394 MB / 0.8218 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.292e-05/0.004268, allocations: 0 / 0.8218 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0004108/0.004679, allocations: 235 kB / 0.822 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0007297/0.005409, allocations: 414.4 kB / 0.8224 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 6.582e-06/0.005416, allocations: 0 / 0.8224 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002969/0.005712, allocations: 402.3 kB / 0.8228 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 5.919e-05/0.005772, allocations: 26.53 kB / 0.8228 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001862/0.005958, allocations: 237 kB / 0.823 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001692/0.006127, allocations: 171.4 kB / 0.8232 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.616e-05/0.006153, allocations: 20 kB / 0.8232 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000416/0.006569, allocations: 311.5 kB / 0.8235 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0002225/0.006792, allocations: 359.3 kB / 0.8238 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.006924, allocations: 167.6 kB / 0.824 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0005234/0.007447, allocations: 0.5916 MB / 0.8246 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.474e-05/0.007462, allocations: 0 / 0.8246 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.193e-06/0.007463, allocations: 4 kB / 0.8246 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.516e-05/0.007478, allocations: 0 / 0.8246 GB, free: 12.46 MB / 0.8073 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.0009177/0.008396, allocations: 0.9642 MB / 0.8255 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.008432, allocations: 12.03 kB / 0.8255 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003533/0.008786, allocations: 173.9 kB / 0.8257 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007282/0.009514, allocations: 489.1 kB / 0.8262 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.009533, allocations: 12.38 kB / 0.8262 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.009552, allocations: 12.38 kB / 0.8262 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002279/0.00978, allocations: 167 kB / 0.8263 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.009791, allocations: 4.125 kB / 0.8263 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.009809, allocations: 8.375 kB / 0.8263 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.009816, allocations: 7.938 kB / 0.8264 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001535/0.00997, allocations: 107.8 kB / 0.8265 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008325/0.0108, allocations: 0.6508 MB / 0.8271 GB, free: 9.77 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002515/0.01105, allocations: 162.4 kB / 0.8272 GB, free: 9.602 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.249e-05/0.01111, allocations: 40.83 kB / 0.8273 GB, free: 9.559 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.165e-05/0.01115, allocations: 27.98 kB / 0.8273 GB, free: 9.531 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.01117, allocations: 34.5 kB / 0.8273 GB, free: 9.488 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=19): time 2.445e-06/0.01117, allocations: 0 / 0.8273 GB, free: 9.488 MB / 0.8073 GB Notification: Performance of matching and sorting (n=19): time 0.000247/0.01142, allocations: 153.3 kB / 0.8275 GB, free: 9.336 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.01146, allocations: 55.41 kB / 0.8275 GB, free: 9.27 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005718/0.01203, allocations: 0.8764 MB / 0.8284 GB, free: 8.383 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.01204, allocations: 25.7 kB / 0.8284 GB, free: 8.352 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.01215, allocations: 206.1 kB / 0.8286 GB, free: 8.145 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.158e-05/0.01219, allocations: 75.41 kB / 0.8287 GB, free: 8.07 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.627e-05/0.01226, allocations: 53.62 kB / 0.8287 GB, free: 8.012 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.905e-05/0.01236, allocations: 318 kB / 0.8291 GB, free: 7.695 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.226e-05/0.01244, allocations: 46.81 kB / 0.8291 GB, free: 7.648 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.258e-05/0.01253, allocations: 77.67 kB / 0.8292 GB, free: 7.566 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.0127, allocations: 143.2 kB / 0.8293 GB, free: 7.418 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.01271, allocations: 0 / 0.8293 GB, free: 7.418 MB / 0.8073 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003504/0.01306, allocations: 203.8 kB / 0.8295 GB, free: 7.211 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.01308, allocations: 8.031 kB / 0.8295 GB, free: 7.203 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.01308, allocations: 0 / 0.8295 GB, free: 7.203 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.0131, allocations: 4 kB / 0.8295 GB, free: 7.199 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000226/0.01333, allocations: 71.88 kB / 0.8296 GB, free: 7.129 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.01334, allocations: 4 kB / 0.8296 GB, free: 7.125 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.01346, allocations: 31.75 kB / 0.8296 GB, free: 7.094 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.01348, allocations: 4 kB / 0.8296 GB, free: 7.09 MB / 0.8073 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.0001114/0.01359, allocations: 124.6 kB / 0.8297 GB, free: 6.957 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.15e-05/0.01364, allocations: 43.95 kB / 0.8298 GB, free: 6.914 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002472/0.01389, allocations: 175.8 kB / 0.8299 GB, free: 6.73 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.01389, allocations: 4 kB / 0.8299 GB, free: 6.727 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.01389, allocations: 0 / 0.8299 GB, free: 6.727 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.0139, allocations: 3.938 kB / 0.83 GB, free: 6.723 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008964/0.0148, allocations: 0.8817 MB / 0.8308 GB, free: 5.734 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/0.01481, allocations: 8 kB / 0.8308 GB, free: 5.727 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001297/0.01494, allocations: 55.89 kB / 0.8309 GB, free: 5.672 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.133e-05/0.01501, allocations: 76.14 kB / 0.8309 GB, free: 5.598 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.615e-06/0.01501, allocations: 4 kB / 0.831 GB, free: 5.594 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.01503, allocations: 12 kB / 0.831 GB, free: 5.582 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.85e-06/0.01503, allocations: 4 kB / 0.831 GB, free: 5.578 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.987e-06/0.01504, allocations: 11.88 kB / 0.831 GB, free: 5.566 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002952/0.01534, allocations: 332.9 kB / 0.8313 GB, free: 5.145 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.419e-05/0.01539, allocations: 8 kB / 0.8313 GB, free: 5.137 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.01551, allocations: 11.98 kB / 0.8313 GB, free: 5.125 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.939e-05/0.01555, allocations: 35.84 kB / 0.8313 GB, free: 5.09 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.01557, allocations: 12 kB / 0.8314 GB, free: 5.078 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0003941/0.01596, allocations: 0.5111 MB / 0.8319 GB, free: 4.57 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01596, allocations: 0 / 0.8319 GB, free: 4.57 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003552/0.01632, allocations: 171.9 kB / 0.832 GB, free: 4.402 MB / 0.8073 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.0002531/0.01657, allocations: 168.1 kB / 0.8322 GB, free: 4.23 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002337/0.0168, allocations: 148.5 kB / 0.8323 GB, free: 4.082 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.642e-05/0.01682, allocations: 16.06 kB / 0.8323 GB, free: 4.066 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.257e-05/0.01688, allocations: 52.66 kB / 0.8324 GB, free: 4.012 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004618/0.01734, allocations: 243.9 kB / 0.8326 GB, free: 3.773 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008938/0.02628, allocations: 1.691 MB / 0.8343 GB, free: 1.988 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001728/0.02645, allocations: 209.4 kB / 0.8345 GB, free: 1.762 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0002172/0.02667, allocations: 72.38 kB / 0.8345 GB, free: 1.688 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003165/0.02699, allocations: 193.2 kB / 0.8347 GB, free: 1.5 MB / 0.8073 GB Notification: Performance of SimCode: time 1.182e-06/0.02699, allocations: 0 / 0.8347 GB, free: 1.5 MB / 0.8073 GB Notification: Performance of Templates: time 0.01477/0.04176, allocations: 12.2 MB / 0.8466 GB, free: 5.551 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.sim & ./Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.479882093146443]