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.0008448/0.0008448, 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.0009177/0.0009177, 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.8826/0.8826, allocations: 177.1 MB / 202.8 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.683/1.683, allocations: 377.8 MB / 0.6221 GB, free: 8.672 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: "" <> buildModelFMU(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.656e-06/3.656e-06, allocations: 4 kB / 0.981 GB, free: 2.543 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.802e-05/2.168e-05, allocations: 2.281 kB / 0.981 GB, free: 2.539 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.002084/0.002106, allocations: 2.084 MB / 0.983 GB, free: 452 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001547/0.003653, allocations: 1.301 MB / 0.9843 GB, free: 15.13 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.016e-05/0.003723, allocations: 4 kB / 0.9843 GB, free: 15.13 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004609/0.004184, allocations: 235 kB / 0.9845 GB, free: 14.9 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0006257/0.00481, allocations: 451.7 kB / 0.9849 GB, free: 14.46 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 6.462e-06/0.004816, allocations: 3.938 kB / 0.9849 GB, free: 14.45 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002454/0.005062, allocations: 406.4 kB / 0.9853 GB, free: 14.05 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.638e-05/0.005108, allocations: 12.58 kB / 0.9853 GB, free: 14.04 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.00523, allocations: 187.5 kB / 0.9855 GB, free: 13.86 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.005373, allocations: 191.3 kB / 0.9857 GB, free: 13.67 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.005396, allocations: 24 kB / 0.9857 GB, free: 13.65 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003246/0.00572, allocations: 283.5 kB / 0.986 GB, free: 13.37 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002085/0.005929, allocations: 399 kB / 0.9864 GB, free: 12.98 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001623/0.006091, allocations: 275.3 kB / 0.9866 GB, free: 12.71 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007104/0.006802, allocations: 1.149 MB / 0.9878 GB, free: 11.56 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.006806, allocations: 0 / 0.9878 GB, free: 11.56 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.352e-06/0.006807, allocations: 0 / 0.9878 GB, free: 11.56 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.006813, allocations: 0 / 0.9878 GB, free: 11.56 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.001076/0.007889, allocations: 1.207 MB / 0.9889 GB, free: 10.32 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.007927, allocations: 8.031 kB / 0.989 GB, free: 10.31 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.345e-05/0.007971, allocations: 50.73 kB / 0.989 GB, free: 10.25 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000372/0.008343, allocations: 156.2 kB / 0.9892 GB, free: 10.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002629/0.01097, allocations: 4.232 MB / 0.9933 GB, free: 5.824 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.01099, allocations: 12.38 kB / 0.9933 GB, free: 5.812 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.01102, allocations: 16.38 kB / 0.9933 GB, free: 5.797 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005307/0.01155, allocations: 0.6314 MB / 0.9939 GB, free: 5.16 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.01155, allocations: 192 / 0.9939 GB, free: 5.16 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.01157, allocations: 8.125 kB / 0.9939 GB, free: 5.152 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.01158, allocations: 4 kB / 0.9939 GB, free: 5.148 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007871/0.01237, allocations: 1.106 MB / 0.995 GB, free: 4.043 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002372/0.01474, allocations: 3.014 MB / 0.998 GB, free: 0.9844 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000479/0.01522, allocations: 340.5 kB / 0.9983 GB, free: 0.6445 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000204/0.01542, allocations: 217.1 kB / 0.9985 GB, free: 440 kB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.76e-05/0.01546, allocations: 27.94 kB / 0.9985 GB, free: 412 kB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.01548, allocations: 34.56 kB / 0.9986 GB, free: 368 kB / 0.948 GB Notification: Performance of pre-optimization done (n=19): time 1.933e-06/0.01548, allocations: 4 kB / 0.9986 GB, free: 364 kB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.0007707/0.01625, allocations: 0.7233 MB / 0.9993 GB, free: 15.62 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.01628, allocations: 59.34 kB / 0.9993 GB, free: 15.55 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004644/0.02092, allocations: 6.501 MB / 1.006 GB, free: 9.031 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.121e-05/0.02096, allocations: 29.7 kB / 1.006 GB, free: 8.996 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002318/0.02119, allocations: 424.5 kB / 1.006 GB, free: 8.578 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.305e-05/0.02123, allocations: 67.44 kB / 1.006 GB, free: 8.512 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.473e-05/0.02131, allocations: 57.69 kB / 1.006 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.082e-05/0.0214, allocations: 318 kB / 1.007 GB, free: 8.133 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004002/0.0218, allocations: 0.5232 MB / 1.007 GB, free: 7.609 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000417/0.02221, allocations: 0.56 MB / 1.008 GB, free: 7.043 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006068/0.02282, allocations: 0.7724 MB / 1.008 GB, free: 6.266 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.02282, allocations: 0 / 1.008 GB, free: 6.266 MB / 0.9636 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009515/0.02377, allocations: 1.235 MB / 1.01 GB, free: 5.023 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.02379, allocations: 4 kB / 1.01 GB, free: 5.02 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.0238, allocations: 3.938 kB / 1.01 GB, free: 5.016 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.02382, allocations: 7.969 kB / 1.01 GB, free: 5.008 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/0.02401, allocations: 67.89 kB / 1.01 GB, free: 4.941 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.02402, allocations: 3.984 kB / 1.01 GB, free: 4.938 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002396/0.02426, allocations: 47.77 kB / 1.01 GB, free: 4.891 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.02428, allocations: 12 kB / 1.01 GB, free: 4.879 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.0002203/0.0245, allocations: 281.6 kB / 1.01 GB, free: 4.594 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.87e-05/0.0246, allocations: 95.38 kB / 1.01 GB, free: 4.5 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005974/0.0252, allocations: 0.563 MB / 1.011 GB, free: 3.934 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.0252, allocations: 3.984 kB / 1.011 GB, free: 3.93 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.02521, allocations: 3.938 kB / 1.011 GB, free: 3.926 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.02521, allocations: 0 / 1.011 GB, free: 3.926 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002156/0.02737, allocations: 2.677 MB / 1.013 GB, free: 1.141 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.02737, allocations: 4 kB / 1.013 GB, free: 1.137 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.02749, allocations: 51.89 kB / 1.013 GB, free: 1.086 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.012e-06/0.0275, allocations: 7.938 kB / 1.013 GB, free: 1.078 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.02752, allocations: 15.98 kB / 1.013 GB, free: 1.062 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.02752, allocations: 7.938 kB / 1.013 GB, free: 1.055 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.02752, allocations: 8 kB / 1.013 GB, free: 1.047 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005557/0.02808, allocations: 0.6759 MB / 1.014 GB, free: 304 kB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001829/0.02826, allocations: 195.1 kB / 1.014 GB, free: 108 kB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.639e-05/0.02833, allocations: 16 kB / 1.014 GB, free: 92 kB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000193/0.02852, allocations: 31.97 kB / 1.014 GB, free: 60 kB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.02856, allocations: 23.86 kB / 1.014 GB, free: 36 kB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.02857, allocations: 12 kB / 1.014 GB, free: 24 kB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.003036/0.0316, allocations: 5.164 MB / 1.019 GB, free: 10.85 MB / 0.9792 GB Notification: Performance of sort global known variables: time 4.41e-07/0.0316, allocations: 0 / 1.019 GB, free: 10.85 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0004687/0.03207, allocations: 187.9 kB / 1.019 GB, free: 10.66 MB / 0.9792 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.0009515/0.03302, allocations: 1.296 MB / 1.021 GB, free: 9.285 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0006722/0.0337, allocations: 0.7689 MB / 1.021 GB, free: 8.516 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.0337, allocations: 0 / 1.021 GB, free: 8.516 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.000207/0.03391, allocations: 224.2 kB / 1.022 GB, free: 8.297 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005947/0.0345, allocations: 199.8 kB / 1.022 GB, free: 8.102 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01621/0.05072, allocations: 22.89 MB / 1.044 GB, free: 0.957 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/0.05098, allocations: 411.2 kB / 1.045 GB, free: 0.5273 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0002846/0.05127, allocations: 149.3 kB / 1.045 GB, free: 388 kB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002781/0.05154, allocations: 308.4 kB / 1.045 GB, free: 80 kB / 0.9948 GB Notification: Performance of SimCode: time 1.763e-06/0.05155, allocations: 0 / 1.045 GB, free: 80 kB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4291/0.4806, allocations: 25.31 MB / 1.07 GB, free: 102.3 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.145/7.626, allocations: 5.703 kB / 1.07 GB, free: 102.3 MB / 0.9948 GB " [Timeout remaining time 292] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid.fmu > Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid_res.csv","/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: 11.709797489456832]