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.001891/0.001891, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002445/0.002445, allocations: 216.2 kB / 22.25 MB, free: 5.082 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.424/1.424, allocations: 230.6 MB / 256 MB, free: 8.012 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.179/3.179, allocations: 0.505 GB / 0.8101 GB, free: 22.02 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.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.001967/0.001967, allocations: 66.59 kB / 1.177 GB, free: 17.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3344, allocations: 180.2 MB / 1.353 GB, free: 8.477 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01764/0.352, allocations: 15.72 MB / 1.368 GB, free: 8.695 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.006477/0.3585, allocations: 4.671 MB / 1.373 GB, free: 4.012 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004052/0.3589, allocations: 23.81 kB / 1.373 GB, free: 3.988 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005666/0.3594, allocations: 190.6 kB / 1.373 GB, free: 3.801 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00145/0.3609, allocations: 0.6024 MB / 1.374 GB, free: 3.195 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001555/0.3624, allocations: 0.5877 MB / 1.374 GB, free: 2.613 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001367/0.3638, allocations: 0.9624 MB / 1.375 GB, free: 1.645 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004223/0.3642, allocations: 261.1 kB / 1.375 GB, free: 1.379 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008169/0.3651, allocations: 478 kB / 1.376 GB, free: 0.9102 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004395/0.3655, allocations: 310.6 kB / 1.376 GB, free: 0.6055 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.716e-05/0.3655, allocations: 24 kB / 1.376 GB, free: 0.582 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004792/0.366, allocations: 223.6 kB / 1.376 GB, free: 372 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.3661, allocations: 87.55 kB / 1.376 GB, free: 284 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002115/0.3663, allocations: 198.9 kB / 1.377 GB, free: 84 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000767/0.3671, allocations: 0.5018 MB / 1.377 GB, free: 15.58 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3671, allocations: 4 kB / 1.377 GB, free: 15.57 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3671, allocations: 0 / 1.377 GB, free: 15.57 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.827e-06/0.3671, allocations: 3.938 kB / 1.377 GB, free: 15.57 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.001187/0.3683, allocations: 0.6563 MB / 1.378 GB, free: 14.88 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.3683, allocations: 12.02 kB / 1.378 GB, free: 14.87 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.416e-05/0.3684, allocations: 54.73 kB / 1.378 GB, free: 14.81 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.509e-05/0.3685, allocations: 48.66 kB / 1.378 GB, free: 14.76 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006838/0.3692, allocations: 355.1 kB / 1.378 GB, free: 14.39 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.3692, allocations: 16.38 kB / 1.378 GB, free: 14.38 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.173e-05/0.3693, allocations: 28 kB / 1.378 GB, free: 14.35 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003329/0.3696, allocations: 199.2 kB / 1.378 GB, free: 14.15 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.3696, allocations: 4 kB / 1.378 GB, free: 14.14 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/0.3696, allocations: 4 kB / 1.378 GB, free: 14.14 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.3696, allocations: 4 kB / 1.378 GB, free: 14.14 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002425/0.3699, allocations: 133.7 kB / 1.379 GB, free: 14.01 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001495/0.3714, allocations: 0.829 MB / 1.379 GB, free: 13.11 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000442/0.3718, allocations: 118.6 kB / 1.379 GB, free: 12.98 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.435e-05/0.3719, allocations: 44.83 kB / 1.38 GB, free: 12.93 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001249/0.372, allocations: 27.98 kB / 1.38 GB, free: 12.91 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.372, allocations: 34.56 kB / 1.38 GB, free: 12.86 MB / 1.076 GB Notification: Performance of pre-optimization done (n=12): time 1.132e-06/0.372, allocations: 0 / 1.38 GB, free: 12.86 MB / 1.076 GB Notification: Performance of matching and sorting (n=12): time 0.0003584/0.3724, allocations: 181.3 kB / 1.38 GB, free: 12.68 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.3724, allocations: 59.34 kB / 1.38 GB, free: 12.61 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005362/0.373, allocations: 449.8 kB / 1.38 GB, free: 12.16 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/0.373, allocations: 29.7 kB / 1.38 GB, free: 12.13 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/0.3732, allocations: 216.5 kB / 1.38 GB, free: 11.91 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.654e-05/0.3732, allocations: 43.58 kB / 1.381 GB, free: 11.87 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.205e-05/0.3733, allocations: 53.7 kB / 1.381 GB, free: 11.81 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001849/0.3735, allocations: 350.7 kB / 1.381 GB, free: 11.46 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.703e-05/0.3736, allocations: 51.91 kB / 1.381 GB, free: 11.41 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/0.3737, allocations: 113 kB / 1.381 GB, free: 11.28 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002031/0.3739, allocations: 131.3 kB / 1.381 GB, free: 11.14 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3739, allocations: 0 / 1.381 GB, free: 11.14 MB / 1.076 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003858/0.3743, allocations: 229.2 kB / 1.381 GB, free: 10.91 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.3743, allocations: 4 kB / 1.381 GB, free: 10.91 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3744, allocations: 0 / 1.381 GB, free: 10.91 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.3744, allocations: 8 kB / 1.381 GB, free: 10.9 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002209/0.3746, allocations: 35.98 kB / 1.381 GB, free: 10.86 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.3746, allocations: 4 kB / 1.381 GB, free: 10.86 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002848/0.3749, allocations: 36 kB / 1.381 GB, free: 10.82 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.045e-05/0.3749, allocations: 12 kB / 1.381 GB, free: 10.81 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.000158/0.3751, allocations: 161.6 kB / 1.382 GB, free: 10.64 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.307e-05/0.3751, allocations: 39.77 kB / 1.382 GB, free: 10.61 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003516/0.3755, allocations: 210.7 kB / 1.382 GB, free: 10.39 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.3755, allocations: 7.922 kB / 1.382 GB, free: 10.39 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3755, allocations: 0 / 1.382 GB, free: 10.39 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.3755, allocations: 0 / 1.382 GB, free: 10.39 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007985/0.3763, allocations: 0.5944 MB / 1.382 GB, free: 9.73 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3763, allocations: 0 / 1.382 GB, free: 9.73 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.3764, allocations: 23.98 kB / 1.383 GB, free: 9.707 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.3764, allocations: 0 / 1.383 GB, free: 9.707 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.3764, allocations: 11.94 kB / 1.383 GB, free: 9.695 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.3764, allocations: 3.938 kB / 1.383 GB, free: 9.691 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3764, allocations: 4 kB / 1.383 GB, free: 9.688 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003202/0.3768, allocations: 294.7 kB / 1.383 GB, free: 9.371 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.3769, allocations: 63.56 kB / 1.383 GB, free: 9.309 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.492e-05/0.3769, allocations: 0 / 1.383 GB, free: 9.309 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002202/0.3771, allocations: 19.92 kB / 1.383 GB, free: 9.289 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.622e-05/0.3772, allocations: 7.984 kB / 1.383 GB, free: 9.281 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.3772, allocations: 16.05 kB / 1.383 GB, free: 9.266 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003923/0.3776, allocations: 319.1 kB / 1.383 GB, free: 8.953 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3776, allocations: 0 / 1.383 GB, free: 8.953 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004133/0.378, allocations: 99.86 kB / 1.383 GB, free: 8.855 MB / 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.000846/0.3788, allocations: 0.9313 MB / 1.384 GB, free: 7.887 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002716/0.3791, allocations: 131.8 kB / 1.384 GB, free: 7.758 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3791, allocations: 0 / 1.384 GB, free: 7.758 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 9.305e-05/0.3792, allocations: 56.11 kB / 1.384 GB, free: 7.703 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008988/0.3801, allocations: 181.6 kB / 1.385 GB, free: 7.535 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004312/0.3844, allocations: 3.262 MB / 1.388 GB, free: 4.148 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004325/0.3848, allocations: 0.8074 MB / 1.389 GB, free: 3.312 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001933/0.385, allocations: 66.17 kB / 1.389 GB, free: 3.25 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001703/0.3852, allocations: 119.4 kB / 1.389 GB, free: 3.133 MB / 1.076 GB Notification: Performance of SimCode: time 3.01e-07/0.3852, allocations: 0 / 1.389 GB, free: 3.133 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0383/0.4235, allocations: 11.26 MB / 1.4 GB, free: 8.137 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.42, allocations: 5.188 kB / 1.4 GB, free: 8.137 MB / 1.092 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.117979475000084]