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.001302/0.001302, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.001415/0.001415, allocations: 156.2 kB / 23.01 MB, free: 4.602 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.44/1.44, allocations: 177.2 MB / 203.4 MB, free: 8.965 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 2.877/2.877, allocations: 394.2 MB / 0.6386 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: 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.002067/0.002067, allocations: 67.91 kB / 1.009 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8704/0.8725, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.002935/0.8754, allocations: 1.966 MB / 1.189 GB, free: 14.85 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002113/0.8775, allocations: 1.302 MB / 1.19 GB, free: 14 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.8777, allocations: 2.125 kB / 1.19 GB, free: 14 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006992/0.8784, allocations: 237.4 kB / 1.19 GB, free: 13.93 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001092/0.8794, allocations: 446.4 kB / 1.19 GB, free: 13.72 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 8.806e-06/0.8795, allocations: 0 / 1.19 GB, free: 13.72 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003794/0.8798, allocations: 394.3 kB / 1.191 GB, free: 13.55 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 5.748e-05/0.8799, allocations: 14.12 kB / 1.191 GB, free: 13.54 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001457/0.88, allocations: 148.7 kB / 1.191 GB, free: 13.48 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002618/0.8803, allocations: 204.2 kB / 1.191 GB, free: 13.39 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.9e-05/0.8803, allocations: 22.12 kB / 1.191 GB, free: 13.39 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005789/0.8809, allocations: 276 kB / 1.191 GB, free: 13.34 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000336/0.8813, allocations: 374.3 kB / 1.192 GB, free: 13.24 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002502/0.8815, allocations: 244.5 kB / 1.192 GB, free: 13.12 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0009963/0.8825, allocations: 0.8626 MB / 1.193 GB, free: 12.84 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.8825, allocations: 0 / 1.193 GB, free: 12.84 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.293e-06/0.8825, allocations: 0.75 kB / 1.193 GB, free: 12.84 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.779e-06/0.8825, allocations: 0 / 1.193 GB, free: 12.84 MB / 1.076 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.001137/0.8837, allocations: 0.8834 MB / 1.194 GB, free: 12.19 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.8837, allocations: 9.594 kB / 1.194 GB, free: 12.19 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006506/0.8843, allocations: 135.5 kB / 1.194 GB, free: 12.14 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/0.8854, allocations: 0.8654 MB / 1.195 GB, free: 11.68 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/0.8854, allocations: 10.44 kB / 1.195 GB, free: 11.68 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.05e-05/0.8855, allocations: 13.69 kB / 1.195 GB, free: 11.67 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008215/0.8863, allocations: 0.6391 MB / 1.195 GB, free: 11.49 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.8863, allocations: 0 / 1.195 GB, free: 11.49 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.33e-05/0.8863, allocations: 5.094 kB / 1.195 GB, free: 11.49 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.8863, allocations: 4.578 kB / 1.195 GB, free: 11.49 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001335/0.8877, allocations: 1.102 MB / 1.196 GB, free: 11.24 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002811/0.8905, allocations: 1.912 MB / 1.198 GB, free: 10.57 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007556/0.8912, allocations: 334.7 kB / 1.199 GB, free: 10.46 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003519/0.8916, allocations: 229.6 kB / 1.199 GB, free: 10.39 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 5.395e-05/0.8916, allocations: 23.14 kB / 1.199 GB, free: 10.38 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.634e-05/0.8917, allocations: 33 kB / 1.199 GB, free: 10.34 MB / 1.076 GB Notification: Performance of pre-optimization done (n=19): time 2.605e-06/0.8917, allocations: 0 / 1.199 GB, free: 10.34 MB / 1.076 GB Notification: Performance of matching and sorting (n=19): time 0.001282/0.8929, allocations: 0.7069 MB / 1.2 GB, free: 10.12 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.893, allocations: 54.47 kB / 1.2 GB, free: 10.05 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002426/0.8954, allocations: 2.065 MB / 1.202 GB, free: 9.34 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.8954, allocations: 26.86 kB / 1.202 GB, free: 9.309 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002247/0.8957, allocations: 328.5 kB / 1.202 GB, free: 9.043 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.675e-05/0.8957, allocations: 74.47 kB / 1.202 GB, free: 8.984 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.8958, allocations: 60.42 kB / 1.202 GB, free: 8.949 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.355e-05/0.8959, allocations: 316 kB / 1.202 GB, free: 8.641 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006287/0.8965, allocations: 0.5311 MB / 1.203 GB, free: 8.516 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006676/0.8972, allocations: 0.5524 MB / 1.204 GB, free: 8.375 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009852/0.8981, allocations: 0.772 MB / 1.204 GB, free: 8.156 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.8981, allocations: 0 / 1.204 GB, free: 8.156 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001487/0.8996, allocations: 1.208 MB / 1.205 GB, free: 7.82 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.8997, allocations: 9.156 kB / 1.205 GB, free: 7.816 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.8997, allocations: 0 / 1.205 GB, free: 7.816 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.8997, allocations: 3.219 kB / 1.205 GB, free: 7.816 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003431/0.9, allocations: 64.34 kB / 1.206 GB, free: 7.812 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.9, allocations: 2.094 kB / 1.206 GB, free: 7.812 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004606/0.9005, allocations: 35.88 kB / 1.206 GB, free: 7.793 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.867e-05/0.9005, allocations: 13.41 kB / 1.206 GB, free: 7.789 MB / 1.076 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.000325/0.9008, allocations: 272.7 kB / 1.206 GB, free: 7.625 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.9009, allocations: 70.7 kB / 1.206 GB, free: 7.586 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009184/0.9019, allocations: 0.5404 MB / 1.206 GB, free: 7.406 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.9019, allocations: 6.281 kB / 1.206 GB, free: 7.402 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.9019, allocations: 0 / 1.206 GB, free: 7.402 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.9019, allocations: 2.141 kB / 1.206 GB, free: 7.402 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002968/0.9048, allocations: 2.443 MB / 1.209 GB, free: 6.426 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.9049, allocations: 7.812 kB / 1.209 GB, free: 6.422 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002567/0.9051, allocations: 51.28 kB / 1.209 GB, free: 6.418 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-05/0.9051, allocations: 13.75 kB / 1.209 GB, free: 6.41 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.656e-05/0.9051, allocations: 7.812 kB / 1.209 GB, free: 6.41 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.364e-06/0.9052, allocations: 10.28 kB / 1.209 GB, free: 6.406 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.792e-06/0.9052, allocations: 6.172 kB / 1.209 GB, free: 6.406 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009059/0.9061, allocations: 0.6625 MB / 1.21 GB, free: 6.031 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001905/0.9063, allocations: 88.42 kB / 1.21 GB, free: 5.98 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.064e-05/0.9064, allocations: 7.984 kB / 1.21 GB, free: 5.98 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00031/0.9067, allocations: 20.09 kB / 1.21 GB, free: 5.977 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.967e-05/0.9067, allocations: 30.17 kB / 1.21 GB, free: 5.965 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-05/0.9067, allocations: 14.38 kB / 1.21 GB, free: 5.961 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001723/0.9085, allocations: 1.587 MB / 1.211 GB, free: 5.383 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.9085, allocations: 1.188 kB / 1.211 GB, free: 5.383 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0007562/0.9092, allocations: 175.2 kB / 1.211 GB, free: 5.363 MB / 1.076 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.0003226/0.9095, allocations: 168.8 kB / 1.212 GB, free: 5.246 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001193/0.9107, allocations: 0.7708 MB / 1.212 GB, free: 5.059 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.229e-06/0.9107, allocations: 1.125 kB / 1.212 GB, free: 5.059 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.00037/0.9111, allocations: 219.8 kB / 1.213 GB, free: 5.004 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007974/0.9119, allocations: 170.3 kB / 1.213 GB, free: 4.938 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002369/0.9143, allocations: 1.629 MB / 1.214 GB, free: 4.062 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005725/0.9148, allocations: 400.9 kB / 1.215 GB, free: 3.926 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002718/0.9151, allocations: 87.56 kB / 1.215 GB, free: 3.902 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.9152, allocations: 44.88 kB / 1.215 GB, free: 3.891 MB / 1.076 GB Notification: Performance of SimCode: time 8.42e-07/0.9152, allocations: 0 / 1.215 GB, free: 3.891 MB / 1.076 GB Notification: Performance of Templates: time 0.02207/0.9373, allocations: 10.74 MB / 1.225 GB, free: 2.66 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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: 8.964191711042076]