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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001775/0.001775, allocations: 116.7 kB / 17.08 MB, free: 5.992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001972/0.001972, allocations: 185.2 kB / 20.02 MB, free: 3.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 222.9 MB / 245.7 MB, free: 4.344 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.958/2.958, allocations: 489.3 MB / 0.7687 GB, free: 3.797 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002051/0.002051, allocations: 67.89 kB / 1.103 GB, free: 0.8008 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.005/1.007, allocations: 163.8 MB / 1.263 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.00295/1.01, allocations: 2.061 MB / 1.265 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00218/1.012, allocations: 1.372 MB / 1.266 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/1.012, allocations: 1.469 kB / 1.266 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007395/1.013, allocations: 254.5 kB / 1.266 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001103/1.014, allocations: 428.7 kB / 1.267 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 1.017e-05/1.014, allocations: 4 kB / 1.267 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004507/1.015, allocations: 392.6 kB / 1.267 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.487e-05/1.015, allocations: 19.7 kB / 1.267 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001619/1.015, allocations: 142.9 kB / 1.267 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002464/1.015, allocations: 197.6 kB / 1.267 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.7e-05/1.015, allocations: 22.44 kB / 1.267 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005999/1.016, allocations: 272.1 kB / 1.268 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004339/1.016, allocations: 368.8 kB / 1.268 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003178/1.017, allocations: 305.1 kB / 1.268 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001156/1.018, allocations: 0.8511 MB / 1.269 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/1.018, allocations: 0 / 1.269 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.903e-06/1.018, allocations: 0.9062 kB / 1.269 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.234e-05/1.018, allocations: 0 / 1.269 GB, free: 4.371 MB / 0.9981 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.001149/1.019, allocations: 0.9648 MB / 1.27 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/1.019, allocations: 9.406 kB / 1.27 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006397/1.02, allocations: 136.9 kB / 1.27 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/1.021, allocations: 0.9118 MB / 1.271 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/1.021, allocations: 13.97 kB / 1.271 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.934e-05/1.021, allocations: 14 kB / 1.271 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009401/1.022, allocations: 0.6358 MB / 1.272 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/1.022, allocations: 4 kB / 1.272 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.623e-05/1.022, allocations: 5.188 kB / 1.272 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/1.022, allocations: 8.703 kB / 1.272 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00139/1.023, allocations: 1.112 MB / 1.273 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002555/1.026, allocations: 2.048 MB / 1.275 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007082/1.027, allocations: 342.6 kB / 1.275 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003329/1.027, allocations: 238.7 kB / 1.275 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.689e-05/1.027, allocations: 28.36 kB / 1.275 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.529e-05/1.027, allocations: 35.11 kB / 1.275 GB, free: 1.59 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=19): time 1.994e-06/1.027, allocations: 0 / 1.275 GB, free: 1.59 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.001194/1.028, allocations: 0.7027 MB / 1.276 GB, free: 1.367 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/1.028, allocations: 54.12 kB / 1.276 GB, free: 1.305 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00238/1.031, allocations: 2.069 MB / 1.278 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/1.031, allocations: 30.83 kB / 1.278 GB, free: 0.5586 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002165/1.031, allocations: 330 kB / 1.279 GB, free: 300 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.872e-05/1.031, allocations: 69.62 kB / 1.279 GB, free: 244 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/1.031, allocations: 60.31 kB / 1.279 GB, free: 208 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001195/1.031, allocations: 319.8 kB / 1.279 GB, free: 15.89 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006998/1.032, allocations: 0.5274 MB / 1.279 GB, free: 15.77 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007616/1.033, allocations: 0.5509 MB / 1.28 GB, free: 15.63 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/1.034, allocations: 0.7754 MB / 1.281 GB, free: 15.41 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/1.034, allocations: 0 / 1.281 GB, free: 15.41 MB / 1.014 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001922/1.036, allocations: 1.207 MB / 1.282 GB, free: 15.07 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/1.036, allocations: 6.922 kB / 1.282 GB, free: 15.07 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/1.036, allocations: 4.031 kB / 1.282 GB, free: 15.07 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/1.036, allocations: 6.203 kB / 1.282 GB, free: 15.06 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003301/1.036, allocations: 64.14 kB / 1.282 GB, free: 15.06 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/1.036, allocations: 3.625 kB / 1.282 GB, free: 15.06 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005029/1.037, allocations: 31.17 kB / 1.282 GB, free: 15.04 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.334e-05/1.037, allocations: 17.91 kB / 1.282 GB, free: 15.04 MB / 1.014 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.0004151/1.037, allocations: 272 kB / 1.282 GB, free: 14.87 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001685/1.037, allocations: 79.16 kB / 1.282 GB, free: 14.82 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001019/1.038, allocations: 0.5391 MB / 1.283 GB, free: 14.65 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/1.038, allocations: 2.406 kB / 1.283 GB, free: 14.65 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/1.038, allocations: 0 / 1.283 GB, free: 14.65 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/1.038, allocations: 6.188 kB / 1.283 GB, free: 14.64 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003799/1.042, allocations: 2.576 MB / 1.285 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/1.042, allocations: 4.312 kB / 1.285 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002595/1.042, allocations: 54.59 kB / 1.285 GB, free: 13.56 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.969e-06/1.042, allocations: 5.375 kB / 1.285 GB, free: 13.56 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.744e-05/1.042, allocations: 9.422 kB / 1.286 GB, free: 13.56 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.324e-06/1.042, allocations: 5.766 kB / 1.286 GB, free: 13.56 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.31e-05/1.042, allocations: 9.828 kB / 1.286 GB, free: 13.56 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/1.044, allocations: 0.6737 MB / 1.286 GB, free: 13.16 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002757/1.044, allocations: 161.5 kB / 1.286 GB, free: 13.02 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/1.044, allocations: 7.594 kB / 1.286 GB, free: 13.02 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003209/1.044, allocations: 20.59 kB / 1.286 GB, free: 13.02 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.457e-05/1.044, allocations: 31.31 kB / 1.286 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.398e-05/1.044, allocations: 15.12 kB / 1.286 GB, free: 13 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001916/1.046, allocations: 1.592 MB / 1.288 GB, free: 12.42 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.21e-07/1.046, allocations: 0 / 1.288 GB, free: 12.42 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007628/1.047, allocations: 171 kB / 1.288 GB, free: 12.41 MB / 1.014 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.0003694/1.047, allocations: 173.5 kB / 1.288 GB, free: 12.29 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001227/1.049, allocations: 0.7783 MB / 1.289 GB, free: 12.1 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/1.049, allocations: 1.062 kB / 1.289 GB, free: 12.1 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003961/1.049, allocations: 225.8 kB / 1.289 GB, free: 12.04 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008985/1.05, allocations: 180.1 kB / 1.289 GB, free: 11.98 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00249/1.053, allocations: 1.436 MB / 1.291 GB, free: 11.18 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007103/1.053, allocations: 0.9226 MB / 1.292 GB, free: 10.45 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001867/1.053, allocations: 52.48 kB / 1.292 GB, free: 10.44 MB / 1.014 GB Notification: Performance of SimCode: time 3.3e-07/1.053, allocations: 0 / 1.292 GB, free: 10.44 MB / 1.014 GB Notification: Performance of Templates: time 0.0189/1.072, allocations: 8.656 MB / 1.3 GB, free: 9.641 MB / 1.014 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 -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_2/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: 12.769617673009634]