Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00128/0.00128, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001487/0.001487, allocations: 216.6 kB / 22.24 MB, free: 5.105 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.431/1.431, allocations: 230.6 MB / 256 MB, free: 7.832 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 3.13/3.13, allocations: 0.49 GB / 0.7951 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 177] 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.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,fileNamePrefix="Buildings_12_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,fileNamePrefix="Buildings_12_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.002096/0.002096, allocations: 69.03 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3498, allocations: 176.1 MB / 1.326 GB, free: 1.539 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01764/0.3674, allocations: 14.36 MB / 1.34 GB, free: 3.133 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.006499/0.3739, allocations: 4.27 MB / 1.344 GB, free: 14.85 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005076/0.3744, allocations: 19.81 kB / 1.344 GB, free: 14.83 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006704/0.3751, allocations: 198.6 kB / 1.344 GB, free: 14.64 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001443/0.3765, allocations: 0.5908 MB / 1.345 GB, free: 14.04 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001492/0.378, allocations: 0.5789 MB / 1.345 GB, free: 13.47 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001238/0.3792, allocations: 0.9663 MB / 1.346 GB, free: 12.5 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004158/0.3797, allocations: 256.4 kB / 1.347 GB, free: 12.23 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007983/0.3805, allocations: 482.1 kB / 1.347 GB, free: 11.76 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004088/0.3809, allocations: 302.7 kB / 1.347 GB, free: 11.46 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.182e-05/0.3809, allocations: 20 kB / 1.347 GB, free: 11.45 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000394/0.3813, allocations: 195.6 kB / 1.348 GB, free: 11.25 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.3814, allocations: 87.56 kB / 1.348 GB, free: 11.17 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000175/0.3816, allocations: 167.1 kB / 1.348 GB, free: 11 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006393/0.3822, allocations: 0.494 MB / 1.348 GB, free: 10.51 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3822, allocations: 0 / 1.348 GB, free: 10.51 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3822, allocations: 4 kB / 1.348 GB, free: 10.5 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.3822, allocations: 0 / 1.348 GB, free: 10.5 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001084/0.3833, allocations: 0.6523 MB / 1.349 GB, free: 9.82 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.3834, allocations: 12.03 kB / 1.349 GB, free: 9.809 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.658e-05/0.3834, allocations: 50.73 kB / 1.349 GB, free: 9.75 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.537e-05/0.3835, allocations: 56.53 kB / 1.349 GB, free: 9.695 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006396/0.3842, allocations: 335.2 kB / 1.349 GB, free: 9.34 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.833e-05/0.3842, allocations: 28.31 kB / 1.349 GB, free: 9.312 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.267e-05/0.3842, allocations: 28 kB / 1.349 GB, free: 9.285 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003302/0.3846, allocations: 191.3 kB / 1.35 GB, free: 9.09 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.3846, allocations: 0 / 1.35 GB, free: 9.09 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.127e-05/0.3846, allocations: 12 kB / 1.35 GB, free: 9.078 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.3846, allocations: 4 kB / 1.35 GB, free: 9.074 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002365/0.3848, allocations: 133.6 kB / 1.35 GB, free: 8.941 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/0.3862, allocations: 0.6857 MB / 1.35 GB, free: 8.215 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004457/0.3866, allocations: 106.6 kB / 1.35 GB, free: 8.102 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.99e-05/0.3867, allocations: 44.83 kB / 1.351 GB, free: 8.055 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001311/0.3868, allocations: 31.98 kB / 1.351 GB, free: 8.023 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.3869, allocations: 34.56 kB / 1.351 GB, free: 7.98 MB / 1.045 GB Notification: Performance of pre-optimization done (n=12): time 1.282e-06/0.3869, allocations: 0 / 1.351 GB, free: 7.98 MB / 1.045 GB Notification: Performance of matching and sorting (n=12): time 0.0003635/0.3872, allocations: 177.2 kB / 1.351 GB, free: 7.801 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.3873, allocations: 55.41 kB / 1.351 GB, free: 7.734 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005324/0.3878, allocations: 437.9 kB / 1.351 GB, free: 7.305 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.251e-05/0.3878, allocations: 33.7 kB / 1.351 GB, free: 7.266 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001843/0.388, allocations: 216.4 kB / 1.351 GB, free: 7.051 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.854e-05/0.3881, allocations: 43.58 kB / 1.352 GB, free: 7.008 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.388e-05/0.3881, allocations: 57.69 kB / 1.352 GB, free: 6.945 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.3883, allocations: 354.7 kB / 1.352 GB, free: 6.59 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.3884, allocations: 47.98 kB / 1.352 GB, free: 6.543 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002523/0.3887, allocations: 261.3 kB / 1.352 GB, free: 6.234 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000214/0.3889, allocations: 143.2 kB / 1.352 GB, free: 6.082 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3889, allocations: 0 / 1.352 GB, free: 6.082 MB / 1.045 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003628/0.3892, allocations: 217.2 kB / 1.353 GB, free: 5.863 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.3893, allocations: 8 kB / 1.353 GB, free: 5.855 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3893, allocations: 0 / 1.353 GB, free: 5.855 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.3893, allocations: 4 kB / 1.353 GB, free: 5.852 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002082/0.3895, allocations: 43.91 kB / 1.353 GB, free: 5.809 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.3895, allocations: 4 kB / 1.353 GB, free: 5.805 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002671/0.3898, allocations: 39.77 kB / 1.353 GB, free: 5.766 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.895e-05/0.3898, allocations: 8 kB / 1.353 GB, free: 5.758 MB / 1.045 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.0001579/0.39, allocations: 153.7 kB / 1.353 GB, free: 5.598 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.325e-05/0.39, allocations: 39.77 kB / 1.353 GB, free: 5.559 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003735/0.3904, allocations: 196 kB / 1.353 GB, free: 5.359 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.3904, allocations: 4 kB / 1.353 GB, free: 5.355 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3904, allocations: 4 kB / 1.353 GB, free: 5.352 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3904, allocations: 0 / 1.353 GB, free: 5.352 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007885/0.3912, allocations: 0.5748 MB / 1.354 GB, free: 4.715 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.3912, allocations: 64 / 1.354 GB, free: 4.715 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.3913, allocations: 27.94 kB / 1.354 GB, free: 4.688 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.3913, allocations: 0 / 1.354 GB, free: 4.688 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.3913, allocations: 7.984 kB / 1.354 GB, free: 4.68 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.3913, allocations: 3.938 kB / 1.354 GB, free: 4.676 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3913, allocations: 4 kB / 1.354 GB, free: 4.672 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003284/0.3917, allocations: 309.9 kB / 1.354 GB, free: 4.344 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.3918, allocations: 51.69 kB / 1.354 GB, free: 4.293 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.049e-05/0.3918, allocations: 11.98 kB / 1.354 GB, free: 4.281 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/0.392, allocations: 7.938 kB / 1.354 GB, free: 4.273 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.586e-05/0.3921, allocations: 7.984 kB / 1.354 GB, free: 4.266 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.3921, allocations: 12.27 kB / 1.354 GB, free: 4.254 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003699/0.3924, allocations: 311.1 kB / 1.354 GB, free: 3.953 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3924, allocations: 0 / 1.354 GB, free: 3.953 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004133/0.3929, allocations: 107.7 kB / 1.354 GB, free: 3.848 MB / 1.045 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.0008438/0.3937, allocations: 0.9243 MB / 1.355 GB, free: 2.887 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002845/0.394, allocations: 131.8 kB / 1.355 GB, free: 2.758 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.394, allocations: 0 / 1.355 GB, free: 2.758 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 9.683e-05/0.3941, allocations: 59.84 kB / 1.356 GB, free: 2.699 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009359/0.395, allocations: 177 kB / 1.356 GB, free: 2.527 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004237/0.3993, allocations: 3.225 MB / 1.359 GB, free: 15.18 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001953/0.3995, allocations: 207.7 kB / 1.359 GB, free: 14.95 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000207/0.3997, allocations: 70.16 kB / 1.359 GB, free: 14.89 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001687/0.3998, allocations: 127.3 kB / 1.359 GB, free: 14.76 MB / 1.061 GB Notification: Performance of SimCode: time 4.31e-07/0.3998, allocations: 3.938 kB / 1.359 GB, free: 14.76 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04186/0.4417, allocations: 12.45 MB / 1.371 GB, free: 2.66 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.47, allocations: 11.75 kB / 1.371 GB, free: 2.652 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; mkfifo Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe >> ../files/Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.fmu > Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.csv. Warning: Get data of variable y1 from file Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.csv failed! Error: Could not read variable y2 in file Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.csv. Warning: Get data of variable y2 from file Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.06535038302536]