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.001973/0.001973, allocations: 116.6 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.001861/0.001861, 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.514/1.514, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.968/2.968, allocations: 0.49 GB / 0.7923 GB, free: 1.336 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.002235/0.002235, allocations: 63.89 kB / 1.15 GB, free: 14.01 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.019/1.021, allocations: 176.1 MB / 1.322 GB, free: 7.895 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.003749/1.025, allocations: 2.218 MB / 1.324 GB, free: 6.129 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002589/1.028, allocations: 1.412 MB / 1.326 GB, free: 5.012 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001456/1.028, allocations: 2.031 kB / 1.326 GB, free: 5.012 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0006974/1.028, allocations: 260.7 kB / 1.326 GB, free: 4.855 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001166/1.03, allocations: 435.1 kB / 1.326 GB, free: 4.562 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 9.027e-06/1.03, allocations: 1.656 kB / 1.326 GB, free: 4.562 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004598/1.03, allocations: 387.3 kB / 1.327 GB, free: 4.352 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 6.846e-05/1.03, allocations: 12.83 kB / 1.327 GB, free: 4.336 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001653/1.03, allocations: 152.9 kB / 1.327 GB, free: 4.246 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002588/1.031, allocations: 216.8 kB / 1.327 GB, free: 4.105 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.74e-05/1.031, allocations: 22.16 kB / 1.327 GB, free: 4.105 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005221/1.031, allocations: 274.1 kB / 1.327 GB, free: 3.969 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003673/1.032, allocations: 376.6 kB / 1.328 GB, free: 3.758 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0003097/1.032, allocations: 307.4 kB / 1.328 GB, free: 3.566 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001054/1.033, allocations: 0.8412 MB / 1.329 GB, free: 3.031 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/1.033, allocations: 5.281 kB / 1.329 GB, free: 3.027 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.403e-06/1.033, allocations: 0 / 1.329 GB, free: 3.027 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.48e-05/1.033, allocations: 0 / 1.329 GB, free: 3.027 MB / 1.014 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.001333/1.034, allocations: 0.9659 MB / 1.33 GB, free: 2.211 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/1.034, allocations: 13.67 kB / 1.33 GB, free: 2.207 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006191/1.035, allocations: 127.2 kB / 1.33 GB, free: 2.145 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/1.036, allocations: 0.9202 MB / 1.331 GB, free: 1.535 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/1.036, allocations: 11.25 kB / 1.331 GB, free: 1.531 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.509e-05/1.036, allocations: 14 kB / 1.331 GB, free: 1.527 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008289/1.037, allocations: 0.6393 MB / 1.331 GB, free: 1.258 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/1.037, allocations: 0 / 1.331 GB, free: 1.258 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.464e-05/1.037, allocations: 4.906 kB / 1.331 GB, free: 1.254 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/1.037, allocations: 4.438 kB / 1.331 GB, free: 1.254 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001407/1.038, allocations: 1.11 MB / 1.332 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002796/1.041, allocations: 2.048 MB / 1.334 GB, free: 15.78 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007903/1.042, allocations: 341 kB / 1.335 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003726/1.042, allocations: 216.6 kB / 1.335 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.327e-05/1.042, allocations: 30.67 kB / 1.335 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/1.042, allocations: 44.41 kB / 1.335 GB, free: 15.47 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 1.863e-06/1.042, allocations: 0 / 1.335 GB, free: 15.47 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.00135/1.044, allocations: 0.6985 MB / 1.336 GB, free: 15.18 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/1.044, allocations: 53.69 kB / 1.336 GB, free: 15.11 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002602/1.046, allocations: 2.075 MB / 1.338 GB, free: 14.16 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.861e-05/1.046, allocations: 26.77 kB / 1.338 GB, free: 14.13 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003116/1.047, allocations: 330.5 kB / 1.338 GB, free: 13.84 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.669e-05/1.047, allocations: 72.11 kB / 1.338 GB, free: 13.78 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/1.047, allocations: 56.69 kB / 1.338 GB, free: 13.74 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001463/1.047, allocations: 316.8 kB / 1.339 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006809/1.048, allocations: 0.5288 MB / 1.339 GB, free: 13.24 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000673/1.048, allocations: 0.5569 MB / 1.34 GB, free: 13.03 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/1.049, allocations: 0.7728 MB / 1.34 GB, free: 12.73 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/1.049, allocations: 4 kB / 1.34 GB, free: 12.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001785/1.051, allocations: 1.209 MB / 1.342 GB, free: 12.27 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/1.051, allocations: 5.531 kB / 1.342 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/1.051, allocations: 0 / 1.342 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.565e-05/1.051, allocations: 2.469 kB / 1.342 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004738/1.052, allocations: 68.02 kB / 1.342 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/1.052, allocations: 6.969 kB / 1.342 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004779/1.052, allocations: 31.56 kB / 1.342 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.035e-05/1.052, allocations: 10.55 kB / 1.342 GB, free: 12.22 MB / 1.029 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.0003941/1.053, allocations: 270.5 kB / 1.342 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/1.053, allocations: 75.16 kB / 1.342 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001049/1.054, allocations: 0.543 MB / 1.342 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/1.054, allocations: 2.656 kB / 1.343 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/1.054, allocations: 0 / 1.343 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/1.054, allocations: 3.984 kB / 1.343 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003417/1.057, allocations: 2.591 MB / 1.345 GB, free: 10.31 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/1.057, allocations: 3.75 kB / 1.345 GB, free: 10.31 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002609/1.058, allocations: 55.61 kB / 1.345 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.107e-06/1.058, allocations: 9.625 kB / 1.345 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.711e-05/1.058, allocations: 11.62 kB / 1.345 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.079e-05/1.058, allocations: 9.219 kB / 1.345 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/1.058, allocations: 4.688 kB / 1.345 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/1.059, allocations: 0.6585 MB / 1.346 GB, free: 9.844 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002759/1.059, allocations: 163.3 kB / 1.346 GB, free: 9.695 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/1.059, allocations: 10.84 kB / 1.346 GB, free: 9.691 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003161/1.059, allocations: 15.61 kB / 1.346 GB, free: 9.688 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.011e-05/1.06, allocations: 34.12 kB / 1.346 GB, free: 9.664 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.768e-05/1.06, allocations: 10.12 kB / 1.346 GB, free: 9.664 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.00185/1.061, allocations: 1.597 MB / 1.348 GB, free: 8.91 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.21e-07/1.061, allocations: 0 / 1.348 GB, free: 8.91 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006787/1.062, allocations: 165.8 kB / 1.348 GB, free: 8.898 MB / 1.029 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.0003665/1.062, allocations: 173.4 kB / 1.348 GB, free: 8.773 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001179/1.064, allocations: 0.7668 MB / 1.349 GB, free: 8.5 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/1.064, allocations: 0 / 1.349 GB, free: 8.5 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003894/1.064, allocations: 226.1 kB / 1.349 GB, free: 8.414 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009115/1.065, allocations: 179.2 kB / 1.349 GB, free: 8.32 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002444/1.067, allocations: 1.422 MB / 1.35 GB, free: 7.406 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006207/1.068, allocations: 0.9181 MB / 1.351 GB, free: 6.594 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001804/1.068, allocations: 47.08 kB / 1.351 GB, free: 6.578 MB / 1.029 GB Notification: Performance of SimCode: time 1.022e-06/1.068, allocations: 1.094 kB / 1.351 GB, free: 6.578 MB / 1.029 GB Notification: Performance of Templates: time 0.01597/1.084, allocations: 8.741 MB / 1.36 GB, free: 14.85 MB / 1.045 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/jenkins1/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: 13.472717964992626]