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.001502/0.001502, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 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.001714/0.001714, allocations: 222.3 kB / 23.03 MB, free: 4.945 MB / 14.72 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 1.498/1.498, allocations: 230.6 MB / 256.8 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.188/3.188, allocations: 0.49 GB / 0.7959 GB, free: 35.4 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 63.88 kB / 1.155 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4119/0.4139, allocations: 176.1 MB / 1.327 GB, free: 1.496 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.003419/0.4173, allocations: 1.97 MB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002346/0.4196, allocations: 1.305 MB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.896e-05/0.4197, allocations: 4 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000712/0.4204, allocations: 247.4 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001068/0.4215, allocations: 450.5 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 7.464e-06/0.4215, allocations: 0 / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004274/0.4219, allocations: 386.5 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.058e-05/0.422, allocations: 8.594 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001588/0.4222, allocations: 159.3 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002843/0.4224, allocations: 215.1 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.841e-05/0.4225, allocations: 20 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005528/0.423, allocations: 291.6 kB / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003953/0.4234, allocations: 390.9 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003418/0.4238, allocations: 346.2 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001298/0.4251, allocations: 1.163 MB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.4251, allocations: 0 / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.874e-06/0.4251, allocations: 0 / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.4251, allocations: 4 kB / 1.333 GB, free: 10.56 MB / 1.029 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.001897/0.427, allocations: 1.183 MB / 1.335 GB, free: 9.344 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.427, allocations: 8.031 kB / 1.335 GB, free: 9.336 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.991e-05/0.4271, allocations: 4.188 kB / 1.335 GB, free: 9.332 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.986e-05/0.4271, allocations: 46.73 kB / 1.335 GB, free: 9.277 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006755/0.4278, allocations: 152.2 kB / 1.335 GB, free: 9.129 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004479/0.4323, allocations: 4.225 MB / 1.339 GB, free: 4.863 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.4323, allocations: 12.38 kB / 1.339 GB, free: 4.852 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.058e-05/0.4323, allocations: 20.38 kB / 1.339 GB, free: 4.832 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008816/0.4332, allocations: 0.6378 MB / 1.339 GB, free: 4.188 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.4332, allocations: 0 / 1.339 GB, free: 4.188 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.604e-05/0.4333, allocations: 8 kB / 1.339 GB, free: 4.18 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.4333, allocations: 3.938 kB / 1.339 GB, free: 4.176 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001371/0.4346, allocations: 1.105 MB / 1.341 GB, free: 3.07 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003856/0.4385, allocations: 3.002 MB / 1.344 GB, free: 24 kB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008161/0.4393, allocations: 330.7 kB / 1.344 GB, free: 15.69 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003792/0.4397, allocations: 220.7 kB / 1.344 GB, free: 15.47 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 6.135e-05/0.4397, allocations: 31.92 kB / 1.344 GB, free: 15.44 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.463e-05/0.4398, allocations: 38.5 kB / 1.344 GB, free: 15.39 MB / 1.045 GB Notification: Performance of pre-optimization done (n=19): time 2.074e-06/0.4398, allocations: 7.938 kB / 1.344 GB, free: 15.39 MB / 1.045 GB Notification: Performance of matching and sorting (n=19): time 0.001439/0.4412, allocations: 0.7132 MB / 1.345 GB, free: 14.67 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.4413, allocations: 51.41 kB / 1.345 GB, free: 14.61 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008153/0.4494, allocations: 6.501 MB / 1.351 GB, free: 8.082 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.525e-05/0.4495, allocations: 29.7 kB / 1.351 GB, free: 8.047 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004129/0.4499, allocations: 416.5 kB / 1.352 GB, free: 7.637 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.449e-05/0.45, allocations: 67.42 kB / 1.352 GB, free: 7.57 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.4501, allocations: 57.69 kB / 1.352 GB, free: 7.508 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.4503, allocations: 314 kB / 1.352 GB, free: 7.195 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007528/0.451, allocations: 0.531 MB / 1.353 GB, free: 6.664 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006718/0.4517, allocations: 0.5561 MB / 1.353 GB, free: 6.102 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.4527, allocations: 0.7679 MB / 1.354 GB, free: 5.328 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.4527, allocations: 4 kB / 1.354 GB, free: 5.324 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00173/0.4545, allocations: 1.239 MB / 1.355 GB, free: 4.078 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.4545, allocations: 8 kB / 1.355 GB, free: 4.07 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.4545, allocations: 0 / 1.355 GB, free: 4.07 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/0.4545, allocations: 0 / 1.355 GB, free: 4.07 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000353/0.4549, allocations: 63.89 kB / 1.355 GB, free: 4.008 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.4549, allocations: 7.984 kB / 1.355 GB, free: 4 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004718/0.4554, allocations: 47.75 kB / 1.355 GB, free: 3.953 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.955e-05/0.4554, allocations: 12 kB / 1.355 GB, free: 3.941 MB / 1.045 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.0003572/0.4557, allocations: 278.2 kB / 1.355 GB, free: 3.66 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001768/0.4559, allocations: 99.31 kB / 1.356 GB, free: 3.562 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009989/0.4569, allocations: 0.5583 MB / 1.356 GB, free: 2.992 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.4569, allocations: 4 kB / 1.356 GB, free: 2.988 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.4569, allocations: 0 / 1.356 GB, free: 2.988 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.4569, allocations: 7.984 kB / 1.356 GB, free: 2.98 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003466/0.4604, allocations: 2.669 MB / 1.359 GB, free: 208 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.4604, allocations: 4 kB / 1.359 GB, free: 204 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002534/0.4607, allocations: 47.91 kB / 1.359 GB, free: 156 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.215e-05/0.4607, allocations: 8 kB / 1.359 GB, free: 148 kB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.425e-05/0.4607, allocations: 8 kB / 1.359 GB, free: 140 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.821e-05/0.4607, allocations: 11.98 kB / 1.359 GB, free: 128 kB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/0.4607, allocations: 7.938 kB / 1.359 GB, free: 120 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.4618, allocations: 0.6839 MB / 1.359 GB, free: 15.36 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000316/0.4621, allocations: 191.2 kB / 1.36 GB, free: 15.17 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/0.4622, allocations: 8 kB / 1.36 GB, free: 15.16 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003875/0.4626, allocations: 27.98 kB / 1.36 GB, free: 15.14 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.835e-05/0.4627, allocations: 35.84 kB / 1.36 GB, free: 15.1 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.453e-05/0.4627, allocations: 12 kB / 1.36 GB, free: 15.09 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.005341/0.4681, allocations: 5.157 MB / 1.365 GB, free: 9.922 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.11e-07/0.4681, allocations: 0 / 1.365 GB, free: 9.922 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000718/0.4688, allocations: 187.9 kB / 1.365 GB, free: 9.738 MB / 1.061 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.001693/0.4705, allocations: 1.296 MB / 1.366 GB, free: 8.355 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001159/0.4716, allocations: 0.7652 MB / 1.367 GB, free: 7.59 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.4716, allocations: 64 / 1.367 GB, free: 7.59 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000376/0.472, allocations: 227.6 kB / 1.367 GB, free: 7.367 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009653/0.473, allocations: 186.6 kB / 1.367 GB, free: 7.184 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02752/0.5005, allocations: 22.93 MB / 1.39 GB, free: 12 kB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005738/0.5011, allocations: 411.3 kB / 1.39 GB, free: 15.58 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0004737/0.5015, allocations: 149.3 kB / 1.39 GB, free: 15.43 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004563/0.502, allocations: 295.3 kB / 1.391 GB, free: 15.14 MB / 1.092 GB Notification: Performance of SimCode: time 1.593e-06/0.502, allocations: 4 kB / 1.391 GB, free: 15.14 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06064/0.5626, allocations: 25.23 MB / 1.415 GB, free: 6.418 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/13.31, allocations: 15.8 kB / 1.415 GB, free: 6.41 MB / 1.107 GB " [Timeout remaining time 287] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid.csv","/var/lib/jenkins1/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: 20.25519283208996]