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.0008102/0.0008102, 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.0008572/0.0008572, allocations: 165.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.8648/0.8648, 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 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.668 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 1.462e-06/1.462e-06, allocations: 0 / 0.981 GB, free: 2.594 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.987e-05/2.133e-05, allocations: 6.281 kB / 0.981 GB, free: 2.586 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.002249/0.002271, allocations: 2.081 MB / 0.983 GB, free: 0.4922 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001497/0.003768, allocations: 1.297 MB / 0.9843 GB, free: 15.18 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.52e-05/0.003843, allocations: 4 kB / 0.9843 GB, free: 15.18 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004693/0.004312, allocations: 239 kB / 0.9845 GB, free: 14.95 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0006413/0.004954, allocations: 450.3 kB / 0.9849 GB, free: 14.5 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 7.224e-06/0.004961, allocations: 7.938 kB / 0.9849 GB, free: 14.5 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002537/0.005214, allocations: 402.4 kB / 0.9853 GB, free: 14.1 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.747e-05/0.005262, allocations: 12.58 kB / 0.9853 GB, free: 14.09 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.005389, allocations: 191.4 kB / 0.9855 GB, free: 13.9 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001438/0.005533, allocations: 179.4 kB / 0.9857 GB, free: 13.73 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.005557, allocations: 24 kB / 0.9857 GB, free: 13.7 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003317/0.005889, allocations: 287.5 kB / 0.986 GB, free: 13.42 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002207/0.006109, allocations: 403 kB / 0.9864 GB, free: 13.03 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001616/0.006271, allocations: 271.3 kB / 0.9866 GB, free: 12.76 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.00072/0.006991, allocations: 1.156 MB / 0.9878 GB, free: 11.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.706e-06/0.006994, allocations: 0 / 0.9878 GB, free: 11.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 8.61e-07/0.006995, allocations: 0 / 0.9878 GB, free: 11.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.007002, allocations: 0 / 0.9878 GB, free: 11.6 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.001085/0.008087, allocations: 1.207 MB / 0.9889 GB, free: 10.36 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.008122, allocations: 8.031 kB / 0.9889 GB, free: 10.35 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.041e-05/0.008162, allocations: 46.73 kB / 0.989 GB, free: 10.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003445/0.008507, allocations: 160.2 kB / 0.9891 GB, free: 10.14 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002425/0.01093, allocations: 4.228 MB / 0.9933 GB, free: 5.871 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.01095, allocations: 12.31 kB / 0.9933 GB, free: 5.859 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.01097, allocations: 16.38 kB / 0.9933 GB, free: 5.844 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005015/0.01147, allocations: 0.6275 MB / 0.9939 GB, free: 5.211 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.01148, allocations: 4.188 kB / 0.9939 GB, free: 5.207 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.0115, allocations: 8.125 kB / 0.9939 GB, free: 5.199 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.0115, allocations: 8 kB / 0.9939 GB, free: 5.191 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007998/0.0123, allocations: 1.113 MB / 0.995 GB, free: 4.078 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002231/0.01453, allocations: 3.017 MB / 0.998 GB, free: 1.02 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005082/0.01504, allocations: 336.6 kB / 0.9983 GB, free: 0.6836 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002121/0.01525, allocations: 217.1 kB / 0.9985 GB, free: 480 kB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.924e-05/0.01529, allocations: 23.98 kB / 0.9985 GB, free: 456 kB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.01531, allocations: 42.5 kB / 0.9986 GB, free: 404 kB / 0.948 GB Notification: Performance of pre-optimization done (n=19): time 1.332e-06/0.01531, allocations: 0 / 0.9986 GB, free: 404 kB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.0007791/0.01609, allocations: 0.7272 MB / 0.9993 GB, free: 15.66 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.01612, allocations: 59.34 kB / 0.9993 GB, free: 15.59 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004418/0.02054, allocations: 6.505 MB / 1.006 GB, free: 9.062 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.02056, allocations: 29.7 kB / 1.006 GB, free: 9.027 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002271/0.02079, allocations: 416.5 kB / 1.006 GB, free: 8.617 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.343e-05/0.02082, allocations: 63.44 kB / 1.006 GB, free: 8.555 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.954e-05/0.02089, allocations: 57.69 kB / 1.006 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.103e-05/0.02097, allocations: 322 kB / 1.007 GB, free: 8.172 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000387/0.02136, allocations: 0.5271 MB / 1.007 GB, free: 7.645 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004001/0.02176, allocations: 0.5522 MB / 1.008 GB, free: 7.086 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005945/0.02235, allocations: 0.7762 MB / 1.008 GB, free: 6.305 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.02236, allocations: 0 / 1.008 GB, free: 6.305 MB / 0.9636 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00091/0.02327, allocations: 1.231 MB / 1.01 GB, free: 5.066 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.02328, allocations: 8 kB / 1.01 GB, free: 5.059 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.02328, allocations: 3.938 kB / 1.01 GB, free: 5.055 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.02329, allocations: 0 / 1.01 GB, free: 5.055 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.02346, allocations: 71.92 kB / 1.01 GB, free: 4.984 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.02346, allocations: 0 / 1.01 GB, free: 4.984 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/0.02366, allocations: 43.81 kB / 1.01 GB, free: 4.941 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.02367, allocations: 12 kB / 1.01 GB, free: 4.93 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.0001978/0.02387, allocations: 281.6 kB / 1.01 GB, free: 4.645 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.967e-05/0.02396, allocations: 99.34 kB / 1.01 GB, free: 4.547 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005593/0.02452, allocations: 0.5708 MB / 1.011 GB, free: 3.973 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.02452, allocations: 0 / 1.011 GB, free: 3.973 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.02453, allocations: 0 / 1.011 GB, free: 3.973 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.02453, allocations: 7.938 kB / 1.011 GB, free: 3.965 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001923/0.02645, allocations: 2.673 MB / 1.013 GB, free: 1.184 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.02646, allocations: 4.594 kB / 1.013 GB, free: 1.18 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.02657, allocations: 55.89 kB / 1.013 GB, free: 1.125 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.02657, allocations: 7.938 kB / 1.013 GB, free: 1.117 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.02659, allocations: 12 kB / 1.013 GB, free: 1.105 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.0266, allocations: 4 kB / 1.013 GB, free: 1.102 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.0266, allocations: 7.938 kB / 1.013 GB, free: 1.094 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005429/0.02714, allocations: 0.672 MB / 1.014 GB, free: 356 kB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001679/0.02731, allocations: 191.2 kB / 1.014 GB, free: 164 kB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.299e-05/0.02737, allocations: 23.92 kB / 1.014 GB, free: 140 kB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/0.02756, allocations: 27.98 kB / 1.014 GB, free: 112 kB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.162e-05/0.02759, allocations: 23.86 kB / 1.014 GB, free: 88 kB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.02761, allocations: 15.98 kB / 1.014 GB, free: 72 kB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.002932/0.03054, allocations: 5.157 MB / 1.019 GB, free: 10.9 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.03054, allocations: 0 / 1.019 GB, free: 10.9 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0003624/0.0309, allocations: 191.9 kB / 1.019 GB, free: 10.71 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.0008597/0.03176, allocations: 1.296 MB / 1.021 GB, free: 9.336 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0006279/0.03239, allocations: 0.7689 MB / 1.021 GB, free: 8.566 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.03239, allocations: 4 kB / 1.021 GB, free: 8.562 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001988/0.03259, allocations: 220.6 kB / 1.022 GB, free: 8.348 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000518/0.03311, allocations: 196.4 kB / 1.022 GB, free: 8.152 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01576/0.04887, allocations: 22.91 MB / 1.044 GB, free: 0.9922 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.04912, allocations: 403.2 kB / 1.045 GB, free: 0.5703 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0002114/0.04933, allocations: 145.4 kB / 1.045 GB, free: 436 kB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002717/0.0496, allocations: 308.4 kB / 1.045 GB, free: 128 kB / 0.9948 GB Notification: Performance of SimCode: time 4.9e-07/0.0496, allocations: 0 / 1.045 GB, free: 128 kB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3781/0.4277, allocations: 25.32 MB / 1.07 GB, free: 102.1 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.06/7.488, allocations: 2.609 kB / 1.07 GB, free: 102.1 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.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: 11.394029998220503]