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.001047/0.001047, allocations: 76.55 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.001099/0.001099, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.8742/0.8742, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.722/1.722, allocations: 377.8 MB / 0.6228 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.9822 GB, free: 2.047 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.011e-05/2.148e-05, allocations: 5.094 kB / 0.9822 GB, free: 2.043 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.002116/0.002137, allocations: 2.074 MB / 0.9842 GB, free: 15.95 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.001483/0.00362, allocations: 1.297 MB / 0.9855 GB, free: 14.65 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.364e-05/0.003683, allocations: 7.938 kB / 0.9855 GB, free: 14.64 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004592/0.004143, allocations: 246.9 kB / 0.9858 GB, free: 14.4 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0006188/0.004761, allocations: 442.4 kB / 0.9862 GB, free: 13.96 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 5.951e-06/0.004767, allocations: 0 / 0.9862 GB, free: 13.96 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.000246/0.005013, allocations: 410.3 kB / 0.9866 GB, free: 13.56 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.425e-05/0.005058, allocations: 16.58 kB / 0.9866 GB, free: 13.55 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001349/0.005192, allocations: 187.5 kB / 0.9868 GB, free: 13.36 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.005339, allocations: 183.4 kB / 0.9869 GB, free: 13.18 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.198e-05/0.005361, allocations: 23.94 kB / 0.987 GB, free: 13.16 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003161/0.005677, allocations: 283.5 kB / 0.9872 GB, free: 12.88 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002063/0.005884, allocations: 383.1 kB / 0.9876 GB, free: 12.51 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.006003, allocations: 199.4 kB / 0.9878 GB, free: 12.31 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005845/0.006588, allocations: 0.8566 MB / 0.9886 GB, free: 11.45 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.00659, allocations: 0 / 0.9886 GB, free: 11.45 MB / 0.948 GB Notification: Performance of FrontEnd: time 7.21e-07/0.00659, allocations: 0 / 0.9886 GB, free: 11.45 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.006596, allocations: 4 kB / 0.9886 GB, free: 11.45 MB / 0.948 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.0008054/0.007402, allocations: 0.8762 MB / 0.9895 GB, free: 10.54 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.007441, allocations: 12.03 kB / 0.9895 GB, free: 10.53 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003229/0.007764, allocations: 132.3 kB / 0.9896 GB, free: 10.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006387/0.008402, allocations: 0.8614 MB / 0.9905 GB, free: 9.508 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.008418, allocations: 12.38 kB / 0.9905 GB, free: 9.496 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.133e-05/0.00844, allocations: 12.38 kB / 0.9905 GB, free: 9.484 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005171/0.008957, allocations: 0.6429 MB / 0.9911 GB, free: 8.836 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.008966, allocations: 4.188 kB / 0.9911 GB, free: 8.832 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/0.008984, allocations: 4.375 kB / 0.9911 GB, free: 8.828 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.008992, allocations: 7.938 kB / 0.9911 GB, free: 8.82 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008248/0.009817, allocations: 1.102 MB / 0.9922 GB, free: 7.719 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001536/0.01135, allocations: 1.922 MB / 0.9941 GB, free: 5.766 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004615/0.01181, allocations: 334.6 kB / 0.9944 GB, free: 5.43 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002146/0.01203, allocations: 216.8 kB / 0.9946 GB, free: 5.215 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.315e-05/0.01206, allocations: 27.98 kB / 0.9946 GB, free: 5.188 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.01208, allocations: 42.55 kB / 0.9947 GB, free: 5.137 MB / 0.948 GB Notification: Performance of pre-optimization done (n=19): time 1.543e-06/0.01208, allocations: 0 / 0.9947 GB, free: 5.137 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.0007293/0.01281, allocations: 0.6909 MB / 0.9953 GB, free: 4.441 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.01284, allocations: 59.34 kB / 0.9954 GB, free: 4.371 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001532/0.01437, allocations: 2.059 MB / 0.9974 GB, free: 2.305 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.01439, allocations: 33.7 kB / 0.9974 GB, free: 2.266 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/0.01456, allocations: 324.2 kB / 0.9978 GB, free: 1.945 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.653e-05/0.0146, allocations: 75.31 kB / 0.9978 GB, free: 1.871 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.001e-05/0.01467, allocations: 61.64 kB / 0.9979 GB, free: 1.805 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.073e-05/0.01474, allocations: 318 kB / 0.9982 GB, free: 1.488 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003896/0.01513, allocations: 0.5232 MB / 0.9987 GB, free: 0.9648 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003985/0.01553, allocations: 0.56 MB / 0.9992 GB, free: 408 kB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006061/0.01613, allocations: 0.7685 MB / 1 GB, free: 15.62 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-06/0.01614, allocations: 0 / 1 GB, free: 15.62 MB / 0.9636 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008931/0.01703, allocations: 1.204 MB / 1.001 GB, free: 14.41 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.01704, allocations: 8 kB / 1.001 GB, free: 14.41 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.01705, allocations: 0 / 1.001 GB, free: 14.41 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.01706, allocations: 4 kB / 1.001 GB, free: 14.4 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.01723, allocations: 71.81 kB / 1.001 GB, free: 14.33 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.01723, allocations: 0 / 1.001 GB, free: 14.33 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.01738, allocations: 31.88 kB / 1.001 GB, free: 14.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.01739, allocations: 12 kB / 1.001 GB, free: 14.29 MB / 0.9636 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.0001866/0.01758, allocations: 273.7 kB / 1.002 GB, free: 14.01 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.749e-05/0.01764, allocations: 75.53 kB / 1.002 GB, free: 13.94 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005417/0.01818, allocations: 0.5271 MB / 1.002 GB, free: 13.4 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.01818, allocations: 7.938 kB / 1.002 GB, free: 13.39 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.01819, allocations: 3.938 kB / 1.002 GB, free: 13.39 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.01819, allocations: 0 / 1.002 GB, free: 13.39 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002098/0.02029, allocations: 2.461 MB / 1.005 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.02029, allocations: 11.94 kB / 1.005 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001264/0.02042, allocations: 47.91 kB / 1.005 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.02043, allocations: 8 kB / 1.005 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.02044, allocations: 12 kB / 1.005 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/0.02045, allocations: 15.86 kB / 1.005 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.02045, allocations: 4 kB / 1.005 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000573/0.02102, allocations: 0.6469 MB / 1.005 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.623e-05/0.02111, allocations: 79.5 kB / 1.005 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.201e-05/0.02116, allocations: 12 kB / 1.005 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.02131, allocations: 23.91 kB / 1.005 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.737e-05/0.02135, allocations: 35.84 kB / 1.005 GB, free: 9.867 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.02136, allocations: 15.98 kB / 1.005 GB, free: 9.852 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001276/0.02264, allocations: 1.581 MB / 1.007 GB, free: 8.277 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.2e-07/0.02264, allocations: 3.938 kB / 1.007 GB, free: 8.273 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003557/0.023, allocations: 179.8 kB / 1.007 GB, free: 8.098 MB / 0.9636 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.0002309/0.02323, allocations: 171.1 kB / 1.007 GB, free: 7.922 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0006775/0.02391, allocations: 0.769 MB / 1.008 GB, free: 7.152 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.02391, allocations: 0 / 1.008 GB, free: 7.152 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.00021/0.02412, allocations: 220.5 kB / 1.008 GB, free: 6.938 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004901/0.02461, allocations: 181.8 kB / 1.008 GB, free: 6.762 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/0.02621, allocations: 1.406 MB / 1.01 GB, free: 5.266 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002166/0.02642, allocations: 324.7 kB / 1.01 GB, free: 4.926 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.02653, allocations: 48.42 kB / 1.01 GB, free: 4.875 MB / 0.9636 GB Notification: Performance of SimCode: time 6.41e-07/0.02653, allocations: 0 / 1.01 GB, free: 4.875 MB / 0.9636 GB Notification: Performance of Templates: time 0.007665/0.03419, allocations: 8.919 MB / 1.019 GB, free: 12.02 MB / 0.9792 GB " [Timeout remaining time 300] 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/jenkins/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: 7.325360610149801]