Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001116/0.001116, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008315/0.0008315, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9009/0.9009, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.633 GB, free: 12.68 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: "" <> buildModelFMU(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.784e-05/1.935e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.002235/0.002255, allocations: 2.078 MB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001488/0.003743, allocations: 1.297 MB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.59e-05/0.003818, allocations: 0 / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0005266/0.004345, allocations: 243 kB / 1.003 GB, free: 9.836 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0006456/0.004991, allocations: 446.3 kB / 1.004 GB, free: 9.398 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 5.911e-06/0.004997, allocations: 0 / 1.004 GB, free: 9.398 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002573/0.005254, allocations: 406.2 kB / 1.004 GB, free: 9 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.368e-05/0.005298, allocations: 20.56 kB / 1.004 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.005418, allocations: 183.5 kB / 1.004 GB, free: 8.801 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.005567, allocations: 187.4 kB / 1.004 GB, free: 8.617 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.005589, allocations: 24 kB / 1.004 GB, free: 8.594 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003172/0.005906, allocations: 287.5 kB / 1.005 GB, free: 8.312 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0002163/0.006122, allocations: 407 kB / 1.005 GB, free: 7.914 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001553/0.006277, allocations: 275.2 kB / 1.005 GB, free: 7.645 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0007131/0.006991, allocations: 1.152 MB / 1.006 GB, free: 6.488 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.006993, allocations: 0 / 1.006 GB, free: 6.488 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.092e-06/0.006994, allocations: 0 / 1.006 GB, free: 6.488 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 8.116e-06/0.007002, allocations: 0 / 1.006 GB, free: 6.488 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.001104/0.008106, allocations: 1.195 MB / 1.008 GB, free: 5.258 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.008143, allocations: 12.75 kB / 1.008 GB, free: 5.246 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.018e-05/0.008184, allocations: 46.73 kB / 1.008 GB, free: 5.191 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003536/0.008537, allocations: 152.2 kB / 1.008 GB, free: 5.043 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00248/0.01102, allocations: 4.236 MB / 1.012 GB, free: 0.7656 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.01103, allocations: 8.375 kB / 1.012 GB, free: 0.7578 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.01106, allocations: 12.38 kB / 1.012 GB, free: 0.7461 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005116/0.01157, allocations: 0.6361 MB / 1.013 GB, free: 108 kB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.01158, allocations: 192 / 1.013 GB, free: 108 kB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/0.0116, allocations: 16.11 kB / 1.013 GB, free: 92 kB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.0116, allocations: 4 kB / 1.013 GB, free: 88 kB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008017/0.0124, allocations: 1.105 MB / 1.014 GB, free: 14.98 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00233/0.01473, allocations: 3.018 MB / 1.017 GB, free: 11.92 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004533/0.01519, allocations: 336.6 kB / 1.017 GB, free: 11.58 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002077/0.0154, allocations: 224.8 kB / 1.017 GB, free: 11.36 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 3.451e-05/0.01543, allocations: 23.98 kB / 1.017 GB, free: 11.34 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.569e-05/0.01545, allocations: 38.44 kB / 1.017 GB, free: 11.29 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=19): time 1.322e-06/0.01545, allocations: 0 / 1.017 GB, free: 11.29 MB / 0.9792 GB Notification: Performance of matching and sorting (n=19): time 0.0007544/0.0162, allocations: 0.7237 MB / 1.018 GB, free: 10.56 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/0.01623, allocations: 55.41 kB / 1.018 GB, free: 10.49 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004453/0.02068, allocations: 6.509 MB / 1.024 GB, free: 3.961 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.0207, allocations: 29.7 kB / 1.024 GB, free: 3.926 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002224/0.02092, allocations: 416.5 kB / 1.025 GB, free: 3.516 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 3.475e-05/0.02096, allocations: 63.44 kB / 1.025 GB, free: 3.453 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.975e-05/0.02103, allocations: 61.64 kB / 1.025 GB, free: 3.387 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 7.158e-05/0.0211, allocations: 322 kB / 1.025 GB, free: 3.066 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003793/0.02148, allocations: 0.5271 MB / 1.026 GB, free: 2.539 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003853/0.02186, allocations: 0.5522 MB / 1.026 GB, free: 1.98 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005887/0.02245, allocations: 0.7768 MB / 1.027 GB, free: 1.199 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.02245, allocations: 0 / 1.027 GB, free: 1.199 MB / 0.9792 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009688/0.02342, allocations: 1.227 MB / 1.028 GB, free: 15.96 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.02344, allocations: 9.562 kB / 1.028 GB, free: 15.96 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.02344, allocations: 3.938 kB / 1.028 GB, free: 15.95 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.02346, allocations: 3.984 kB / 1.028 GB, free: 15.95 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.02363, allocations: 71.92 kB / 1.028 GB, free: 15.88 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.02363, allocations: 7.938 kB / 1.028 GB, free: 15.87 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/0.02383, allocations: 47.77 kB / 1.028 GB, free: 15.82 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.667e-05/0.02385, allocations: 11.98 kB / 1.028 GB, free: 15.81 MB / 0.9948 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.0001986/0.02405, allocations: 285.6 kB / 1.029 GB, free: 15.52 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.773e-05/0.02413, allocations: 95.39 kB / 1.029 GB, free: 15.43 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005466/0.02468, allocations: 0.5629 MB / 1.029 GB, free: 14.86 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.02468, allocations: 4 kB / 1.029 GB, free: 14.85 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.02469, allocations: 0 / 1.029 GB, free: 14.85 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.02469, allocations: 0 / 1.029 GB, free: 14.85 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001927/0.02662, allocations: 2.665 MB / 1.032 GB, free: 12.08 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.02662, allocations: 4.594 kB / 1.032 GB, free: 12.07 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.02674, allocations: 63.89 kB / 1.032 GB, free: 12.01 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.02674, allocations: 7.938 kB / 1.032 GB, free: 12 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.02676, allocations: 8 kB / 1.032 GB, free: 12 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.02676, allocations: 4 kB / 1.032 GB, free: 11.99 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.02676, allocations: 7.938 kB / 1.032 GB, free: 11.98 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005583/0.02732, allocations: 0.6759 MB / 1.033 GB, free: 11.23 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001733/0.02749, allocations: 191.2 kB / 1.033 GB, free: 11.05 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.304e-05/0.02756, allocations: 11.98 kB / 1.033 GB, free: 11.04 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001915/0.02775, allocations: 31.98 kB / 1.033 GB, free: 11 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.197e-05/0.02778, allocations: 31.84 kB / 1.033 GB, free: 10.97 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.02779, allocations: 12 kB / 1.033 GB, free: 10.96 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.003006/0.0308, allocations: 5.157 MB / 1.038 GB, free: 5.793 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.81e-07/0.0308, allocations: 3.938 kB / 1.038 GB, free: 5.789 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003826/0.03118, allocations: 195.9 kB / 1.038 GB, free: 5.598 MB / 0.9948 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.0008916/0.03207, allocations: 1.292 MB / 1.039 GB, free: 4.223 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0006579/0.03273, allocations: 0.7651 MB / 1.04 GB, free: 3.457 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.03273, allocations: 3.938 kB / 1.04 GB, free: 3.453 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002136/0.03295, allocations: 228.5 kB / 1.04 GB, free: 3.23 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005466/0.03349, allocations: 192.4 kB / 1.041 GB, free: 3.039 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4088/0.4423, allocations: 22.91 MB / 1.063 GB, free: 98.2 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/0.4425, allocations: 403.3 kB / 1.063 GB, free: 98.06 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0003663/0.4429, allocations: 148.4 kB / 1.063 GB, free: 98.05 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002798/0.4432, allocations: 308.6 kB / 1.064 GB, free: 97.84 MB / 1.01 GB Notification: Performance of SimCode: time 2.054e-06/0.4432, allocations: 1.062 kB / 1.064 GB, free: 97.84 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0391/0.4823, allocations: 25.32 MB / 1.088 GB, free: 94.79 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.09/7.572, allocations: 5.188 kB / 1.088 GB, free: 94.78 MB / 1.01 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid.fmu > Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.756752049550414]