Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001293/0.001293, allocations: 113.7 kB / 19.73 MB, free: 2.227 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.001451/0.001451, allocations: 217.4 kB / 23.04 MB, free: 5.062 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.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.352/3.352, allocations: 0.5003 GB / 0.8061 GB, free: 26.82 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.WetFluid,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,fileNamePrefix="Buildings_latest_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.00202/0.00202, allocations: 69.91 kB / 1.171 GB, free: 19.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4172/0.4192, allocations: 179 MB / 1.345 GB, free: 492 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.003789/0.423, allocations: 2.218 MB / 1.348 GB, free: 14.24 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002675/0.4257, allocations: 1.422 MB / 1.349 GB, free: 12.81 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000155/0.4258, allocations: 7.938 kB / 1.349 GB, free: 12.8 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0008018/0.4266, allocations: 275.3 kB / 1.349 GB, free: 12.54 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001163/0.4278, allocations: 454.5 kB / 1.35 GB, free: 12.09 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 9.428e-06/0.4278, allocations: 0 / 1.35 GB, free: 12.09 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004562/0.4283, allocations: 390.5 kB / 1.35 GB, free: 11.71 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 6.416e-05/0.4283, allocations: 16.58 kB / 1.35 GB, free: 11.69 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001492/0.4285, allocations: 147.4 kB / 1.35 GB, free: 11.55 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003142/0.4288, allocations: 215.1 kB / 1.35 GB, free: 11.34 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.167e-05/0.4288, allocations: 24 kB / 1.35 GB, free: 11.31 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005298/0.4294, allocations: 295.6 kB / 1.351 GB, free: 11.02 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003645/0.4297, allocations: 394.8 kB / 1.351 GB, free: 10.64 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0003937/0.4301, allocations: 417.7 kB / 1.351 GB, free: 10.23 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001203/0.4313, allocations: 1.156 MB / 1.353 GB, free: 9.066 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.4313, allocations: 4 kB / 1.353 GB, free: 9.062 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4313, allocations: 0 / 1.353 GB, free: 9.062 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.708e-06/0.4313, allocations: 0 / 1.353 GB, free: 9.062 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.001809/0.4332, allocations: 1.179 MB / 1.354 GB, free: 7.848 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.4332, allocations: 8.031 kB / 1.354 GB, free: 7.84 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.164e-05/0.4332, allocations: 4.188 kB / 1.354 GB, free: 7.836 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.337e-05/0.4333, allocations: 50.67 kB / 1.354 GB, free: 7.777 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00071/0.434, allocations: 152.2 kB / 1.354 GB, free: 7.629 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00481/0.4388, allocations: 4.221 MB / 1.358 GB, free: 3.367 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.206e-05/0.4388, allocations: 12.38 kB / 1.358 GB, free: 3.355 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.756e-05/0.4389, allocations: 12.38 kB / 1.358 GB, free: 3.344 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009964/0.4399, allocations: 0.6378 MB / 1.359 GB, free: 2.699 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.4399, allocations: 0 / 1.359 GB, free: 2.699 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.896e-05/0.4399, allocations: 8 kB / 1.359 GB, free: 2.691 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.4399, allocations: 0 / 1.359 GB, free: 2.691 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001453/0.4414, allocations: 1.113 MB / 1.36 GB, free: 1.578 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004305/0.4457, allocations: 3.138 MB / 1.363 GB, free: 14.39 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008731/0.4465, allocations: 334.7 kB / 1.363 GB, free: 14.06 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003945/0.4469, allocations: 224.7 kB / 1.363 GB, free: 13.84 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.343e-05/0.447, allocations: 27.98 kB / 1.363 GB, free: 13.81 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.447, allocations: 34.5 kB / 1.363 GB, free: 13.77 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 2.695e-06/0.447, allocations: 4 kB / 1.363 GB, free: 13.76 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.001605/0.4486, allocations: 0.7213 MB / 1.364 GB, free: 13.04 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.452e-05/0.4487, allocations: 55.34 kB / 1.364 GB, free: 12.97 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008715/0.4574, allocations: 6.497 MB / 1.371 GB, free: 6.449 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.608e-05/0.4575, allocations: 29.7 kB / 1.371 GB, free: 6.414 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000496/0.458, allocations: 412.5 kB / 1.371 GB, free: 6.008 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.4581, allocations: 75.41 kB / 1.371 GB, free: 5.934 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001766/0.4583, allocations: 61.64 kB / 1.371 GB, free: 5.867 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000181/0.4585, allocations: 318 kB / 1.371 GB, free: 5.551 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007663/0.4593, allocations: 0.5271 MB / 1.372 GB, free: 5.023 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007206/0.46, allocations: 0.5522 MB / 1.372 GB, free: 4.465 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.4611, allocations: 0.7675 MB / 1.373 GB, free: 3.691 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.4611, allocations: 0 / 1.373 GB, free: 3.691 MB / 1.061 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001903/0.463, allocations: 1.235 MB / 1.374 GB, free: 2.449 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/0.4631, allocations: 4.031 kB / 1.374 GB, free: 2.445 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.4631, allocations: 4 kB / 1.374 GB, free: 2.441 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.4631, allocations: 4 kB / 1.374 GB, free: 2.438 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003482/0.4634, allocations: 63.89 kB / 1.374 GB, free: 2.375 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.447e-06/0.4634, allocations: 3.938 kB / 1.374 GB, free: 2.371 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000586/0.464, allocations: 47.75 kB / 1.375 GB, free: 2.324 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.963e-05/0.4641, allocations: 8 kB / 1.375 GB, free: 2.316 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.0004074/0.4645, allocations: 281.6 kB / 1.375 GB, free: 2.031 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002588/0.4647, allocations: 99.33 kB / 1.375 GB, free: 1.934 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/0.4658, allocations: 0.5624 MB / 1.375 GB, free: 1.359 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.4658, allocations: 0 / 1.375 GB, free: 1.359 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.4658, allocations: 0 / 1.375 GB, free: 1.359 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.4658, allocations: 11.98 kB / 1.375 GB, free: 1.348 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004204/0.47, allocations: 2.778 MB / 1.378 GB, free: 14.46 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.299e-05/0.4701, allocations: 4 kB / 1.378 GB, free: 14.45 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000261/0.4703, allocations: 55.91 kB / 1.378 GB, free: 14.4 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-05/0.4703, allocations: 4 kB / 1.378 GB, free: 14.39 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.213e-05/0.4704, allocations: 11.98 kB / 1.378 GB, free: 14.38 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.628e-06/0.4704, allocations: 7.938 kB / 1.378 GB, free: 14.38 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.4704, allocations: 4.312 kB / 1.378 GB, free: 14.37 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/0.4715, allocations: 0.6875 MB / 1.379 GB, free: 13.61 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004129/0.4719, allocations: 183.2 kB / 1.379 GB, free: 13.43 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000175/0.4721, allocations: 8 kB / 1.379 GB, free: 13.42 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004401/0.4726, allocations: 27.98 kB / 1.379 GB, free: 13.39 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.129e-05/0.4726, allocations: 31.84 kB / 1.379 GB, free: 13.36 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.782e-05/0.4726, allocations: 15.98 kB / 1.379 GB, free: 13.35 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.005787/0.4784, allocations: 5.157 MB / 1.384 GB, free: 8.18 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4784, allocations: 3.938 kB / 1.384 GB, free: 8.176 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009026/0.4793, allocations: 183.9 kB / 1.384 GB, free: 7.996 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.001928/0.4813, allocations: 1.288 MB / 1.386 GB, free: 6.625 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001366/0.4826, allocations: 0.7729 MB / 1.386 GB, free: 5.852 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.4826, allocations: 3.938 kB / 1.386 GB, free: 5.848 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0004075/0.483, allocations: 224.6 kB / 1.387 GB, free: 5.629 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.4842, allocations: 196.4 kB / 1.387 GB, free: 5.438 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03128/0.5154, allocations: 22.94 MB / 1.409 GB, free: 14.25 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008632/0.5163, allocations: 1.003 MB / 1.41 GB, free: 13.22 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0005732/0.5169, allocations: 149.4 kB / 1.41 GB, free: 13.07 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005688/0.5174, allocations: 295.3 kB / 1.411 GB, free: 12.79 MB / 1.107 GB Notification: Performance of SimCode: time 1.362e-06/0.5174, allocations: 0 / 1.411 GB, free: 12.79 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06209/0.5795, allocations: 24.1 MB / 1.434 GB, free: 4.965 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.83/13.41, allocations: 5.859 kB / 1.434 GB, free: 4.961 MB / 1.123 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid.fmu > Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.740237967984285]