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.00138/0.00138, allocations: 110.3 kB / 18.94 MB, free: 2.789 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.001608/0.001608, allocations: 217.4 kB / 22.25 MB, free: 5.219 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.519/1.519, allocations: 230.6 MB / 256 MB, free: 8.004 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.41/3.41, allocations: 0.49 GB / 0.7951 GB, free: 33.38 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.00206/0.00206, allocations: 72.95 kB / 1.154 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3841/0.3862, allocations: 176.1 MB / 1.326 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.003564/0.3898, allocations: 2.093 MB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002728/0.3925, allocations: 1.426 MB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001921/0.3927, allocations: 8 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007764/0.3935, allocations: 283.3 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001214/0.3947, allocations: 446.6 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 1.29e-05/0.3947, allocations: 0 / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000556/0.3952, allocations: 390.5 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.974e-05/0.3953, allocations: 16.59 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002465/0.3956, allocations: 151.4 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003358/0.3959, allocations: 207.1 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.04e-05/0.3959, allocations: 24 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006396/0.3966, allocations: 303.5 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004183/0.397, allocations: 394.9 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0005206/0.3975, allocations: 413.7 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001453/0.399, allocations: 1.155 MB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.399, allocations: 4 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.673e-06/0.399, allocations: 0 / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.701e-05/0.399, allocations: 4 kB / 1.333 GB, free: 10.65 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.002343/0.4014, allocations: 1.175 MB / 1.334 GB, free: 9.438 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.4014, allocations: 8.031 kB / 1.334 GB, free: 9.43 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.251e-05/0.4015, allocations: 50.73 kB / 1.334 GB, free: 9.371 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007543/0.4022, allocations: 152.2 kB / 1.334 GB, free: 9.223 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005346/0.4076, allocations: 4.217 MB / 1.338 GB, free: 4.965 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.786e-05/0.4076, allocations: 16.38 kB / 1.338 GB, free: 4.949 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.244e-05/0.4077, allocations: 12.38 kB / 1.338 GB, free: 4.938 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009889/0.4086, allocations: 0.6341 MB / 1.339 GB, free: 4.297 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.4087, allocations: 0 / 1.339 GB, free: 4.297 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.698e-05/0.4087, allocations: 8 kB / 1.339 GB, free: 4.289 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.4087, allocations: 4 kB / 1.339 GB, free: 4.285 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001493/0.4102, allocations: 1.105 MB / 1.34 GB, free: 3.18 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004387/0.4146, allocations: 3.13 MB / 1.343 GB, free: 4 kB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008376/0.4154, allocations: 338.7 kB / 1.344 GB, free: 15.66 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003978/0.4158, allocations: 220.8 kB / 1.344 GB, free: 15.44 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 6.884e-05/0.4159, allocations: 31.83 kB / 1.344 GB, free: 15.41 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.177e-05/0.416, allocations: 38.56 kB / 1.344 GB, free: 15.37 MB / 1.045 GB Notification: Performance of pre-optimization done (n=19): time 1.803e-06/0.416, allocations: 0 / 1.344 GB, free: 15.37 MB / 1.045 GB Notification: Performance of matching and sorting (n=19): time 0.001471/0.4174, allocations: 0.7215 MB / 1.345 GB, free: 14.64 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.707e-05/0.4175, allocations: 51.41 kB / 1.345 GB, free: 14.58 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008504/0.426, allocations: 6.501 MB / 1.351 GB, free: 8.055 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.495e-05/0.4261, allocations: 29.7 kB / 1.351 GB, free: 8.02 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005431/0.4266, allocations: 416.5 kB / 1.351 GB, free: 7.609 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 8.846e-05/0.4267, allocations: 67.42 kB / 1.351 GB, free: 7.543 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/0.4268, allocations: 57.69 kB / 1.352 GB, free: 7.48 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002681/0.4271, allocations: 317.9 kB / 1.352 GB, free: 7.164 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007544/0.4278, allocations: 0.531 MB / 1.352 GB, free: 6.633 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007338/0.4286, allocations: 0.5561 MB / 1.353 GB, free: 6.07 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.4297, allocations: 0.7679 MB / 1.354 GB, free: 5.297 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.4297, allocations: 0 / 1.354 GB, free: 5.297 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001783/0.4315, allocations: 1.239 MB / 1.355 GB, free: 4.051 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.4315, allocations: 4 kB / 1.355 GB, free: 4.047 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.4315, allocations: 0 / 1.355 GB, free: 4.047 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/0.4315, allocations: 4 kB / 1.355 GB, free: 4.043 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003687/0.4319, allocations: 67.89 kB / 1.355 GB, free: 3.977 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.4319, allocations: 0 / 1.355 GB, free: 3.977 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005202/0.4324, allocations: 51.78 kB / 1.355 GB, free: 3.926 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.638e-05/0.4324, allocations: 8 kB / 1.355 GB, free: 3.918 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.0003795/0.4328, allocations: 278.2 kB / 1.355 GB, free: 3.637 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002153/0.433, allocations: 99.33 kB / 1.355 GB, free: 3.539 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001043/0.4341, allocations: 0.5644 MB / 1.356 GB, free: 2.961 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.4341, allocations: 0 / 1.356 GB, free: 2.961 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.4341, allocations: 4 kB / 1.356 GB, free: 2.957 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.4341, allocations: 3.984 kB / 1.356 GB, free: 2.953 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003822/0.4379, allocations: 2.786 MB / 1.359 GB, free: 60 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/0.4379, allocations: 8 kB / 1.359 GB, free: 52 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000273/0.4382, allocations: 48.5 kB / 1.359 GB, free: 4 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.601e-05/0.4382, allocations: 8.047 kB / 1.359 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.676e-05/0.4382, allocations: 15.94 kB / 1.359 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.4383, allocations: 4 kB / 1.359 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/0.4383, allocations: 7.938 kB / 1.359 GB, free: 15.97 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001151/0.4394, allocations: 0.6776 MB / 1.359 GB, free: 15.22 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003984/0.4398, allocations: 191.2 kB / 1.36 GB, free: 15.03 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001711/0.44, allocations: 8 kB / 1.36 GB, free: 15.02 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004155/0.4404, allocations: 23.98 kB / 1.36 GB, free: 15 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.783e-05/0.4405, allocations: 31.84 kB / 1.36 GB, free: 14.97 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-05/0.4405, allocations: 12 kB / 1.36 GB, free: 14.96 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.005884/0.4464, allocations: 5.157 MB / 1.365 GB, free: 9.789 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4464, allocations: 0 / 1.365 GB, free: 9.789 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007782/0.4471, allocations: 187.9 kB / 1.365 GB, free: 9.605 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.001914/0.4491, allocations: 1.3 MB / 1.366 GB, free: 8.219 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001227/0.4503, allocations: 0.7651 MB / 1.367 GB, free: 7.453 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.4503, allocations: 0 / 1.367 GB, free: 7.453 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0004/0.4507, allocations: 227.8 kB / 1.367 GB, free: 7.23 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.4518, allocations: 189.2 kB / 1.367 GB, free: 7.043 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02839/0.4802, allocations: 22.94 MB / 1.39 GB, free: 15.87 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007749/0.481, allocations: 0.9995 MB / 1.391 GB, free: 14.84 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0004727/0.4815, allocations: 153.4 kB / 1.391 GB, free: 14.69 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004741/0.482, allocations: 299.2 kB / 1.391 GB, free: 14.4 MB / 1.092 GB Notification: Performance of SimCode: time 9.11e-07/0.482, allocations: 0 / 1.391 GB, free: 14.4 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06639/0.5483, allocations: 24.07 MB / 1.415 GB, free: 6.609 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.55/13.1, allocations: 4.609 kB / 1.415 GB, free: 6.605 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.302059740992263]