Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008642/0.0008642, 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.0008089/0.0008089, 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.9166/0.9166, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.734/1.734, allocations: 389 MB / 0.633 GB, free: 12.69 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.DryFluid,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.894e-05/2.032e-05, allocations: 5.094 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.002137/0.002157, allocations: 1.949 MB / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001454/0.003611, allocations: 1.305 MB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.159e-05/0.003693, allocations: 4 kB / 1.003 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0004409/0.004134, allocations: 235 kB / 1.003 GB, free: 9.992 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0006536/0.004787, allocations: 462.2 kB / 1.004 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 6.051e-06/0.004794, allocations: 0 / 1.004 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002554/0.005049, allocations: 402.4 kB / 1.004 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.218e-05/0.005091, allocations: 8.594 kB / 1.004 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.005215, allocations: 195.4 kB / 1.004 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.005362, allocations: 183.4 kB / 1.004 GB, free: 8.766 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/0.005384, allocations: 24 kB / 1.004 GB, free: 8.742 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003534/0.005738, allocations: 287.5 kB / 1.005 GB, free: 8.461 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0002088/0.005947, allocations: 403 kB / 1.005 GB, free: 8.066 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.000156/0.006103, allocations: 275.3 kB / 1.005 GB, free: 7.797 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0007462/0.006849, allocations: 1.152 MB / 1.006 GB, free: 6.641 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.006851, allocations: 0 / 1.006 GB, free: 6.641 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.232e-06/0.006852, allocations: 0 / 1.006 GB, free: 6.641 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.006861, allocations: 0 / 1.006 GB, free: 6.641 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.001133/0.007994, allocations: 1.199 MB / 1.008 GB, free: 5.406 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.008033, allocations: 8.75 kB / 1.008 GB, free: 5.398 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.983e-05/0.008073, allocations: 50.73 kB / 1.008 GB, free: 5.34 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003526/0.008425, allocations: 156.2 kB / 1.008 GB, free: 5.188 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002461/0.01089, allocations: 4.228 MB / 1.012 GB, free: 0.918 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.0109, allocations: 8.375 kB / 1.012 GB, free: 0.9102 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.01092, allocations: 20.31 kB / 1.012 GB, free: 0.8906 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005047/0.01143, allocations: 0.6322 MB / 1.013 GB, free: 260 kB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.01144, allocations: 192 / 1.013 GB, free: 260 kB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.01145, allocations: 12.12 kB / 1.013 GB, free: 248 kB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.01146, allocations: 4 kB / 1.013 GB, free: 244 kB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007926/0.01225, allocations: 1.101 MB / 1.014 GB, free: 15.14 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002252/0.0145, allocations: 3.022 MB / 1.017 GB, free: 12.07 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000466/0.01497, allocations: 338.7 kB / 1.017 GB, free: 11.73 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002029/0.01517, allocations: 216.8 kB / 1.017 GB, free: 11.52 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 3.594e-05/0.01521, allocations: 23.98 kB / 1.017 GB, free: 11.49 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.792e-05/0.01522, allocations: 38.5 kB / 1.017 GB, free: 11.45 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=19): time 2.134e-06/0.01523, allocations: 0 / 1.017 GB, free: 11.45 MB / 0.9792 GB Notification: Performance of matching and sorting (n=19): time 0.0007686/0.016, allocations: 0.7276 MB / 1.018 GB, free: 10.71 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.01603, allocations: 55.41 kB / 1.018 GB, free: 10.64 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004501/0.02053, allocations: 6.509 MB / 1.024 GB, free: 4.113 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.02055, allocations: 25.7 kB / 1.024 GB, free: 4.082 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.000233/0.02078, allocations: 420.5 kB / 1.025 GB, free: 3.668 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 3.756e-05/0.02082, allocations: 67.42 kB / 1.025 GB, free: 3.602 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.469e-05/0.02089, allocations: 65.64 kB / 1.025 GB, free: 3.531 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 8.295e-05/0.02097, allocations: 314 kB / 1.025 GB, free: 3.219 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004019/0.02138, allocations: 0.5271 MB / 1.026 GB, free: 2.691 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004151/0.02179, allocations: 0.556 MB / 1.026 GB, free: 2.129 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005962/0.02239, allocations: 0.7767 MB / 1.027 GB, free: 1.348 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.02239, allocations: 0 / 1.027 GB, free: 1.348 MB / 0.9792 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009705/0.02336, allocations: 1.235 MB / 1.028 GB, free: 108 kB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.02338, allocations: 4 kB / 1.028 GB, free: 104 kB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.02339, allocations: 3.938 kB / 1.028 GB, free: 100 kB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.0234, allocations: 0 / 1.028 GB, free: 100 kB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000191/0.02359, allocations: 71.92 kB / 1.028 GB, free: 28 kB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.0236, allocations: 0 / 1.028 GB, free: 28 kB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002225/0.02382, allocations: 51.8 kB / 1.028 GB, free: 15.97 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.02384, allocations: 12 kB / 1.028 GB, free: 15.96 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.0002035/0.02404, allocations: 281.6 kB / 1.029 GB, free: 15.68 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.488e-05/0.02413, allocations: 91.39 kB / 1.029 GB, free: 15.59 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005544/0.02468, allocations: 0.5666 MB / 1.029 GB, free: 15.01 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.02469, allocations: 0 / 1.029 GB, free: 15.01 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.02469, allocations: 0 / 1.029 GB, free: 15.01 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.0247, allocations: 3.984 kB / 1.029 GB, free: 15.01 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002004/0.02671, allocations: 2.673 MB / 1.032 GB, free: 12.23 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.02671, allocations: 4.594 kB / 1.032 GB, free: 12.22 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.02682, allocations: 55.91 kB / 1.032 GB, free: 12.17 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.02683, allocations: 7.938 kB / 1.032 GB, free: 12.16 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.02685, allocations: 15.98 kB / 1.032 GB, free: 12.14 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.02685, allocations: 4 kB / 1.032 GB, free: 12.14 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/0.02686, allocations: 11.94 kB / 1.032 GB, free: 12.13 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006002/0.02746, allocations: 0.6681 MB / 1.033 GB, free: 11.39 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001842/0.02764, allocations: 191.2 kB / 1.033 GB, free: 11.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.326e-05/0.0277, allocations: 16 kB / 1.033 GB, free: 11.18 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002107/0.02791, allocations: 27.98 kB / 1.033 GB, free: 11.16 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.291e-05/0.02796, allocations: 27.84 kB / 1.033 GB, free: 11.13 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.02797, allocations: 16 kB / 1.033 GB, free: 11.11 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.00302/0.03099, allocations: 5.157 MB / 1.038 GB, free: 5.945 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.03099, allocations: 0 / 1.038 GB, free: 5.945 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0004288/0.03142, allocations: 195.9 kB / 1.038 GB, free: 5.754 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.0009173/0.03234, allocations: 1.292 MB / 1.039 GB, free: 4.379 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0006577/0.03299, allocations: 0.7651 MB / 1.04 GB, free: 3.613 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.033, allocations: 7.938 kB / 1.04 GB, free: 3.605 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002007/0.0332, allocations: 228.5 kB / 1.04 GB, free: 3.383 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005816/0.03378, allocations: 196.4 kB / 1.04 GB, free: 3.188 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3954/0.4292, allocations: 22.91 MB / 1.063 GB, free: 98.23 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000227/0.4295, allocations: 406 kB / 1.063 GB, free: 98.09 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002977/0.4298, allocations: 145 kB / 1.063 GB, free: 98.08 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002275/0.43, allocations: 306.6 kB / 1.064 GB, free: 97.88 MB / 1.01 GB Notification: Performance of SimCode: time 1.353e-06/0.43, allocations: 0.625 kB / 1.064 GB, free: 97.88 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03233/0.4623, allocations: 25.31 MB / 1.088 GB, free: 94.84 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.216/7.679, allocations: 5.609 kB / 1.088 GB, free: 94.84 MB / 1.01 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid.fmu > Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.783895632252097]