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.001819/0.001819, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.002295/0.002295, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.533/1.533, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.892/2.892, allocations: 0.49 GB / 0.7923 GB, free: 1.324 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.002014/0.002014, allocations: 63.91 kB / 1.15 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.142/1.144, allocations: 176.1 MB / 1.321 GB, free: 24.74 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.002672/1.146, allocations: 2.218 MB / 1.324 GB, free: 23.16 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001898/1.148, allocations: 1.416 MB / 1.325 GB, free: 22.18 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/1.148, allocations: 0 / 1.325 GB, free: 22.18 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005979/1.149, allocations: 252.8 kB / 1.325 GB, free: 22.1 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0008603/1.15, allocations: 440.2 kB / 1.326 GB, free: 21.9 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 8.115e-06/1.15, allocations: 0 / 1.326 GB, free: 21.9 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000307/1.15, allocations: 392.3 kB / 1.326 GB, free: 21.73 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.204e-05/1.15, allocations: 14 kB / 1.326 GB, free: 21.72 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/1.15, allocations: 146 kB / 1.326 GB, free: 21.66 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001774/1.15, allocations: 212.6 kB / 1.326 GB, free: 21.57 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.082e-05/1.15, allocations: 23.31 kB / 1.326 GB, free: 21.57 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000443/1.151, allocations: 281.5 kB / 1.327 GB, free: 21.49 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000335/1.151, allocations: 394.6 kB / 1.327 GB, free: 21.38 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000338/1.151, allocations: 411.7 kB / 1.327 GB, free: 21.13 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00137/1.153, allocations: 1.167 MB / 1.329 GB, free: 20.75 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.153, allocations: 0.5156 kB / 1.329 GB, free: 20.75 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.383e-06/1.153, allocations: 1 kB / 1.329 GB, free: 20.75 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.314e-05/1.153, allocations: 0 / 1.329 GB, free: 20.75 MB / 1.061 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.001949/1.155, allocations: 1.249 MB / 1.33 GB, free: 19.84 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/1.155, allocations: 13.14 kB / 1.33 GB, free: 19.83 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.902e-05/1.155, allocations: 4.656 kB / 1.33 GB, free: 19.83 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.662e-05/1.155, allocations: 55.16 kB / 1.33 GB, free: 19.78 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008141/1.156, allocations: 153.1 kB / 1.33 GB, free: 19.72 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005806/1.162, allocations: 4.265 MB / 1.334 GB, free: 17.98 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.299e-05/1.162, allocations: 16.14 kB / 1.334 GB, free: 17.97 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.444e-05/1.162, allocations: 14 kB / 1.334 GB, free: 17.96 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/1.163, allocations: 0.6446 MB / 1.335 GB, free: 17.78 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/1.163, allocations: 0 / 1.335 GB, free: 17.78 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.638e-05/1.163, allocations: 5.594 kB / 1.335 GB, free: 17.77 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/1.163, allocations: 4.031 kB / 1.335 GB, free: 17.77 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001539/1.164, allocations: 1.106 MB / 1.336 GB, free: 17.53 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005221/1.17, allocations: 3.158 MB / 1.339 GB, free: 16.48 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008638/1.17, allocations: 333.9 kB / 1.339 GB, free: 16.37 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00046/1.171, allocations: 228.5 kB / 1.34 GB, free: 16.3 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.728e-05/1.171, allocations: 22.97 kB / 1.34 GB, free: 16.3 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/1.171, allocations: 36.53 kB / 1.34 GB, free: 16.26 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 2.344e-06/1.171, allocations: 0 / 1.34 GB, free: 16.26 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.001754/1.173, allocations: 0.7223 MB / 1.34 GB, free: 16.02 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/1.173, allocations: 54.03 kB / 1.34 GB, free: 15.96 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008953/1.182, allocations: 6.498 MB / 1.347 GB, free: 13.77 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.508e-05/1.182, allocations: 27.05 kB / 1.347 GB, free: 13.74 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003854/1.182, allocations: 421.3 kB / 1.347 GB, free: 13.41 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.136e-05/1.182, allocations: 65.12 kB / 1.347 GB, free: 13.36 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001702/1.182, allocations: 61.77 kB / 1.347 GB, free: 13.32 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.766e-05/1.183, allocations: 314.2 kB / 1.348 GB, free: 13.01 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007342/1.183, allocations: 0.5316 MB / 1.348 GB, free: 12.89 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007112/1.184, allocations: 0.5568 MB / 1.349 GB, free: 12.74 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/1.185, allocations: 0.7781 MB / 1.349 GB, free: 12.52 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/1.185, allocations: 0 / 1.349 GB, free: 12.52 MB / 1.061 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001989/1.187, allocations: 1.228 MB / 1.351 GB, free: 12.17 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/1.187, allocations: 9 kB / 1.351 GB, free: 12.16 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/1.187, allocations: 4.453 kB / 1.351 GB, free: 12.16 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/1.187, allocations: 2.438 kB / 1.351 GB, free: 12.16 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003526/1.187, allocations: 64.05 kB / 1.351 GB, free: 12.16 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/1.187, allocations: 6.469 kB / 1.351 GB, free: 12.15 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007384/1.188, allocations: 40.47 kB / 1.351 GB, free: 12.14 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.288e-05/1.188, allocations: 12.88 kB / 1.351 GB, free: 12.13 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.0004504/1.189, allocations: 286 kB / 1.351 GB, free: 11.96 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000263/1.189, allocations: 97 kB / 1.351 GB, free: 11.91 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001068/1.19, allocations: 0.5637 MB / 1.352 GB, free: 11.72 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.8e-06/1.19, allocations: 2.281 kB / 1.352 GB, free: 11.72 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/1.19, allocations: 4.609 kB / 1.352 GB, free: 11.72 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/1.19, allocations: 0.75 kB / 1.352 GB, free: 11.72 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003958/1.194, allocations: 2.814 MB / 1.354 GB, free: 10.56 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/1.194, allocations: 4.688 kB / 1.354 GB, free: 10.56 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003038/1.194, allocations: 50.08 kB / 1.354 GB, free: 10.55 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.115e-05/1.194, allocations: 6.547 kB / 1.354 GB, free: 10.55 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.601e-05/1.194, allocations: 11.14 kB / 1.355 GB, free: 10.55 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.786e-06/1.194, allocations: 7.625 kB / 1.355 GB, free: 10.55 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.954e-06/1.194, allocations: 16.28 kB / 1.355 GB, free: 10.54 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/1.196, allocations: 0.6759 MB / 1.355 GB, free: 10.15 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004073/1.196, allocations: 262 kB / 1.355 GB, free: 9.957 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001497/1.196, allocations: 7.578 kB / 1.355 GB, free: 9.957 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004237/1.197, allocations: 32.67 kB / 1.355 GB, free: 9.949 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.358e-05/1.197, allocations: 26.98 kB / 1.355 GB, free: 9.938 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.476e-05/1.197, allocations: 10.06 kB / 1.356 GB, free: 9.938 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.005649/1.202, allocations: 5.156 MB / 1.361 GB, free: 8.078 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.8e-07/1.202, allocations: 1.688 kB / 1.361 GB, free: 8.078 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00115/1.203, allocations: 188.2 kB / 1.361 GB, free: 8.062 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.001583/1.205, allocations: 1.285 MB / 1.362 GB, free: 7.121 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001265/1.206, allocations: 0.7728 MB / 1.363 GB, free: 6.934 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/1.206, allocations: 5.094 kB / 1.363 GB, free: 6.93 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003855/1.207, allocations: 224.1 kB / 1.363 GB, free: 6.871 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/1.208, allocations: 192.3 kB / 1.363 GB, free: 6.793 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02989/1.238, allocations: 22.95 MB / 1.386 GB, free: 14.34 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009813/1.239, allocations: 1.005 MB / 1.387 GB, free: 13.59 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0007577/1.24, allocations: 143.7 kB / 1.387 GB, free: 13.56 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005732/1.24, allocations: 295.6 kB / 1.387 GB, free: 13.35 MB / 1.076 GB Notification: Performance of SimCode: time 1.563e-06/1.24, allocations: 0 / 1.387 GB, free: 13.35 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06015/1.3, allocations: 23.87 MB / 1.41 GB, free: 14.56 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.27/11.57, allocations: 11.25 kB / 1.41 GB, free: 14.55 MB / 1.092 GB " [Timeout remaining time 288] (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: 18.175267614016775]