Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.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.001733/0.001733, 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.002107/0.002107, allocations: 212.6 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.384/1.384, allocations: 230.6 MB / 256 MB, free: 7.809 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.111/3.111, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 177] 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.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,fileNamePrefix="Buildings_latest_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,fileNamePrefix="Buildings_latest_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing",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.002027/0.002027, allocations: 71.2 kB / 1.186 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3449, allocations: 181.9 MB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01915/0.3641, allocations: 14.34 MB / 1.377 GB, free: 15.69 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.006777/0.3708, allocations: 4.277 MB / 1.382 GB, free: 11.4 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005571/0.3714, allocations: 19.81 kB / 1.382 GB, free: 11.38 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.000704/0.3721, allocations: 190.6 kB / 1.382 GB, free: 11.19 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001779/0.3739, allocations: 0.5972 MB / 1.382 GB, free: 10.59 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001634/0.3755, allocations: 0.5653 MB / 1.383 GB, free: 10.04 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001389/0.3769, allocations: 0.9546 MB / 1.384 GB, free: 9.078 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005429/0.3774, allocations: 264.3 kB / 1.384 GB, free: 8.809 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009385/0.3784, allocations: 482.1 kB / 1.385 GB, free: 8.336 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005109/0.3789, allocations: 294.6 kB / 1.385 GB, free: 8.047 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 7.524e-05/0.379, allocations: 24 kB / 1.385 GB, free: 8.023 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000467/0.3794, allocations: 179.7 kB / 1.385 GB, free: 7.848 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.3796, allocations: 91.55 kB / 1.385 GB, free: 7.758 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002177/0.3798, allocations: 163.1 kB / 1.385 GB, free: 7.598 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0007469/0.3805, allocations: 0.5018 MB / 1.386 GB, free: 7.094 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3805, allocations: 0 / 1.386 GB, free: 7.094 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3805, allocations: 0 / 1.386 GB, free: 7.094 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.417e-05/0.3805, allocations: 0 / 1.386 GB, free: 7.094 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001217/0.3818, allocations: 0.6562 MB / 1.386 GB, free: 6.406 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.3818, allocations: 8.031 kB / 1.386 GB, free: 6.398 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.481e-05/0.3819, allocations: 54.73 kB / 1.386 GB, free: 6.336 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.382, allocations: 56.59 kB / 1.387 GB, free: 6.281 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006843/0.3827, allocations: 335.2 kB / 1.387 GB, free: 5.93 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.3827, allocations: 20.38 kB / 1.387 GB, free: 5.91 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.994e-05/0.3827, allocations: 28 kB / 1.387 GB, free: 5.883 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003459/0.3831, allocations: 195.2 kB / 1.387 GB, free: 5.688 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.3831, allocations: 0 / 1.387 GB, free: 5.688 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.207e-05/0.3831, allocations: 8 kB / 1.387 GB, free: 5.68 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.3831, allocations: 4 kB / 1.387 GB, free: 5.676 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002367/0.3834, allocations: 137.6 kB / 1.387 GB, free: 5.543 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001436/0.3848, allocations: 0.6895 MB / 1.388 GB, free: 4.809 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004869/0.3853, allocations: 110.6 kB / 1.388 GB, free: 4.691 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.94e-05/0.3854, allocations: 40.84 kB / 1.388 GB, free: 4.648 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001535/0.3855, allocations: 35.97 kB / 1.388 GB, free: 4.613 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.3855, allocations: 34.56 kB / 1.388 GB, free: 4.57 MB / 1.076 GB Notification: Performance of pre-optimization done (n=12): time 1.362e-06/0.3855, allocations: 0 / 1.388 GB, free: 4.57 MB / 1.076 GB Notification: Performance of matching and sorting (n=12): time 0.0004059/0.386, allocations: 173.3 kB / 1.388 GB, free: 4.395 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.386, allocations: 55.41 kB / 1.388 GB, free: 4.328 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005406/0.3865, allocations: 441.8 kB / 1.389 GB, free: 3.895 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.3866, allocations: 33.7 kB / 1.389 GB, free: 3.855 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/0.3867, allocations: 216.5 kB / 1.389 GB, free: 3.641 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.88e-05/0.3868, allocations: 43.58 kB / 1.389 GB, free: 3.598 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.856e-05/0.3869, allocations: 53.66 kB / 1.389 GB, free: 3.539 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.387, allocations: 354.7 kB / 1.389 GB, free: 3.184 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.827e-05/0.3871, allocations: 51.97 kB / 1.389 GB, free: 3.133 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002373/0.3874, allocations: 265.4 kB / 1.39 GB, free: 2.82 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002082/0.3876, allocations: 135.3 kB / 1.39 GB, free: 2.676 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3876, allocations: 0 / 1.39 GB, free: 2.676 MB / 1.076 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003673/0.3879, allocations: 221.2 kB / 1.39 GB, free: 2.453 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.3879, allocations: 12 kB / 1.39 GB, free: 2.441 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.388, allocations: 4.062 kB / 1.39 GB, free: 2.438 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.388, allocations: 0 / 1.39 GB, free: 2.438 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/0.3882, allocations: 43.92 kB / 1.39 GB, free: 2.395 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.3882, allocations: 4 kB / 1.39 GB, free: 2.391 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002764/0.3885, allocations: 31.77 kB / 1.39 GB, free: 2.359 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.332e-05/0.3885, allocations: 15.98 kB / 1.39 GB, free: 2.344 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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.0001554/0.3887, allocations: 153.7 kB / 1.39 GB, free: 2.184 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.541e-05/0.3887, allocations: 39.72 kB / 1.39 GB, free: 2.145 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003553/0.3891, allocations: 193.7 kB / 1.391 GB, free: 1.949 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.3891, allocations: 0 / 1.391 GB, free: 1.949 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.3891, allocations: 4.188 kB / 1.391 GB, free: 1.945 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.3891, allocations: 3.984 kB / 1.391 GB, free: 1.941 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007812/0.3899, allocations: 0.5751 MB / 1.391 GB, free: 1.305 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.3899, allocations: 4 kB / 1.391 GB, free: 1.301 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.39, allocations: 23.92 kB / 1.391 GB, free: 1.277 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.39, allocations: 8.125 kB / 1.391 GB, free: 1.27 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.39, allocations: 4 kB / 1.391 GB, free: 1.266 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.39, allocations: 3.938 kB / 1.391 GB, free: 1.262 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.39, allocations: 0 / 1.391 GB, free: 1.262 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003206/0.3903, allocations: 306.5 kB / 1.391 GB, free: 0.9336 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.3904, allocations: 55.69 kB / 1.391 GB, free: 0.8789 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.71e-05/0.3905, allocations: 4 kB / 1.391 GB, free: 0.875 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/0.3907, allocations: 15.92 kB / 1.392 GB, free: 0.8594 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.693e-05/0.3907, allocations: 7.984 kB / 1.392 GB, free: 0.8516 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.3907, allocations: 12 kB / 1.392 GB, free: 0.8398 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003738/0.3911, allocations: 311.1 kB / 1.392 GB, free: 0.5352 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.3911, allocations: 0 / 1.392 GB, free: 0.5352 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004194/0.3915, allocations: 107.8 kB / 1.392 GB, free: 440 kB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0008284/0.3924, allocations: 0.9211 MB / 1.393 GB, free: 15.47 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0002963/0.3927, allocations: 131.8 kB / 1.393 GB, free: 15.34 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3927, allocations: 4 kB / 1.393 GB, free: 15.34 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.3928, allocations: 59.86 kB / 1.393 GB, free: 15.28 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009275/0.3937, allocations: 185.4 kB / 1.393 GB, free: 15.11 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00424/0.3979, allocations: 3.228 MB / 1.396 GB, free: 11.75 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001971/0.3981, allocations: 203.8 kB / 1.397 GB, free: 11.54 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0002356/0.3984, allocations: 66.3 kB / 1.397 GB, free: 11.48 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001742/0.3985, allocations: 119.4 kB / 1.397 GB, free: 11.36 MB / 1.092 GB Notification: Performance of SimCode: time 6.41e-07/0.3985, allocations: 4 kB / 1.397 GB, free: 11.36 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03993/0.4385, allocations: 12.38 MB / 1.409 GB, free: 15.32 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.5, allocations: 5.312 kB / 1.409 GB, free: 15.31 MB / 1.107 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; mkfifo Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe >> ../files/Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat --tempDir=temp_Buildings_latest_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.fmu > Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.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: 17.97851454373449]