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.001253/0.001253, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002026/0.002026, allocations: 219 kB / 23.03 MB, free: 4.922 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.506/1.506, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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 3.284/3.284, allocations: 0.5003 GB / 0.8062 GB, free: 28.33 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,fileNamePrefix="Buildings_latest_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.001959/0.001959, allocations: 67.06 kB / 1.171 GB, free: 19.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3995/0.4014, allocations: 179 MB / 1.345 GB, free: 15.97 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.003584/0.405, allocations: 1.953 MB / 1.347 GB, free: 14 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002457/0.4075, allocations: 1.305 MB / 1.348 GB, free: 12.68 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001538/0.4076, allocations: 7.938 kB / 1.348 GB, free: 12.68 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0007143/0.4083, allocations: 243.4 kB / 1.349 GB, free: 12.44 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001145/0.4095, allocations: 450.5 kB / 1.349 GB, free: 12 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 1.461e-05/0.4095, allocations: 0 / 1.349 GB, free: 12 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005127/0.41, allocations: 386.5 kB / 1.35 GB, free: 11.62 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 6.678e-05/0.4101, allocations: 16.59 kB / 1.35 GB, free: 11.6 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002229/0.4103, allocations: 147.4 kB / 1.35 GB, free: 11.46 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003793/0.4107, allocations: 211.1 kB / 1.35 GB, free: 11.25 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.348e-05/0.4107, allocations: 24 kB / 1.35 GB, free: 11.23 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006354/0.4114, allocations: 295.6 kB / 1.35 GB, free: 10.94 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003844/0.4118, allocations: 398.8 kB / 1.351 GB, free: 10.55 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0004586/0.4122, allocations: 330.2 kB / 1.351 GB, free: 10.22 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001354/0.4136, allocations: 1.183 MB / 1.352 GB, free: 9.035 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.4136, allocations: 0 / 1.352 GB, free: 9.035 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4136, allocations: 0 / 1.352 GB, free: 9.035 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.089e-05/0.4136, allocations: 0 / 1.352 GB, free: 9.035 MB / 1.045 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.0021/0.4157, allocations: 1.179 MB / 1.353 GB, free: 7.82 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.4157, allocations: 12.03 kB / 1.353 GB, free: 7.809 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.726e-05/0.4158, allocations: 4.188 kB / 1.353 GB, free: 7.805 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.197e-05/0.4158, allocations: 50.73 kB / 1.353 GB, free: 7.746 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007049/0.4165, allocations: 148.2 kB / 1.353 GB, free: 7.602 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004453/0.421, allocations: 4.221 MB / 1.358 GB, free: 3.34 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.421, allocations: 12.38 kB / 1.358 GB, free: 3.328 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.734e-05/0.421, allocations: 16.38 kB / 1.358 GB, free: 3.312 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008763/0.4219, allocations: 0.6378 MB / 1.358 GB, free: 2.668 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.4219, allocations: 0 / 1.358 GB, free: 2.668 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.545e-05/0.422, allocations: 4 kB / 1.358 GB, free: 2.664 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.228e-06/0.422, allocations: 7.984 kB / 1.358 GB, free: 2.656 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001397/0.4234, allocations: 1.105 MB / 1.359 GB, free: 1.551 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003903/0.4273, allocations: 3.013 MB / 1.362 GB, free: 14.49 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007829/0.428, allocations: 333.5 kB / 1.363 GB, free: 14.16 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003682/0.4284, allocations: 228.7 kB / 1.363 GB, free: 13.93 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.437e-05/0.4285, allocations: 27.97 kB / 1.363 GB, free: 13.9 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.4285, allocations: 38.5 kB / 1.363 GB, free: 13.86 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 2.013e-06/0.4285, allocations: 0 / 1.363 GB, free: 13.86 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.001335/0.4298, allocations: 0.713 MB / 1.363 GB, free: 13.14 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.834e-05/0.4299, allocations: 59.36 kB / 1.364 GB, free: 13.07 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007684/0.4376, allocations: 6.501 MB / 1.37 GB, free: 6.543 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.245e-05/0.4376, allocations: 25.7 kB / 1.37 GB, free: 6.512 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003955/0.438, allocations: 420.5 kB / 1.37 GB, free: 6.098 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.4381, allocations: 67.42 kB / 1.37 GB, free: 6.031 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.4383, allocations: 57.66 kB / 1.37 GB, free: 5.969 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.4384, allocations: 314 kB / 1.371 GB, free: 5.656 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006782/0.4391, allocations: 0.5349 MB / 1.371 GB, free: 5.121 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007239/0.4398, allocations: 0.5561 MB / 1.372 GB, free: 4.559 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.441, allocations: 0.7674 MB / 1.373 GB, free: 3.785 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.441, allocations: 0 / 1.373 GB, free: 3.785 MB / 1.061 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001825/0.4428, allocations: 1.239 MB / 1.374 GB, free: 2.539 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.4428, allocations: 4 kB / 1.374 GB, free: 2.535 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.4428, allocations: 3.938 kB / 1.374 GB, free: 2.531 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.4428, allocations: 4 kB / 1.374 GB, free: 2.527 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003379/0.4432, allocations: 63.95 kB / 1.374 GB, free: 2.465 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.667e-06/0.4432, allocations: 3.938 kB / 1.374 GB, free: 2.461 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005344/0.4437, allocations: 43.77 kB / 1.374 GB, free: 2.418 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.881e-05/0.4438, allocations: 11.98 kB / 1.374 GB, free: 2.406 MB / 1.061 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.0003803/0.4441, allocations: 281.7 kB / 1.374 GB, free: 2.121 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002198/0.4444, allocations: 99.33 kB / 1.374 GB, free: 2.023 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001028/0.4454, allocations: 0.5578 MB / 1.375 GB, free: 1.453 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.4454, allocations: 0 / 1.375 GB, free: 1.453 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4454, allocations: 8 kB / 1.375 GB, free: 1.445 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.4454, allocations: 3.984 kB / 1.375 GB, free: 1.441 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003517/0.4489, allocations: 2.661 MB / 1.377 GB, free: 14.67 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/0.4489, allocations: 4 kB / 1.377 GB, free: 14.67 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002568/0.4492, allocations: 55.89 kB / 1.377 GB, free: 14.61 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/0.4492, allocations: 4 kB / 1.377 GB, free: 14.61 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.869e-05/0.4492, allocations: 8 kB / 1.377 GB, free: 14.6 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.977e-06/0.4492, allocations: 7.984 kB / 1.377 GB, free: 14.59 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.888e-06/0.4492, allocations: 12.28 kB / 1.377 GB, free: 14.58 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/0.4504, allocations: 0.6852 MB / 1.378 GB, free: 13.82 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003547/0.4508, allocations: 191.2 kB / 1.378 GB, free: 13.64 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001542/0.4509, allocations: 8 kB / 1.378 GB, free: 13.63 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004072/0.4513, allocations: 31.98 kB / 1.378 GB, free: 13.6 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.437e-05/0.4514, allocations: 27.84 kB / 1.378 GB, free: 13.57 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.277e-05/0.4514, allocations: 12 kB / 1.378 GB, free: 13.56 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.005366/0.4568, allocations: 5.157 MB / 1.383 GB, free: 8.391 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.4568, allocations: 0 / 1.383 GB, free: 8.391 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0007476/0.4575, allocations: 183.9 kB / 1.384 GB, free: 8.211 MB / 1.076 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.001735/0.4593, allocations: 1.298 MB / 1.385 GB, free: 6.824 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001149/0.4604, allocations: 0.7628 MB / 1.386 GB, free: 6.062 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.4604, allocations: 4.062 kB / 1.386 GB, free: 6.059 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003816/0.4608, allocations: 219.6 kB / 1.386 GB, free: 5.844 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009948/0.4618, allocations: 197.2 kB / 1.386 GB, free: 5.652 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02649/0.4883, allocations: 22.94 MB / 1.408 GB, free: 14.47 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005303/0.4888, allocations: 419 kB / 1.409 GB, free: 14.03 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0004537/0.4893, allocations: 145.4 kB / 1.409 GB, free: 13.89 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000522/0.4898, allocations: 303.3 kB / 1.409 GB, free: 13.59 MB / 1.107 GB Notification: Performance of SimCode: time 1.333e-06/0.4898, allocations: 0 / 1.409 GB, free: 13.59 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07211/0.5619, allocations: 25.23 MB / 1.434 GB, free: 4.84 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.72/13.28, allocations: 5.891 kB / 1.434 GB, free: 4.836 MB / 1.123 GB " [Timeout remaining time 287] (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/jenkins1/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: 20.387471211026423]