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.0009097/0.0009097, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008753/0.0008753, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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.8864/0.8864, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.771/1.771, allocations: 389 MB / 0.6338 GB, free: 12.73 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.503e-06/1.503e-06, allocations: 0 / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.644e-05/2.794e-05, allocations: 2.281 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.002496/0.002523, allocations: 1.953 MB / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00168/0.004203, allocations: 1.309 MB / 1.004 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.963e-05/0.004283, allocations: 3.938 kB / 1.004 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0005613/0.004844, allocations: 239 kB / 1.004 GB, free: 9.496 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0007342/0.005578, allocations: 450.3 kB / 1.005 GB, free: 9.055 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 6.943e-06/0.005585, allocations: 4 kB / 1.005 GB, free: 9.051 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003058/0.005891, allocations: 402.3 kB / 1.005 GB, free: 8.656 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 5.92e-05/0.00595, allocations: 8.594 kB / 1.005 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001439/0.006094, allocations: 191.4 kB / 1.005 GB, free: 8.461 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001791/0.006273, allocations: 191.4 kB / 1.006 GB, free: 8.273 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.388e-05/0.006297, allocations: 20 kB / 1.006 GB, free: 8.254 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003814/0.006678, allocations: 283.5 kB / 1.006 GB, free: 7.977 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.000253/0.006931, allocations: 387.1 kB / 1.006 GB, free: 7.598 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001373/0.007069, allocations: 195.4 kB / 1.006 GB, free: 7.406 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0006617/0.00773, allocations: 0.8488 MB / 1.007 GB, free: 6.555 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.007733, allocations: 4 kB / 1.007 GB, free: 6.551 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.92e-07/0.007734, allocations: 4 kB / 1.007 GB, free: 6.547 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.00774, allocations: 0 / 1.007 GB, free: 6.547 MB / 0.9636 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.0008524/0.008592, allocations: 0.8801 MB / 1.008 GB, free: 5.633 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.008636, allocations: 9.344 kB / 1.008 GB, free: 5.625 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000356/0.008992, allocations: 132.4 kB / 1.008 GB, free: 5.496 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008353/0.009827, allocations: 0.8575 MB / 1.009 GB, free: 4.609 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/0.009852, allocations: 16.38 kB / 1.009 GB, free: 4.594 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.439e-05/0.009876, allocations: 12.38 kB / 1.009 GB, free: 4.582 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005776/0.01045, allocations: 0.6361 MB / 1.01 GB, free: 3.941 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.01047, allocations: 192 / 1.01 GB, free: 3.941 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.01049, allocations: 8.375 kB / 1.01 GB, free: 3.934 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.0105, allocations: 7.938 kB / 1.01 GB, free: 3.926 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008838/0.01138, allocations: 1.116 MB / 1.011 GB, free: 2.809 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00163/0.01301, allocations: 1.91 MB / 1.013 GB, free: 0.8672 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000494/0.0135, allocations: 326.7 kB / 1.013 GB, free: 0.5391 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002219/0.01373, allocations: 229 kB / 1.013 GB, free: 320 kB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 4.321e-05/0.01377, allocations: 27.92 kB / 1.013 GB, free: 292 kB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.01379, allocations: 34.52 kB / 1.013 GB, free: 248 kB / 0.9636 GB Notification: Performance of pre-optimization done (n=19): time 1.693e-06/0.01379, allocations: 4 kB / 1.013 GB, free: 244 kB / 0.9636 GB Notification: Performance of matching and sorting (n=19): time 0.000791/0.01458, allocations: 0.6906 MB / 1.014 GB, free: 15.54 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.01462, allocations: 67.34 kB / 1.014 GB, free: 15.46 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001575/0.0162, allocations: 2.063 MB / 1.016 GB, free: 13.39 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.01622, allocations: 29.7 kB / 1.016 GB, free: 13.36 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001906/0.01641, allocations: 320.3 kB / 1.016 GB, free: 13.04 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 3.863e-05/0.01645, allocations: 71.38 kB / 1.016 GB, free: 12.97 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.179e-05/0.01652, allocations: 57.64 kB / 1.016 GB, free: 12.91 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 8.178e-05/0.0166, allocations: 318 kB / 1.017 GB, free: 12.59 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003956/0.01699, allocations: 0.5271 MB / 1.017 GB, free: 12.06 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004117/0.01741, allocations: 0.5561 MB / 1.018 GB, free: 11.5 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006101/0.01802, allocations: 0.765 MB / 1.019 GB, free: 10.73 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.01802, allocations: 0 / 1.019 GB, free: 10.73 MB / 0.9792 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009148/0.01893, allocations: 1.216 MB / 1.02 GB, free: 9.508 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.01895, allocations: 4 kB / 1.02 GB, free: 9.504 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.01896, allocations: 0 / 1.02 GB, free: 9.504 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.01897, allocations: 4 kB / 1.02 GB, free: 9.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/0.01914, allocations: 71.83 kB / 1.02 GB, free: 9.43 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.01915, allocations: 0 / 1.02 GB, free: 9.43 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/0.01929, allocations: 35.77 kB / 1.02 GB, free: 9.395 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.732e-05/0.01931, allocations: 11.98 kB / 1.02 GB, free: 9.383 MB / 0.9792 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.0001988/0.01951, allocations: 273.7 kB / 1.02 GB, free: 9.105 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.039e-05/0.01957, allocations: 75.52 kB / 1.02 GB, free: 9.031 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005754/0.02014, allocations: 0.5368 MB / 1.021 GB, free: 8.48 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.02015, allocations: 4 kB / 1.021 GB, free: 8.477 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.02016, allocations: 11.94 kB / 1.021 GB, free: 8.465 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.02016, allocations: 0 / 1.021 GB, free: 8.465 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001946/0.02211, allocations: 2.45 MB / 1.023 GB, free: 5.918 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.02211, allocations: 4 kB / 1.023 GB, free: 5.914 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.02222, allocations: 51.89 kB / 1.023 GB, free: 5.863 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.02223, allocations: 8 kB / 1.023 GB, free: 5.855 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.02224, allocations: 8 kB / 1.023 GB, free: 5.848 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-06/0.02225, allocations: 15.88 kB / 1.023 GB, free: 5.832 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.02226, allocations: 4.375 kB / 1.023 GB, free: 5.828 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005536/0.02281, allocations: 0.6443 MB / 1.024 GB, free: 5.109 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 7.587e-05/0.02289, allocations: 83.55 kB / 1.024 GB, free: 5.027 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.799e-05/0.02293, allocations: 8 kB / 1.024 GB, free: 5.02 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.02308, allocations: 27.92 kB / 1.024 GB, free: 4.992 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.674e-05/0.02311, allocations: 27.84 kB / 1.024 GB, free: 4.965 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.02312, allocations: 12 kB / 1.024 GB, free: 4.953 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0009991/0.02412, allocations: 1.588 MB / 1.026 GB, free: 3.371 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2.4e-07/0.02412, allocations: 0 / 1.026 GB, free: 3.371 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0003674/0.02449, allocations: 175.8 kB / 1.026 GB, free: 3.199 MB / 0.9792 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.0002549/0.02475, allocations: 179 kB / 1.026 GB, free: 3.016 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0007041/0.02545, allocations: 0.7651 MB / 1.027 GB, free: 2.25 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.02545, allocations: 0 / 1.027 GB, free: 2.25 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0002145/0.02567, allocations: 232.8 kB / 1.027 GB, free: 2.023 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005178/0.02619, allocations: 169.2 kB / 1.027 GB, free: 1.859 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.02753, allocations: 1.41 MB / 1.028 GB, free: 368 kB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/0.02775, allocations: 328.7 kB / 1.029 GB, free: 12 kB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.02787, allocations: 48.53 kB / 1.029 GB, free: 15.96 MB / 0.9948 GB Notification: Performance of SimCode: time 7.31e-07/0.02787, allocations: 0 / 1.029 GB, free: 15.96 MB / 0.9948 GB Notification: Performance of Templates: time 0.008044/0.03592, allocations: 8.929 MB / 1.037 GB, free: 7.102 MB / 0.9948 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 7.580098034814]