Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.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.001302/0.001302, allocations: 97.88 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.001605/0.001605, allocations: 217.8 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.492/1.492, allocations: 230.6 MB / 256.8 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.172/3.172, allocations: 0.49 GB / 0.7959 GB, free: 35.28 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.WetFluid,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid",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.002046/0.002046, allocations: 65.61 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.3837, allocations: 176.1 MB / 1.327 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.003267/0.3869, allocations: 2.073 MB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002213/0.3892, allocations: 1.317 MB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.563e-05/0.3892, allocations: 0 / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006511/0.3899, allocations: 247.3 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0009536/0.3908, allocations: 444.5 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 9.037e-06/0.3908, allocations: 4 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004125/0.3913, allocations: 394.5 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.392e-05/0.3913, allocations: 8.594 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.3915, allocations: 151.4 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003126/0.3918, allocations: 207.1 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.601e-05/0.3918, allocations: 20 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005326/0.3923, allocations: 303.5 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003567/0.3927, allocations: 394.8 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003606/0.3931, allocations: 334.2 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00126/0.3943, allocations: 1.167 MB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3943, allocations: 0 / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3943, allocations: 8 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.205e-05/0.3943, allocations: 0 / 1.333 GB, free: 10.42 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.001811/0.3961, allocations: 1.179 MB / 1.335 GB, free: 9.207 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.3962, allocations: 8.031 kB / 1.335 GB, free: 9.199 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.411e-05/0.3962, allocations: 4.188 kB / 1.335 GB, free: 9.195 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.492e-05/0.3963, allocations: 46.73 kB / 1.335 GB, free: 9.141 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006588/0.3969, allocations: 156.2 kB / 1.335 GB, free: 8.988 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004157/0.4011, allocations: 4.221 MB / 1.339 GB, free: 4.727 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.4011, allocations: 12.38 kB / 1.339 GB, free: 4.715 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.51e-05/0.4011, allocations: 12.38 kB / 1.339 GB, free: 4.703 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008456/0.402, allocations: 0.6417 MB / 1.34 GB, free: 4.055 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.402, allocations: 7.875 kB / 1.34 GB, free: 4.047 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.541e-05/0.402, allocations: 8 kB / 1.34 GB, free: 4.039 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.402, allocations: 4 kB / 1.34 GB, free: 4.035 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001294/0.4033, allocations: 1.109 MB / 1.341 GB, free: 2.926 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003896/0.4072, allocations: 2.998 MB / 1.344 GB, free: 15.88 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007876/0.408, allocations: 334.7 kB / 1.344 GB, free: 15.55 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003685/0.4084, allocations: 224.7 kB / 1.344 GB, free: 15.32 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 5.417e-05/0.4084, allocations: 23.98 kB / 1.344 GB, free: 15.3 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.4085, allocations: 34.56 kB / 1.344 GB, free: 15.26 MB / 1.045 GB Notification: Performance of pre-optimization done (n=19): time 2.725e-06/0.4085, allocations: 0 / 1.344 GB, free: 15.26 MB / 1.045 GB Notification: Performance of matching and sorting (n=19): time 0.001335/0.4098, allocations: 0.7262 MB / 1.345 GB, free: 14.53 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.4099, allocations: 51.41 kB / 1.345 GB, free: 14.46 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007709/0.4176, allocations: 6.497 MB / 1.351 GB, free: 7.945 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 7.212e-05/0.4176, allocations: 29.7 kB / 1.351 GB, free: 7.91 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003947/0.418, allocations: 416.5 kB / 1.352 GB, free: 7.5 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 8.02e-05/0.4181, allocations: 71.42 kB / 1.352 GB, free: 7.43 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.4182, allocations: 57.69 kB / 1.352 GB, free: 7.367 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000182/0.4184, allocations: 314 kB / 1.352 GB, free: 7.055 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007022/0.4191, allocations: 0.531 MB / 1.353 GB, free: 6.523 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006849/0.4198, allocations: 0.56 MB / 1.353 GB, free: 5.957 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/0.4208, allocations: 0.7679 MB / 1.354 GB, free: 5.184 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.4209, allocations: 0 / 1.354 GB, free: 5.184 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001726/0.4226, allocations: 1.235 MB / 1.355 GB, free: 3.941 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.4226, allocations: 8 kB / 1.355 GB, free: 3.934 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.4226, allocations: 0 / 1.355 GB, free: 3.934 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.4226, allocations: 0 / 1.355 GB, free: 3.934 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000345/0.423, allocations: 63.89 kB / 1.355 GB, free: 3.871 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.423, allocations: 4 kB / 1.355 GB, free: 3.867 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004459/0.4234, allocations: 47.75 kB / 1.355 GB, free: 3.82 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.701e-05/0.4235, allocations: 12.03 kB / 1.355 GB, free: 3.809 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.0003516/0.4238, allocations: 282.2 kB / 1.356 GB, free: 3.523 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000163/0.424, allocations: 99.33 kB / 1.356 GB, free: 3.426 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009535/0.4249, allocations: 0.5605 MB / 1.356 GB, free: 2.852 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.4249, allocations: 4 kB / 1.356 GB, free: 2.848 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.4249, allocations: 0 / 1.356 GB, free: 2.848 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.4249, allocations: 3.984 kB / 1.356 GB, free: 2.844 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003239/0.4282, allocations: 2.669 MB / 1.359 GB, free: 68 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.4282, allocations: 4 kB / 1.359 GB, free: 64 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002502/0.4284, allocations: 47.91 kB / 1.359 GB, free: 16 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.177e-06/0.4284, allocations: 8 kB / 1.359 GB, free: 8 kB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.589e-05/0.4285, allocations: 20.44 kB / 1.359 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.865e-06/0.4285, allocations: 8 kB / 1.359 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.4285, allocations: 4 kB / 1.359 GB, free: 15.97 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.4295, allocations: 0.6809 MB / 1.36 GB, free: 15.22 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002968/0.4298, allocations: 191.2 kB / 1.36 GB, free: 15.03 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.4299, allocations: 8 kB / 1.36 GB, free: 15.02 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003933/0.4303, allocations: 27.98 kB / 1.36 GB, free: 15 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.173e-05/0.4304, allocations: 31.84 kB / 1.36 GB, free: 14.96 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/0.4304, allocations: 8 kB / 1.36 GB, free: 14.96 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.005004/0.4354, allocations: 5.16 MB / 1.365 GB, free: 9.785 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4354, allocations: 0 / 1.365 GB, free: 9.785 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007384/0.4361, allocations: 183.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.001716/0.4379, allocations: 1.296 MB / 1.366 GB, free: 8.227 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001142/0.439, allocations: 0.7729 MB / 1.367 GB, free: 7.453 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.439, allocations: 0 / 1.367 GB, free: 7.453 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003607/0.4394, allocations: 220.9 kB / 1.367 GB, free: 7.238 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009742/0.4403, allocations: 200.1 kB / 1.367 GB, free: 7.039 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02679/0.4671, 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.000478/0.4676, allocations: 415 kB / 1.39 GB, free: 15.43 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0004307/0.468, allocations: 141.4 kB / 1.39 GB, free: 15.29 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004399/0.4685, allocations: 295.3 kB / 1.391 GB, free: 15 MB / 1.092 GB Notification: Performance of SimCode: time 1.553e-06/0.4685, allocations: 0 / 1.391 GB, free: 15 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05443/0.5229, allocations: 25.25 MB / 1.415 GB, free: 6.277 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/13.17, allocations: 6.469 kB / 1.415 GB, free: 6.273 MB / 1.107 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid.fmu > Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.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.132753452984616]