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.001621/0.001621, allocations: 79.59 kB / 19.18 MB, free: 2.516 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.002129/0.002129, allocations: 168.8 kB / 22.46 MB, free: 5.379 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.554/1.554, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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 3.03/3.03, allocations: 389 MB / 0.633 GB, free: 0.9805 MB / 0.5919 GB " [Timeout remaining time 176] 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 2.074e-06/2.074e-06, allocations: 0 / 1 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.817e-05/4.025e-05, allocations: 2.281 kB / 1 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.003692/0.003732, allocations: 1.966 MB / 1.002 GB, free: 5.316 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002781/0.006513, allocations: 1.305 MB / 1.003 GB, free: 4.004 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.474e-05/0.006607, allocations: 0 / 1.003 GB, free: 4.004 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0007719/0.007379, allocations: 243 kB / 1.004 GB, free: 3.766 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001097/0.008476, allocations: 458.2 kB / 1.004 GB, free: 3.316 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 8.255e-06/0.008484, allocations: 0 / 1.004 GB, free: 3.316 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004636/0.008948, allocations: 398.4 kB / 1.004 GB, free: 2.926 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 5.898e-05/0.009007, allocations: 12.59 kB / 1.004 GB, free: 2.914 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002551/0.009262, allocations: 195.4 kB / 1.005 GB, free: 2.723 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002853/0.009547, allocations: 183.4 kB / 1.005 GB, free: 2.543 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.14e-05/0.009589, allocations: 24 kB / 1.005 GB, free: 2.52 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000563/0.01015, allocations: 279.5 kB / 1.005 GB, free: 2.246 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003822/0.01053, allocations: 387.1 kB / 1.005 GB, free: 1.867 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002622/0.0108, allocations: 199.4 kB / 1.006 GB, free: 1.672 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001081/0.01188, allocations: 0.8527 MB / 1.006 GB, free: 0.8164 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.01188, allocations: 0 / 1.006 GB, free: 0.8164 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.743e-06/0.01188, allocations: 0 / 1.006 GB, free: 0.8164 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.01189, allocations: 0 / 1.006 GB, free: 0.8164 MB / 0.9512 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.001457/0.01335, allocations: 0.8786 MB / 1.007 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.0134, allocations: 12.03 kB / 1.007 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006527/0.01405, allocations: 132.4 kB / 1.007 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001138/0.01519, allocations: 0.8652 MB / 1.008 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.675e-05/0.01522, allocations: 12.38 kB / 1.008 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.4e-05/0.01525, allocations: 12.38 kB / 1.008 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009699/0.01622, allocations: 0.628 MB / 1.009 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.01623, allocations: 4.188 kB / 1.009 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.603e-05/0.01626, allocations: 9.875 kB / 1.009 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.01627, allocations: 7.938 kB / 1.009 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001529/0.0178, allocations: 1.109 MB / 1.01 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002859/0.02066, allocations: 1.914 MB / 1.012 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008445/0.0215, allocations: 338.6 kB / 1.012 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003955/0.0219, allocations: 220.8 kB / 1.012 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.729e-05/0.02195, allocations: 23.98 kB / 1.012 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.02199, allocations: 34.56 kB / 1.012 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=19): time 2.034e-06/0.02199, allocations: 3.938 kB / 1.012 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of matching and sorting (n=19): time 0.001369/0.02336, allocations: 0.6946 MB / 1.013 GB, free: 9.809 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.909e-05/0.02344, allocations: 55.41 kB / 1.013 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002731/0.02617, allocations: 2.067 MB / 1.015 GB, free: 7.664 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.235e-05/0.0262, allocations: 25.7 kB / 1.015 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003315/0.02653, allocations: 324.2 kB / 1.016 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.55e-05/0.02662, allocations: 71.36 kB / 1.016 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.02675, allocations: 61.69 kB / 1.016 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.02692, allocations: 325.8 kB / 1.016 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007461/0.02767, allocations: 0.5271 MB / 1.017 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000728/0.0284, allocations: 0.5561 MB / 1.017 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/0.02956, allocations: 0.7713 MB / 1.018 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.02957, allocations: 4 kB / 1.018 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001819/0.03139, allocations: 1.212 MB / 1.019 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.03141, allocations: 4 kB / 1.019 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.03142, allocations: 0 / 1.019 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.532e-05/0.03144, allocations: 4 kB / 1.019 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003616/0.0318, allocations: 63.98 kB / 1.019 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.03182, allocations: 3.938 kB / 1.019 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003791/0.0322, allocations: 27.88 kB / 1.019 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.735e-05/0.03223, allocations: 15.98 kB / 1.019 GB, free: 3.645 MB / 0.9669 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.0003575/0.03259, allocations: 270.2 kB / 1.019 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/0.03272, allocations: 71.53 kB / 1.019 GB, free: 3.301 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/0.03374, allocations: 0.5387 MB / 1.02 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.03375, allocations: 4 kB / 1.02 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.03375, allocations: 0 / 1.02 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.03376, allocations: 3.984 kB / 1.02 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003506/0.03727, allocations: 2.454 MB / 1.022 GB, free: 196 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.03727, allocations: 8.062 kB / 1.022 GB, free: 188 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002713/0.03754, allocations: 51.89 kB / 1.022 GB, free: 136 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/0.03755, allocations: 8 kB / 1.022 GB, free: 128 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.789e-05/0.03758, allocations: 11.94 kB / 1.022 GB, free: 116 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/0.03759, allocations: 4 kB / 1.022 GB, free: 112 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.163e-06/0.03759, allocations: 7.938 kB / 1.022 GB, free: 104 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00109/0.03868, allocations: 0.6587 MB / 1.023 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001554/0.03884, allocations: 83.48 kB / 1.023 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.571e-05/0.03893, allocations: 12 kB / 1.023 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003119/0.03925, allocations: 19.98 kB / 1.023 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.04e-05/0.03933, allocations: 35.83 kB / 1.023 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.179e-05/0.03935, allocations: 8 kB / 1.023 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001981/0.04133, allocations: 1.581 MB / 1.025 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.04133, allocations: 0 / 1.025 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006814/0.04201, allocations: 183.8 kB / 1.025 GB, free: 13.46 MB / 0.9825 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.0004287/0.04244, allocations: 175 kB / 1.025 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001239/0.04368, allocations: 0.765 MB / 1.026 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.04368, allocations: 8.062 kB / 1.026 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003975/0.04408, allocations: 219.7 kB / 1.026 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008398/0.04492, allocations: 168 kB / 1.026 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002732/0.04765, allocations: 1.599 MB / 1.028 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005219/0.04817, allocations: 410.8 kB / 1.028 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002474/0.04842, allocations: 80.38 kB / 1.028 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.04856, allocations: 44.5 kB / 1.028 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of SimCode: time 4.51e-07/0.04856, allocations: 0 / 1.028 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of Templates: time 0.02115/0.06971, allocations: 10.55 MB / 1.039 GB, free: 15.55 MB / 0.9981 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: 9.340212319046259]