Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001803/0.001803, allocations: 108.8 kB / 16.46 MB, free: 6.453 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.002523/0.002523, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.493/1.493, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.758/2.758, allocations: 476.7 MB / 0.7672 GB, free: 5.215 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,fileNamePrefix="Buildings_11_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.002114/0.002114, allocations: 63.91 kB / 1.112 GB, free: 1.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.889/0.8911, allocations: 169.9 MB / 1.278 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.02083/0.9119, allocations: 15.62 MB / 1.294 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007325/0.9192, allocations: 4.702 MB / 1.298 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006347/0.9199, allocations: 19.81 kB / 1.298 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007693/0.9206, allocations: 194.6 kB / 1.298 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001805/0.9224, allocations: 0.6023 MB / 1.299 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001687/0.9241, allocations: 0.5654 MB / 1.299 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001551/0.9257, allocations: 0.9619 MB / 1.3 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000756/0.9264, allocations: 285.3 kB / 1.301 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001201/0.9276, allocations: 430.3 kB / 1.301 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008922/0.9285, allocations: 310.6 kB / 1.301 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000124/0.9287, allocations: 24 kB / 1.301 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006582/0.9293, allocations: 223.6 kB / 1.302 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001619/0.9295, allocations: 91.53 kB / 1.302 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003179/0.9298, allocations: 198.9 kB / 1.302 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009734/0.9308, allocations: 0.5154 MB / 1.302 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.9308, allocations: 0 / 1.302 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.9308, allocations: 3.938 kB / 1.302 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.837e-05/0.9308, allocations: 0 / 1.302 GB, free: 4.59 MB / 0.9981 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.001475/0.9323, allocations: 0.7471 MB / 1.303 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.9323, allocations: 8.031 kB / 1.303 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.717e-05/0.9324, allocations: 54.73 kB / 1.303 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001403/0.9325, allocations: 52.61 kB / 1.303 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000802/0.9333, allocations: 418.3 kB / 1.304 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.236e-05/0.9334, allocations: 28.36 kB / 1.304 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.663e-05/0.9334, allocations: 28 kB / 1.304 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003628/0.9338, allocations: 191.3 kB / 1.304 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.9338, allocations: 0 / 1.304 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.177e-05/0.9338, allocations: 8 kB / 1.304 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.9338, allocations: 4 kB / 1.304 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002524/0.9341, allocations: 133.7 kB / 1.304 GB, free: 2.832 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001731/0.9358, allocations: 0.8754 MB / 1.305 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004753/0.9363, allocations: 118.5 kB / 1.305 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.489e-05/0.9364, allocations: 44.83 kB / 1.305 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003221/0.9367, allocations: 336.4 kB / 1.305 GB, free: 1.309 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.9367, allocations: 42.5 kB / 1.305 GB, free: 1.258 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=12): time 1.302e-06/0.9367, allocations: 0 / 1.305 GB, free: 1.258 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12): time 0.0004043/0.9371, allocations: 173.3 kB / 1.306 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.9372, allocations: 55.41 kB / 1.306 GB, free: 1.016 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006506/0.9378, allocations: 461.8 kB / 1.306 GB, free: 0.5625 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.197e-05/0.9378, allocations: 29.7 kB / 1.306 GB, free: 0.5273 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001928/0.938, allocations: 212.5 kB / 1.306 GB, free: 324 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.302e-05/0.9381, allocations: 47.58 kB / 1.306 GB, free: 276 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.9382, allocations: 57.7 kB / 1.306 GB, free: 212 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000202/0.9384, allocations: 350.7 kB / 1.307 GB, free: 15.86 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.9385, allocations: 51.97 kB / 1.307 GB, free: 15.8 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001872/0.9387, allocations: 111.6 kB / 1.307 GB, free: 15.68 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002202/0.9389, allocations: 135.3 kB / 1.307 GB, free: 15.54 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.9389, allocations: 0 / 1.307 GB, free: 15.54 MB / 1.014 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004127/0.9393, allocations: 233.1 kB / 1.307 GB, free: 15.3 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.9393, allocations: 10.5 kB / 1.307 GB, free: 15.29 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.9393, allocations: 3.984 kB / 1.307 GB, free: 15.29 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.9394, allocations: 0 / 1.307 GB, free: 15.29 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/0.9396, allocations: 43.98 kB / 1.307 GB, free: 15.25 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.9396, allocations: 4 kB / 1.307 GB, free: 15.24 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003219/0.9399, allocations: 39.75 kB / 1.307 GB, free: 15.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.033e-05/0.9399, allocations: 8 kB / 1.307 GB, free: 15.2 MB / 1.014 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.0001716/0.9401, allocations: 161.7 kB / 1.307 GB, free: 15.03 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.029e-05/0.9402, allocations: 43.72 kB / 1.308 GB, free: 14.98 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003748/0.9406, allocations: 190.4 kB / 1.308 GB, free: 14.79 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.9406, allocations: 3.984 kB / 1.308 GB, free: 14.79 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.9406, allocations: 0 / 1.308 GB, free: 14.79 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.9406, allocations: 0 / 1.308 GB, free: 14.79 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008617/0.9415, allocations: 0.6264 MB / 1.308 GB, free: 14.09 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.9415, allocations: 0 / 1.308 GB, free: 14.09 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.9416, allocations: 23.98 kB / 1.308 GB, free: 14.07 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.9416, allocations: 7.938 kB / 1.308 GB, free: 14.06 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.9416, allocations: 0 / 1.308 GB, free: 14.06 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/0.9416, allocations: 11.94 kB / 1.308 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.9416, allocations: 8.125 kB / 1.308 GB, free: 14.04 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003548/0.9419, allocations: 302.5 kB / 1.309 GB, free: 13.72 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/0.9421, allocations: 124.8 kB / 1.309 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.356e-05/0.9421, allocations: 8 kB / 1.309 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002333/0.9424, allocations: 19.92 kB / 1.309 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.193e-05/0.9424, allocations: 11.98 kB / 1.309 GB, free: 13.54 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.9424, allocations: 4 kB / 1.309 GB, free: 13.54 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004245/0.9429, allocations: 323.1 kB / 1.309 GB, free: 13.22 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9429, allocations: 0 / 1.309 GB, free: 13.22 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004559/0.9433, allocations: 111.8 kB / 1.309 GB, free: 13.11 MB / 1.014 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.0009512/0.9443, allocations: 0.9263 MB / 1.31 GB, free: 12.15 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002954/0.9446, allocations: 134.5 kB / 1.31 GB, free: 12.02 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.9446, allocations: 0 / 1.31 GB, free: 12.02 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 9.872e-05/0.9447, allocations: 55.92 kB / 1.31 GB, free: 11.96 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009551/0.9456, allocations: 170.9 kB / 1.31 GB, free: 11.8 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00495/0.9506, allocations: 3.284 MB / 1.314 GB, free: 8.383 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004874/0.951, allocations: 0.8073 MB / 1.314 GB, free: 7.551 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002756/0.9513, allocations: 64.3 kB / 1.315 GB, free: 7.484 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002/0.9515, allocations: 127.4 kB / 1.315 GB, free: 7.359 MB / 1.014 GB Notification: Performance of SimCode: time 3.71e-07/0.9515, allocations: 0 / 1.315 GB, free: 7.359 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0416/0.9931, allocations: 11.15 MB / 1.326 GB, free: 12.5 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.866/9.859, allocations: 14.11 kB / 1.326 GB, free: 12.48 MB / 1.029 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; mkfifo Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe >> ../files/Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.fmu > Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.csv. Warning: Get data of variable y1 from file Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.csv failed! Error: Could not read variable y2 in file Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.csv. Warning: Get data of variable y2 from file Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.955563141964376]