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.001323/0.001323, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001603/0.001603, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.481/1.481, allocations: 230.6 MB / 256 MB, free: 7.793 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.317/3.317, allocations: 0.4892 GB / 0.7943 GB, free: 35.5 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="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: 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.002341/0.002341, allocations: 68.64 kB / 1.153 GB, free: 25.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3527, allocations: 176.1 MB / 1.325 GB, free: 2.387 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.003729/0.3564, allocations: 1.964 MB / 1.327 GB, free: 420 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00276/0.3592, allocations: 1.305 MB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002173/0.3594, allocations: 8 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007939/0.3602, allocations: 239.4 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00144/0.3616, allocations: 442.5 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 1.501e-05/0.3616, allocations: 0 / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006456/0.3623, allocations: 394.5 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 7.385e-05/0.3624, allocations: 12.58 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002664/0.3626, allocations: 151.3 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003646/0.363, allocations: 199.2 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.69e-05/0.363, allocations: 20 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000697/0.3637, allocations: 283.6 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.00043/0.3642, allocations: 390.9 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0006268/0.3648, allocations: 338.2 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001555/0.3663, allocations: 1.167 MB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3664, allocations: 0 / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3664, allocations: 0 / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.801e-05/0.3664, allocations: 8 kB / 1.332 GB, free: 11.48 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.002485/0.3689, allocations: 1.179 MB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.3689, allocations: 8.031 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.936e-05/0.369, allocations: 50.73 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000709/0.3697, allocations: 152.2 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005091/0.3748, allocations: 4.229 MB / 1.337 GB, free: 5.785 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/0.3748, allocations: 12.38 kB / 1.337 GB, free: 5.773 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.588e-05/0.3749, allocations: 20.36 kB / 1.337 GB, free: 5.754 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008702/0.3757, allocations: 0.6341 MB / 1.338 GB, free: 5.113 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.3757, allocations: 0 / 1.338 GB, free: 5.113 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.532e-05/0.3758, allocations: 8 kB / 1.338 GB, free: 5.105 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.3758, allocations: 0 / 1.338 GB, free: 5.105 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001474/0.3772, allocations: 1.105 MB / 1.339 GB, free: 4 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003865/0.3811, allocations: 2.998 MB / 1.342 GB, free: 0.957 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007924/0.3819, allocations: 334.7 kB / 1.342 GB, free: 0.6211 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000377/0.3823, allocations: 224.8 kB / 1.342 GB, free: 408 kB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.517e-05/0.3823, allocations: 27.92 kB / 1.342 GB, free: 380 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.3824, allocations: 30.56 kB / 1.343 GB, free: 340 kB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 1.763e-06/0.3824, allocations: 0 / 1.343 GB, free: 340 kB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.001431/0.3838, allocations: 0.7218 MB / 1.343 GB, free: 15.61 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.135e-05/0.3838, allocations: 51.41 kB / 1.343 GB, free: 15.54 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008709/0.3925, allocations: 6.505 MB / 1.35 GB, free: 9.016 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.677e-05/0.3926, allocations: 25.7 kB / 1.35 GB, free: 8.984 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004214/0.393, allocations: 424.4 kB / 1.35 GB, free: 8.566 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.999e-05/0.3931, allocations: 63.44 kB / 1.35 GB, free: 8.504 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001351/0.3932, allocations: 65.58 kB / 1.35 GB, free: 8.434 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.3934, allocations: 318 kB / 1.35 GB, free: 8.117 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00074/0.3941, allocations: 0.5271 MB / 1.351 GB, free: 7.59 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007541/0.3949, allocations: 0.5561 MB / 1.352 GB, free: 7.027 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.396, allocations: 0.7679 MB / 1.352 GB, free: 6.254 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.396, allocations: 4 kB / 1.352 GB, free: 6.25 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001962/0.398, allocations: 1.231 MB / 1.353 GB, free: 5.012 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.398, allocations: 11.94 kB / 1.353 GB, free: 5 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.398, allocations: 0 / 1.353 GB, free: 5 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.398, allocations: 3.984 kB / 1.353 GB, free: 4.996 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003514/0.3984, allocations: 63.95 kB / 1.354 GB, free: 4.934 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.3984, allocations: 4 kB / 1.354 GB, free: 4.93 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000494/0.3989, allocations: 39.83 kB / 1.354 GB, free: 4.891 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.474e-05/0.3989, allocations: 4 kB / 1.354 GB, free: 4.887 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.0003868/0.3993, allocations: 296.7 kB / 1.354 GB, free: 4.59 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002075/0.3995, allocations: 95.33 kB / 1.354 GB, free: 4.496 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001063/0.4006, allocations: 0.5566 MB / 1.355 GB, free: 3.926 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.4006, allocations: 4 kB / 1.355 GB, free: 3.922 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.4006, allocations: 0 / 1.355 GB, free: 3.922 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.4006, allocations: 4 kB / 1.355 GB, free: 3.918 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004044/0.4046, allocations: 2.673 MB / 1.357 GB, free: 1.137 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.778e-06/0.4046, allocations: 4 kB / 1.357 GB, free: 1.133 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002618/0.4049, allocations: 51.91 kB / 1.357 GB, free: 1.082 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.306e-05/0.4049, allocations: 11.98 kB / 1.357 GB, free: 1.07 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.087e-05/0.4049, allocations: 4 kB / 1.357 GB, free: 1.066 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.4049, allocations: 8 kB / 1.357 GB, free: 1.059 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.4049, allocations: 8.25 kB / 1.357 GB, free: 1.051 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.406, allocations: 0.6813 MB / 1.358 GB, free: 304 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004342/0.4065, allocations: 191.2 kB / 1.358 GB, free: 112 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000143/0.4066, allocations: 4 kB / 1.358 GB, free: 108 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004222/0.407, allocations: 39.97 kB / 1.358 GB, free: 68 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.092e-05/0.4071, allocations: 27.86 kB / 1.358 GB, free: 40 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/0.4071, allocations: 11.98 kB / 1.358 GB, free: 28 kB / 1.045 GB Notification: Performance of sorting global known variables: time 0.006093/0.4132, allocations: 5.157 MB / 1.363 GB, free: 10.86 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.11e-07/0.4132, allocations: 3.938 kB / 1.363 GB, free: 10.86 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007261/0.4139, allocations: 191.9 kB / 1.363 GB, free: 10.67 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.002159/0.4161, allocations: 1.283 MB / 1.365 GB, free: 9.297 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001346/0.4174, allocations: 0.7669 MB / 1.365 GB, free: 8.531 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 9.859e-06/0.4174, allocations: 8.062 kB / 1.365 GB, free: 8.523 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000426/0.4179, allocations: 215.7 kB / 1.366 GB, free: 8.312 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.419, allocations: 206.6 kB / 1.366 GB, free: 8.109 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02819/0.4472, allocations: 22.94 MB / 1.388 GB, free: 0.9414 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005258/0.4477, allocations: 411.5 kB / 1.389 GB, free: 0.5117 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0004483/0.4481, allocations: 141.4 kB / 1.389 GB, free: 380 kB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000495/0.4486, allocations: 299.3 kB / 1.389 GB, free: 80 kB / 1.076 GB Notification: Performance of SimCode: time 8.12e-07/0.4486, allocations: 0 / 1.389 GB, free: 80 kB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06831/0.5169, allocations: 25.68 MB / 1.414 GB, free: 6.738 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/12.53, allocations: 5.656 kB / 1.414 GB, free: 6.734 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 & 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/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: 19.4470179900527]