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.0009962/0.0009962, allocations: 76.17 kB / 9.933 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001157/0.002153, allocations: 449.7 kB / 10.37 MB, free: 324 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.001515/0.001515, allocations: 161.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001774/0.003289, allocations: 459.6 kB / 11.71 MB, free: 2.457 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 1.001/1.001, allocations: 177.1 MB / 189.6 MB, free: 5.297 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1068/1.108, allocations: 53.66 MB / 243.3 MB, free: 15.56 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.862/1.862, allocations: 378.2 MB / 0.6076 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4659/2.328, allocations: 123.3 MB / 0.728 GB, free: 5.809 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.463e-06/1.463e-06, allocations: 0 / 0.7293 GB, free: 4.512 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.652e-05/1.798e-05, allocations: 8.922 kB / 0.7293 GB, free: 4.504 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.002292/0.00231, allocations: 2.131 MB / 0.7314 GB, free: 2.402 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001822/0.004133, allocations: 1.388 MB / 0.7328 GB, free: 1.031 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.184e-05/0.004204, allocations: 4 kB / 0.7328 GB, free: 1.027 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004057/0.00461, allocations: 243 kB / 0.733 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0005822/0.005192, allocations: 416.4 kB / 0.7334 GB, free: 392 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 5.881e-06/0.005198, allocations: 1.125 kB / 0.7334 GB, free: 392 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002688/0.005467, allocations: 402.4 kB / 0.7338 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 5.424e-05/0.005521, allocations: 14.55 kB / 0.7338 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001883/0.005709, allocations: 241.7 kB / 0.734 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/0.00587, allocations: 179.3 kB / 0.7342 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.573e-05/0.005896, allocations: 24.53 kB / 0.7342 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003683/0.006264, allocations: 304.5 kB / 0.7345 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0002029/0.006467, allocations: 363.3 kB / 0.7349 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.006593, allocations: 168.4 kB / 0.735 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004645/0.007057, allocations: 0.5878 MB / 0.7356 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.382e-05/0.007071, allocations: 5.719 kB / 0.7356 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.71e-07/0.007072, allocations: 0 / 0.7356 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.399e-05/0.007086, allocations: 0 / 0.7356 GB, free: 14.12 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.001066/0.008152, allocations: 0.9641 MB / 0.7365 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.008183, allocations: 8.031 kB / 0.7366 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003203/0.008504, allocations: 183.6 kB / 0.7367 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003658/0.008869, allocations: 481.2 kB / 0.7372 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.008886, allocations: 8.969 kB / 0.7372 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.292e-05/0.008909, allocations: 29 kB / 0.7372 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.009105, allocations: 152.3 kB / 0.7374 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.009112, allocations: 192 / 0.7374 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.009127, allocations: 8.375 kB / 0.7374 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.009132, allocations: 4.969 kB / 0.7374 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001392/0.009271, allocations: 112.8 kB / 0.7375 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007481/0.01002, allocations: 0.6609 MB / 0.7381 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/0.01024, allocations: 158.3 kB / 0.7383 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.273e-05/0.01029, allocations: 44.78 kB / 0.7383 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.696e-05/0.01033, allocations: 25.2 kB / 0.7384 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.01035, allocations: 34.56 kB / 0.7384 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=19): time 1.122e-06/0.01035, allocations: 0 / 0.7384 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19): time 0.0002282/0.01058, allocations: 152.6 kB / 0.7385 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/0.01061, allocations: 59.94 kB / 0.7386 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005433/0.01115, allocations: 0.8725 MB / 0.7394 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.01117, allocations: 34.45 kB / 0.7395 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.01127, allocations: 210.1 kB / 0.7397 GB, free: 9.805 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.455e-05/0.01131, allocations: 64.77 kB / 0.7397 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.51e-05/0.01137, allocations: 53.62 kB / 0.7398 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.619e-05/0.01145, allocations: 318 kB / 0.7401 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.852e-05/0.01153, allocations: 51.66 kB / 0.7401 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.992e-05/0.01162, allocations: 73.67 kB / 0.7402 GB, free: 9.238 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.01178, allocations: 143.3 kB / 0.7403 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.01178, allocations: 4 kB / 0.7403 GB, free: 9.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002636/0.01205, allocations: 203.8 kB / 0.7405 GB, free: 8.883 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.01207, allocations: 4 kB / 0.7405 GB, free: 8.879 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.01208, allocations: 0 / 0.7405 GB, free: 8.879 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.01209, allocations: 4 kB / 0.7405 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/0.01228, allocations: 78.31 kB / 0.7406 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-06/0.01228, allocations: 0 / 0.7406 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.01241, allocations: 35.72 kB / 0.7407 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.01242, allocations: 7.984 kB / 0.7407 GB, free: 8.758 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.512e-05/0.01251, allocations: 120.6 kB / 0.7408 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.548e-05/0.01255, allocations: 41.58 kB / 0.7408 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000207/0.01276, allocations: 173.7 kB / 0.741 GB, free: 8.41 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.01276, allocations: 1.031 kB / 0.741 GB, free: 8.41 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.01276, allocations: 4 kB / 0.741 GB, free: 8.406 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.01277, allocations: 4.906 kB / 0.741 GB, free: 8.402 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007394/0.01351, allocations: 0.8857 MB / 0.7419 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.01351, allocations: 4 kB / 0.7419 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.01363, allocations: 50.2 kB / 0.7419 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.252e-05/0.01369, allocations: 71.5 kB / 0.742 GB, free: 7.293 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.01369, allocations: 4 kB / 0.742 GB, free: 7.289 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.01371, allocations: 15.98 kB / 0.742 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.01371, allocations: 4 kB / 0.742 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.01372, allocations: 15.88 kB / 0.742 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002285/0.01395, allocations: 323.4 kB / 0.7423 GB, free: 6.844 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.772e-05/0.01399, allocations: 15.98 kB / 0.7423 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.01412, allocations: 16.86 kB / 0.7424 GB, free: 6.812 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.756e-05/0.01415, allocations: 23.86 kB / 0.7424 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.01416, allocations: 11.98 kB / 0.7424 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003353/0.01449, allocations: 0.5158 MB / 0.7429 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01449, allocations: 0 / 0.7429 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005735/0.01507, allocations: 180.3 kB / 0.7431 GB, free: 6.086 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.0001998/0.01526, allocations: 165.5 kB / 0.7432 GB, free: 5.918 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001985/0.01546, allocations: 137.3 kB / 0.7434 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.189e-05/0.01548, allocations: 9.5 kB / 0.7434 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.315e-05/0.01554, allocations: 64.73 kB / 0.7434 GB, free: 5.711 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004252/0.01596, allocations: 248.9 kB / 0.7437 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008576/0.02454, allocations: 1.68 MB / 0.7453 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000195/0.02474, allocations: 210.4 kB / 0.7455 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.000214/0.02495, allocations: 70.36 kB / 0.7456 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003609/0.02531, allocations: 181.2 kB / 0.7457 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of SimCode: time 9.32e-07/0.02531, allocations: 0 / 0.7457 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of Templates: time 0.01803/0.04334, allocations: 12.22 MB / 0.7577 GB, free: 7.406 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.052515416406095]