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.001521/0.001521, 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.001718/0.001718, allocations: 212.8 kB / 22.25 MB, free: 4.855 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.343/1.343, allocations: 230.6 MB / 256 MB, free: 7.805 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.056/3.056, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 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.002766/0.002766, allocations: 68.62 kB / 1.186 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.335, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01711/0.3521, allocations: 14.34 MB / 1.377 GB, free: 15.68 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.006566/0.3586, allocations: 4.27 MB / 1.382 GB, free: 11.4 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000491/0.3591, allocations: 19.81 kB / 1.382 GB, free: 11.38 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.000634/0.3598, allocations: 190.6 kB / 1.382 GB, free: 11.2 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001568/0.3613, allocations: 0.5972 MB / 1.382 GB, free: 10.6 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001481/0.3628, allocations: 0.5668 MB / 1.383 GB, free: 10.04 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001274/0.3641, allocations: 0.9585 MB / 1.384 GB, free: 9.074 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004163/0.3645, allocations: 264.3 kB / 1.384 GB, free: 8.805 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008187/0.3653, allocations: 478.1 kB / 1.385 GB, free: 8.336 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004221/0.3657, allocations: 294.7 kB / 1.385 GB, free: 8.047 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.578e-05/0.3658, allocations: 20 kB / 1.385 GB, free: 8.027 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004327/0.3662, allocations: 187.7 kB / 1.385 GB, free: 7.844 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.3663, allocations: 87.55 kB / 1.385 GB, free: 7.758 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001873/0.3665, allocations: 159.1 kB / 1.385 GB, free: 7.602 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0007462/0.3673, allocations: 0.5096 MB / 1.386 GB, free: 7.09 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3673, allocations: 0 / 1.386 GB, free: 7.09 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3673, allocations: 0 / 1.386 GB, free: 7.09 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.736e-06/0.3673, allocations: 0 / 1.386 GB, free: 7.09 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.001178/0.3685, allocations: 0.6446 MB / 1.386 GB, free: 6.414 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.3685, allocations: 12.03 kB / 1.386 GB, free: 6.402 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.962e-05/0.3686, allocations: 54.67 kB / 1.386 GB, free: 6.34 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.731e-05/0.3687, allocations: 52.61 kB / 1.387 GB, free: 6.289 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007033/0.3694, allocations: 331.2 kB / 1.387 GB, free: 5.941 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.059e-05/0.3694, allocations: 24.38 kB / 1.387 GB, free: 5.918 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.213e-05/0.3695, allocations: 24 kB / 1.387 GB, free: 5.895 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000366/0.3698, allocations: 195.2 kB / 1.387 GB, free: 5.699 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.3698, allocations: 0 / 1.387 GB, free: 5.699 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.437e-05/0.3699, allocations: 12 kB / 1.387 GB, free: 5.688 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-06/0.3699, allocations: 8 kB / 1.387 GB, free: 5.68 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002378/0.3701, allocations: 133.6 kB / 1.387 GB, free: 5.551 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001459/0.3716, allocations: 0.6934 MB / 1.388 GB, free: 4.812 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004417/0.372, allocations: 110.6 kB / 1.388 GB, free: 4.695 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.586e-05/0.3721, allocations: 40.84 kB / 1.388 GB, free: 4.652 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001366/0.3722, allocations: 35.97 kB / 1.388 GB, free: 4.617 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.3723, allocations: 34.56 kB / 1.388 GB, free: 4.574 MB / 1.076 GB Notification: Performance of pre-optimization done (n=12): time 1.363e-06/0.3723, allocations: 0 / 1.388 GB, free: 4.574 MB / 1.076 GB Notification: Performance of matching and sorting (n=12): time 0.0003632/0.3726, allocations: 177.3 kB / 1.388 GB, free: 4.395 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.092e-05/0.3727, allocations: 55.41 kB / 1.388 GB, free: 4.328 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005179/0.3732, allocations: 441.8 kB / 1.389 GB, free: 3.895 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.3732, allocations: 33.7 kB / 1.389 GB, free: 3.855 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/0.3734, allocations: 208.5 kB / 1.389 GB, free: 3.648 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.064e-05/0.3734, allocations: 47.56 kB / 1.389 GB, free: 3.602 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.989e-05/0.3735, allocations: 57.66 kB / 1.389 GB, free: 3.539 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.3737, allocations: 350.7 kB / 1.389 GB, free: 3.188 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.3738, allocations: 55.91 kB / 1.389 GB, free: 3.133 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002595/0.3741, allocations: 261.4 kB / 1.39 GB, free: 2.824 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002304/0.3743, allocations: 139.3 kB / 1.39 GB, free: 2.676 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.3743, allocations: 4 kB / 1.39 GB, free: 2.672 MB / 1.076 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003713/0.3747, allocations: 217.3 kB / 1.39 GB, free: 2.453 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.3747, allocations: 10.34 kB / 1.39 GB, free: 2.445 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.3747, allocations: 0 / 1.39 GB, free: 2.445 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.3747, allocations: 4 kB / 1.39 GB, free: 2.441 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002009/0.3749, allocations: 39.92 kB / 1.39 GB, free: 2.402 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.3749, allocations: 4 kB / 1.39 GB, free: 2.398 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002792/0.3752, allocations: 35.95 kB / 1.39 GB, free: 2.363 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.128e-05/0.3752, allocations: 11.98 kB / 1.39 GB, free: 2.352 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.0001647/0.3754, allocations: 157.7 kB / 1.39 GB, free: 2.188 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.996e-05/0.3755, allocations: 47.72 kB / 1.39 GB, free: 2.141 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003381/0.3758, allocations: 193.6 kB / 1.391 GB, free: 1.949 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.3758, allocations: 4 kB / 1.391 GB, free: 1.945 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.3758, allocations: 0 / 1.391 GB, free: 1.945 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.3758, allocations: 3.984 kB / 1.391 GB, free: 1.941 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007852/0.3766, allocations: 0.5714 MB / 1.391 GB, free: 1.309 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.3766, allocations: 0 / 1.391 GB, free: 1.309 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.3767, allocations: 27.92 kB / 1.391 GB, free: 1.281 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3767, allocations: 0 / 1.391 GB, free: 1.281 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.3767, allocations: 4 kB / 1.391 GB, free: 1.277 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.3767, allocations: 7.922 kB / 1.391 GB, free: 1.27 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.3768, allocations: 4 kB / 1.391 GB, free: 1.266 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003263/0.3771, allocations: 310.5 kB / 1.391 GB, free: 0.9336 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.3772, allocations: 47.69 kB / 1.391 GB, free: 0.8867 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.31e-05/0.3772, allocations: 8 kB / 1.391 GB, free: 0.8789 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.3774, allocations: 15.98 kB / 1.392 GB, free: 0.8633 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.818e-05/0.3775, allocations: 16.06 kB / 1.392 GB, free: 0.8477 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.3775, allocations: 4 kB / 1.392 GB, free: 0.8438 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003689/0.3779, allocations: 311.1 kB / 1.392 GB, free: 0.5391 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.3779, allocations: 0 / 1.392 GB, free: 0.5391 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004259/0.3783, allocations: 107.8 kB / 1.392 GB, free: 444 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.0008581/0.3791, allocations: 0.9223 MB / 1.393 GB, free: 15.47 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0002798/0.3794, allocations: 135.8 kB / 1.393 GB, free: 15.34 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3794, allocations: 0 / 1.393 GB, free: 15.34 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 9.596e-05/0.3795, allocations: 55.86 kB / 1.393 GB, free: 15.29 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000921/0.3804, allocations: 185.5 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.004321/0.3848, allocations: 3.232 MB / 1.396 GB, free: 11.75 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001886/0.3849, allocations: 199.8 kB / 1.397 GB, free: 11.54 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0002286/0.3852, allocations: 61.88 kB / 1.397 GB, free: 11.48 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/0.3853, allocations: 123.4 kB / 1.397 GB, free: 11.36 MB / 1.092 GB Notification: Performance of SimCode: time 5.91e-07/0.3853, allocations: 0 / 1.397 GB, free: 11.36 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04208/0.4274, allocations: 12.38 MB / 1.409 GB, free: 15.32 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.79, allocations: 5.312 kB / 1.409 GB, free: 15.32 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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] "Error: Could not read variable y1 in file Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.csv. Warning: Get data of variable y1 from file Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.csv failed! Error: Could not read variable y2 in file Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.csv. Warning: Get data of variable y2 from file Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.202855651732534]