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.002271/0.002271, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.003352/0.003352, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.613/1.613, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.493/3.493, allocations: 0.4892 GB / 0.7943 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 66.72 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4489/0.451, allocations: 176.1 MB / 1.326 GB, free: 1.848 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.004051/0.4551, allocations: 2.067 MB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002909/0.458, allocations: 1.321 MB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.4581, allocations: 0 / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007931/0.4589, allocations: 239 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0012/0.4601, allocations: 446.5 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 8.055e-06/0.4601, allocations: 4 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004672/0.4606, allocations: 390.5 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.611e-05/0.4606, allocations: 12.59 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.4608, allocations: 143.4 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003045/0.4611, allocations: 199.1 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.555e-05/0.4612, allocations: 24 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005945/0.4617, allocations: 283.6 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003924/0.4621, allocations: 371 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000316/0.4625, allocations: 250.6 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001044/0.4635, allocations: 0.8559 MB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.4635, allocations: 4 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.542e-06/0.4635, allocations: 4 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.55e-05/0.4635, allocations: 0 / 1.332 GB, free: 11.26 MB / 1.029 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.001446/0.465, allocations: 0.8918 MB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.465, allocations: 8.031 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006248/0.4656, allocations: 128.4 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001174/0.4668, allocations: 0.8582 MB / 1.334 GB, free: 9.312 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/0.4668, allocations: 12.38 kB / 1.334 GB, free: 9.301 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.378e-05/0.4669, allocations: 20.38 kB / 1.334 GB, free: 9.281 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009166/0.4678, allocations: 0.6304 MB / 1.334 GB, free: 8.645 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.4678, allocations: 0 / 1.334 GB, free: 8.645 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.827e-05/0.4678, allocations: 8 kB / 1.334 GB, free: 8.637 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.4679, allocations: 4 kB / 1.334 GB, free: 8.633 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0015/0.4694, allocations: 1.105 MB / 1.336 GB, free: 7.527 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003102/0.4725, allocations: 1.906 MB / 1.337 GB, free: 5.59 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009398/0.4734, allocations: 342.6 kB / 1.338 GB, free: 5.246 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004248/0.4738, allocations: 224.7 kB / 1.338 GB, free: 5.023 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.182e-05/0.4739, allocations: 23.98 kB / 1.338 GB, free: 5 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.4739, allocations: 30.56 kB / 1.338 GB, free: 4.961 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 1.423e-06/0.4739, allocations: 0 / 1.338 GB, free: 4.961 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.001412/0.4753, allocations: 0.7061 MB / 1.339 GB, free: 4.25 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.4754, allocations: 59.41 kB / 1.339 GB, free: 4.18 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002667/0.4781, allocations: 2.059 MB / 1.341 GB, free: 2.109 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.4781, allocations: 29.7 kB / 1.341 GB, free: 2.074 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003159/0.4784, allocations: 328.2 kB / 1.341 GB, free: 1.746 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.351e-05/0.4785, allocations: 67.42 kB / 1.341 GB, free: 1.68 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.4786, allocations: 57.7 kB / 1.341 GB, free: 1.617 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.4787, allocations: 322 kB / 1.341 GB, free: 1.297 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007882/0.4795, allocations: 0.5232 MB / 1.342 GB, free: 0.7734 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007378/0.4803, allocations: 0.5561 MB / 1.343 GB, free: 216 kB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/0.4814, allocations: 0.7718 MB / 1.343 GB, free: 15.43 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.4814, allocations: 0 / 1.343 GB, free: 15.43 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001714/0.4832, allocations: 1.208 MB / 1.344 GB, free: 14.22 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.932e-05/0.4832, allocations: 11.94 kB / 1.344 GB, free: 14.21 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.4832, allocations: 0 / 1.344 GB, free: 14.21 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.4832, allocations: 0 / 1.344 GB, free: 14.21 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000338/0.4836, allocations: 67.95 kB / 1.345 GB, free: 14.14 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.4836, allocations: 0 / 1.345 GB, free: 14.14 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003516/0.4839, allocations: 35.77 kB / 1.345 GB, free: 14.11 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.846e-05/0.4839, allocations: 15.92 kB / 1.345 GB, free: 14.09 MB / 1.045 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.000351/0.4843, allocations: 272.9 kB / 1.345 GB, free: 13.82 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.4844, allocations: 79.45 kB / 1.345 GB, free: 13.74 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001024/0.4854, allocations: 0.5361 MB / 1.345 GB, free: 13.19 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.4854, allocations: 7.938 kB / 1.345 GB, free: 13.18 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.4855, allocations: 4 kB / 1.345 GB, free: 13.18 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.4855, allocations: 0 / 1.345 GB, free: 13.18 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003404/0.4889, allocations: 2.449 MB / 1.348 GB, free: 10.63 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.796e-06/0.4889, allocations: 4 kB / 1.348 GB, free: 10.63 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002538/0.4891, allocations: 51.89 kB / 1.348 GB, free: 10.58 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.418e-06/0.4891, allocations: 7.938 kB / 1.348 GB, free: 10.57 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.554e-05/0.4892, allocations: 12 kB / 1.348 GB, free: 10.56 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.305e-06/0.4892, allocations: 8.406 kB / 1.348 GB, free: 10.55 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.727e-06/0.4892, allocations: 11.94 kB / 1.348 GB, free: 10.54 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.4903, allocations: 0.6483 MB / 1.349 GB, free: 9.816 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002232/0.4905, allocations: 87.48 kB / 1.349 GB, free: 9.73 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.83e-05/0.4906, allocations: 12 kB / 1.349 GB, free: 9.719 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003063/0.4909, allocations: 23.92 kB / 1.349 GB, free: 9.695 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.301e-05/0.491, allocations: 31.84 kB / 1.349 GB, free: 9.664 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.398e-05/0.491, allocations: 16 kB / 1.349 GB, free: 9.648 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001909/0.4929, allocations: 1.585 MB / 1.35 GB, free: 8.07 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4929, allocations: 0 / 1.35 GB, free: 8.07 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0006446/0.4935, allocations: 167.9 kB / 1.35 GB, free: 7.906 MB / 1.045 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.0003712/0.4939, allocations: 167 kB / 1.351 GB, free: 7.73 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001227/0.4951, allocations: 0.7747 MB / 1.351 GB, free: 6.957 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4951, allocations: 0 / 1.351 GB, free: 6.957 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003913/0.4955, allocations: 224.7 kB / 1.352 GB, free: 6.738 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008648/0.4964, allocations: 165 kB / 1.352 GB, free: 6.578 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002751/0.4991, allocations: 1.638 MB / 1.353 GB, free: 4.855 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005216/0.4997, allocations: 403.1 kB / 1.354 GB, free: 4.438 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002876/0.4999, allocations: 88.36 kB / 1.354 GB, free: 4.348 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.5001, allocations: 39.38 kB / 1.354 GB, free: 4.309 MB / 1.045 GB Notification: Performance of SimCode: time 1.001e-06/0.5001, allocations: 0 / 1.354 GB, free: 4.309 MB / 1.045 GB Notification: Performance of Templates: time 0.02256/0.5226, allocations: 11.78 MB / 1.365 GB, free: 8.727 MB / 1.061 GB " [Timeout remaining time 299] 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: 10.524906339123845]