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.001416/0.001416, allocations: 116.3 kB / 17.13 MB, free: 6.027 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.001579/0.001579, allocations: 208.7 kB / 20.1 MB, free: 3.074 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.489/1.489, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.104/3.104, allocations: 0.49 GB / 0.7923 GB, free: 1.25 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.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: 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.002073/0.002073, allocations: 75.89 kB / 1.15 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9714/0.9735, allocations: 176.1 MB / 1.322 GB, free: 25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.00277/0.9763, allocations: 2.089 MB / 1.324 GB, free: 23.51 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001867/0.9781, allocations: 1.404 MB / 1.325 GB, free: 22.55 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.758e-05/0.9782, allocations: 2.781 kB / 1.325 GB, free: 22.55 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005655/0.9788, allocations: 261.4 kB / 1.326 GB, free: 22.46 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0008123/0.9796, allocations: 431.2 kB / 1.326 GB, free: 22.26 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 7.574e-06/0.9796, allocations: 0 / 1.326 GB, free: 22.26 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002886/0.9799, allocations: 392.1 kB / 1.326 GB, free: 22.1 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.808e-05/0.98, allocations: 14.14 kB / 1.326 GB, free: 22.08 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.9801, allocations: 152.8 kB / 1.327 GB, free: 22.01 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002139/0.9803, allocations: 216.8 kB / 1.327 GB, free: 21.92 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.685e-05/0.9803, allocations: 22.44 kB / 1.327 GB, free: 21.92 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005036/0.9808, allocations: 277.5 kB / 1.327 GB, free: 21.84 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003348/0.9812, allocations: 372.3 kB / 1.327 GB, free: 21.75 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002746/0.9814, allocations: 308 kB / 1.328 GB, free: 21.57 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.9824, allocations: 0.8449 MB / 1.329 GB, free: 21.3 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.9825, allocations: 1.125 kB / 1.329 GB, free: 21.3 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.422e-06/0.9825, allocations: 0 / 1.329 GB, free: 21.3 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.819e-06/0.9825, allocations: 0 / 1.329 GB, free: 21.3 MB / 1.061 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.001167/0.9836, allocations: 0.9622 MB / 1.329 GB, free: 20.55 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.9837, allocations: 12.67 kB / 1.329 GB, free: 20.54 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006461/0.9843, allocations: 132.2 kB / 1.33 GB, free: 20.5 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.9853, allocations: 0.9202 MB / 1.331 GB, free: 19.97 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.9853, allocations: 11.41 kB / 1.331 GB, free: 19.96 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.058e-05/0.9854, allocations: 12.84 kB / 1.331 GB, free: 19.96 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008494/0.9862, allocations: 0.6428 MB / 1.331 GB, free: 19.78 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.9862, allocations: 4 kB / 1.331 GB, free: 19.77 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/0.9863, allocations: 5.875 kB / 1.331 GB, free: 19.77 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.9863, allocations: 4.062 kB / 1.331 GB, free: 19.77 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001474/0.9877, allocations: 1.101 MB / 1.332 GB, free: 19.53 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002943/0.9907, allocations: 2.056 MB / 1.334 GB, free: 18.75 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007261/0.9914, allocations: 331.3 kB / 1.335 GB, free: 18.65 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003513/0.9918, allocations: 221.4 kB / 1.335 GB, free: 18.59 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.07e-05/0.9918, allocations: 26.98 kB / 1.335 GB, free: 18.58 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.9918, allocations: 42.56 kB / 1.335 GB, free: 18.53 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 2.304e-06/0.9918, allocations: 0 / 1.335 GB, free: 18.53 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.001263/0.9931, allocations: 0.698 MB / 1.336 GB, free: 18.31 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.9931, allocations: 54.77 kB / 1.336 GB, free: 18.25 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002342/0.9955, allocations: 2.073 MB / 1.338 GB, free: 17.53 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.9955, allocations: 30.8 kB / 1.338 GB, free: 17.5 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002166/0.9957, allocations: 325 kB / 1.338 GB, free: 17.23 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.883e-05/0.9958, allocations: 74.23 kB / 1.338 GB, free: 17.18 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/0.9959, allocations: 55.56 kB / 1.338 GB, free: 17.14 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.327e-05/0.996, allocations: 320 kB / 1.338 GB, free: 16.83 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006393/0.9966, allocations: 0.5282 MB / 1.339 GB, free: 16.71 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006403/0.9972, allocations: 0.5561 MB / 1.339 GB, free: 16.57 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009799/0.9982, allocations: 0.7746 MB / 1.34 GB, free: 16.34 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.9982, allocations: 0 / 1.34 GB, free: 16.34 MB / 1.061 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001579/0.9998, allocations: 1.207 MB / 1.341 GB, free: 16.01 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.9998, allocations: 5.469 kB / 1.341 GB, free: 16.01 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.9998, allocations: 4.781 kB / 1.341 GB, free: 16 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.9998, allocations: 2.25 kB / 1.341 GB, free: 16 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003529/1, allocations: 67.98 kB / 1.341 GB, free: 16 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/1, allocations: 6.516 kB / 1.341 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004602/1.001, allocations: 36.48 kB / 1.341 GB, free: 15.97 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.862e-05/1.001, allocations: 9.75 kB / 1.341 GB, free: 15.97 MB / 1.061 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.0003138/1.001, allocations: 272.4 kB / 1.342 GB, free: 15.81 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/1.001, allocations: 82.41 kB / 1.342 GB, free: 15.76 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009607/1.002, allocations: 0.5299 MB / 1.342 GB, free: 15.59 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/1.002, allocations: 2.375 kB / 1.342 GB, free: 15.59 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/1.002, allocations: 3.938 kB / 1.342 GB, free: 15.59 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/1.002, allocations: 5.266 kB / 1.342 GB, free: 15.58 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00311/1.005, allocations: 2.592 MB / 1.345 GB, free: 14.49 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/1.005, allocations: 4.875 kB / 1.345 GB, free: 14.49 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002603/1.005, allocations: 49.88 kB / 1.345 GB, free: 14.49 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.104e-05/1.005, allocations: 6.453 kB / 1.345 GB, free: 14.49 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.599e-05/1.006, allocations: 11.89 kB / 1.345 GB, free: 14.48 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.764e-06/1.006, allocations: 10.45 kB / 1.345 GB, free: 14.48 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/1.006, allocations: 5.562 kB / 1.345 GB, free: 14.48 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009457/1.006, allocations: 0.6624 MB / 1.346 GB, free: 14.1 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001891/1.007, allocations: 161.6 kB / 1.346 GB, free: 13.96 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.929e-05/1.007, allocations: 11.91 kB / 1.346 GB, free: 13.95 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003229/1.007, allocations: 15.64 kB / 1.346 GB, free: 13.95 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.204e-05/1.007, allocations: 34.66 kB / 1.346 GB, free: 13.93 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.409e-05/1.007, allocations: 11.5 kB / 1.346 GB, free: 13.93 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001717/1.009, allocations: 1.592 MB / 1.347 GB, free: 13.36 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.009, allocations: 0 / 1.347 GB, free: 13.36 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006923/1.01, allocations: 168.1 kB / 1.348 GB, free: 13.34 MB / 1.061 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.0003358/1.01, allocations: 176.2 kB / 1.348 GB, free: 13.22 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001123/1.011, allocations: 0.7637 MB / 1.348 GB, free: 13.04 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/1.011, allocations: 5.156 kB / 1.348 GB, free: 13.04 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003627/1.011, allocations: 220.2 kB / 1.349 GB, free: 12.98 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008855/1.012, allocations: 186.4 kB / 1.349 GB, free: 12.91 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/1.014, allocations: 1.426 MB / 1.35 GB, free: 12.13 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004438/1.015, allocations: 0.9271 MB / 1.351 GB, free: 11.39 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00017/1.015, allocations: 47.45 kB / 1.351 GB, free: 11.38 MB / 1.061 GB Notification: Performance of SimCode: time 1.082e-06/1.015, allocations: 0 / 1.351 GB, free: 11.38 MB / 1.061 GB Notification: Performance of Templates: time 0.01769/1.033, allocations: 8.719 MB / 1.36 GB, free: 10.52 MB / 1.061 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.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: 13.354751546998159]