Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.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.0008189/0.0008189, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008178/0.0008178, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8853/0.8853, allocations: 177.2 MB / 202.8 MB, free: 5.73 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.709/1.709, allocations: 377.8 MB / 0.6221 GB, free: 8.656 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.DryFluid,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 0.981 GB, free: 2.59 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.063e-05/1.194e-05, allocations: 2.281 kB / 0.981 GB, free: 2.586 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.002038/0.00205, allocations: 1.964 MB / 0.9829 GB, free: 0.6094 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.00144/0.003489, allocations: 1.301 MB / 0.9842 GB, free: 15.3 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.336e-05/0.003563, allocations: 4 kB / 0.9842 GB, free: 15.3 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004647/0.004027, allocations: 235 kB / 0.9844 GB, free: 15.07 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0006625/0.00469, allocations: 464.1 kB / 0.9848 GB, free: 14.61 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 5.4e-06/0.004695, allocations: 0 / 0.9848 GB, free: 14.61 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002394/0.004935, allocations: 402.4 kB / 0.9852 GB, free: 14.22 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.201e-05/0.004977, allocations: 8.594 kB / 0.9852 GB, free: 14.21 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.005098, allocations: 195.4 kB / 0.9854 GB, free: 14.02 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.005244, allocations: 183.4 kB / 0.9856 GB, free: 13.84 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.245e-05/0.005266, allocations: 28 kB / 0.9856 GB, free: 13.81 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003303/0.005596, allocations: 283.5 kB / 0.9859 GB, free: 13.54 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.000214/0.00581, allocations: 403 kB / 0.9863 GB, free: 13.14 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001664/0.005977, allocations: 275.2 kB / 0.9865 GB, free: 12.87 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007423/0.006719, allocations: 1.152 MB / 0.9876 GB, free: 11.71 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.006721, allocations: 0 / 0.9876 GB, free: 11.71 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.072e-06/0.006722, allocations: 0 / 0.9876 GB, free: 11.71 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.846e-06/0.006731, allocations: 0 / 0.9876 GB, free: 11.71 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.001105/0.007836, allocations: 1.203 MB / 0.9888 GB, free: 10.48 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.007872, allocations: 8.031 kB / 0.9888 GB, free: 10.47 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.122e-05/0.007913, allocations: 58.67 kB / 0.9889 GB, free: 10.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003399/0.008253, allocations: 152.2 kB / 0.989 GB, free: 10.25 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002618/0.01087, allocations: 4.224 MB / 0.9932 GB, free: 5.988 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.01089, allocations: 8.375 kB / 0.9932 GB, free: 5.98 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.01091, allocations: 20.38 kB / 0.9932 GB, free: 5.961 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005003/0.01141, allocations: 0.6275 MB / 0.9938 GB, free: 5.328 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.01142, allocations: 4.188 kB / 0.9938 GB, free: 5.324 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.01144, allocations: 16.05 kB / 0.9938 GB, free: 5.309 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.01144, allocations: 4 kB / 0.9938 GB, free: 5.305 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007858/0.01223, allocations: 1.106 MB / 0.9949 GB, free: 4.199 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002288/0.01452, allocations: 3.018 MB / 0.9978 GB, free: 1.137 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004584/0.01497, allocations: 338.7 kB / 0.9982 GB, free: 0.7969 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002059/0.01518, allocations: 221.1 kB / 0.9984 GB, free: 0.5781 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.164e-05/0.01521, allocations: 19.98 kB / 0.9984 GB, free: 0.5586 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.01523, allocations: 38.52 kB / 0.9984 GB, free: 0.5117 MB / 0.948 GB Notification: Performance of pre-optimization done (n=19): time 1.804e-06/0.01523, allocations: 7.938 kB / 0.9984 GB, free: 0.5039 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.0007526/0.01599, allocations: 0.7258 MB / 0.9992 GB, free: 15.77 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/0.01601, allocations: 55.41 kB / 0.9992 GB, free: 15.71 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004389/0.0204, allocations: 6.505 MB / 1.006 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.02042, allocations: 25.7 kB / 1.006 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002395/0.02066, allocations: 424.5 kB / 1.006 GB, free: 8.73 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.724e-05/0.0207, allocations: 71.42 kB / 1.006 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.067e-05/0.02077, allocations: 57.69 kB / 1.006 GB, free: 8.598 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.14e-05/0.02084, allocations: 314 kB / 1.006 GB, free: 8.285 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003741/0.02121, allocations: 0.5271 MB / 1.007 GB, free: 7.758 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003876/0.0216, allocations: 0.5561 MB / 1.007 GB, free: 7.195 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005733/0.02217, allocations: 0.7723 MB / 1.008 GB, free: 6.418 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.02218, allocations: 0 / 1.008 GB, free: 6.418 MB / 0.9636 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008925/0.02307, allocations: 1.231 MB / 1.009 GB, free: 5.18 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.02309, allocations: 8 kB / 1.009 GB, free: 5.172 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.02309, allocations: 3.938 kB / 1.009 GB, free: 5.168 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.02311, allocations: 4.031 kB / 1.009 GB, free: 5.164 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.02327, allocations: 67.95 kB / 1.01 GB, free: 5.098 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.02328, allocations: 3.938 kB / 1.01 GB, free: 5.094 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/0.02348, allocations: 43.8 kB / 1.01 GB, free: 5.051 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.842e-05/0.0235, allocations: 12 kB / 1.01 GB, free: 5.039 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.0002087/0.02371, allocations: 273.7 kB / 1.01 GB, free: 4.762 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.953e-05/0.0238, allocations: 99.34 kB / 1.01 GB, free: 4.664 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005579/0.02436, allocations: 0.5683 MB / 1.01 GB, free: 4.09 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.02436, allocations: 0 / 1.01 GB, free: 4.09 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.02437, allocations: 4 kB / 1.01 GB, free: 4.086 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.02437, allocations: 3.984 kB / 1.01 GB, free: 4.082 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002044/0.02642, allocations: 2.681 MB / 1.013 GB, free: 1.293 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.02642, allocations: 4 kB / 1.013 GB, free: 1.289 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.02653, allocations: 47.91 kB / 1.013 GB, free: 1.242 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.986e-06/0.02654, allocations: 11.88 kB / 1.013 GB, free: 1.23 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.02655, allocations: 15.98 kB / 1.013 GB, free: 1.215 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.02656, allocations: 4 kB / 1.013 GB, free: 1.211 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/0.02656, allocations: 11.94 kB / 1.013 GB, free: 1.199 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005378/0.0271, allocations: 0.6705 MB / 1.014 GB, free: 468 kB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001667/0.02727, allocations: 191.2 kB / 1.014 GB, free: 276 kB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.122e-05/0.02733, allocations: 16 kB / 1.014 GB, free: 260 kB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.02752, allocations: 27.98 kB / 1.014 GB, free: 232 kB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.131e-05/0.02755, allocations: 27.84 kB / 1.014 GB, free: 204 kB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.02757, allocations: 19.94 kB / 1.014 GB, free: 184 kB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.002971/0.03054, allocations: 5.157 MB / 1.019 GB, free: 11.01 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.03054, allocations: 4 kB / 1.019 GB, free: 11.01 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0003845/0.03092, allocations: 187.9 kB / 1.019 GB, free: 10.82 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.0008695/0.03179, allocations: 1.294 MB / 1.021 GB, free: 9.445 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0006414/0.03243, allocations: 0.7611 MB / 1.021 GB, free: 8.684 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.03243, allocations: 4 kB / 1.021 GB, free: 8.68 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0002032/0.03264, allocations: 228.1 kB / 1.022 GB, free: 8.457 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005455/0.03318, allocations: 202.2 kB / 1.022 GB, free: 8.262 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01547/0.04865, allocations: 22.9 MB / 1.044 GB, free: 1.109 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002583/0.04891, allocations: 411.2 kB / 1.045 GB, free: 0.6797 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0002226/0.04913, allocations: 141.4 kB / 1.045 GB, free: 0.5391 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002739/0.04941, allocations: 308.4 kB / 1.045 GB, free: 244 kB / 0.9948 GB Notification: Performance of SimCode: time 6.31e-07/0.04941, allocations: 0 / 1.045 GB, free: 244 kB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3951/0.4445, allocations: 25.32 MB / 1.07 GB, free: 102.2 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.914/7.358, allocations: 3.281 kB / 1.07 GB, free: 102.2 MB / 0.9948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid_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_DryFluid.fmu > Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.455537210218608]