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.001965/0.001965, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002233/0.002233, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.444/1.444, allocations: 230.6 MB / 256 MB, free: 7.973 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.068/3.068, allocations: 0.49 GB / 0.7951 GB, free: 33.39 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.00195/0.00195, allocations: 62.72 kB / 1.154 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3236, allocations: 176.1 MB / 1.326 GB, free: 1.93 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01671/0.3403, allocations: 15.72 MB / 1.341 GB, free: 2.152 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00611/0.3464, allocations: 4.674 MB / 1.346 GB, free: 13.46 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003714/0.3468, allocations: 19.81 kB / 1.346 GB, free: 13.45 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0005526/0.3473, allocations: 202.5 kB / 1.346 GB, free: 13.25 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001292/0.3486, allocations: 0.6064 MB / 1.347 GB, free: 12.64 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001373/0.35, allocations: 0.5856 MB / 1.347 GB, free: 12.06 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001159/0.3511, allocations: 0.9663 MB / 1.348 GB, free: 11.09 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003939/0.3515, allocations: 257.1 kB / 1.348 GB, free: 10.82 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007604/0.3523, allocations: 478.1 kB / 1.349 GB, free: 10.36 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004159/0.3527, allocations: 302.6 kB / 1.349 GB, free: 10.06 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.21e-05/0.3528, allocations: 24 kB / 1.349 GB, free: 10.04 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004319/0.3532, allocations: 227.6 kB / 1.349 GB, free: 9.812 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.3533, allocations: 87.55 kB / 1.349 GB, free: 9.727 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001908/0.3535, allocations: 202.8 kB / 1.35 GB, free: 9.527 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006381/0.3541, allocations: 0.5057 MB / 1.35 GB, free: 9.02 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.3541, allocations: 0 / 1.35 GB, free: 9.02 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3541, allocations: 0 / 1.35 GB, free: 9.02 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.064e-05/0.3541, allocations: 0 / 1.35 GB, free: 9.02 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.001075/0.3552, allocations: 0.6614 MB / 1.351 GB, free: 8.328 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.3552, allocations: 16.03 kB / 1.351 GB, free: 8.312 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.41e-05/0.3553, allocations: 50.73 kB / 1.351 GB, free: 8.254 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.461e-05/0.3554, allocations: 48.66 kB / 1.351 GB, free: 8.207 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006324/0.356, allocations: 351.1 kB / 1.351 GB, free: 7.836 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.356, allocations: 24.38 kB / 1.351 GB, free: 7.812 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.978e-05/0.3561, allocations: 24 kB / 1.351 GB, free: 7.789 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003135/0.3564, allocations: 191.3 kB / 1.351 GB, free: 7.594 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.3564, allocations: 0 / 1.351 GB, free: 7.594 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.224e-05/0.3564, allocations: 12 kB / 1.351 GB, free: 7.582 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.3564, allocations: 4 kB / 1.351 GB, free: 7.578 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002272/0.3567, allocations: 129.7 kB / 1.352 GB, free: 7.449 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001375/0.358, allocations: 0.8445 MB / 1.352 GB, free: 6.539 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004425/0.3585, allocations: 110.6 kB / 1.353 GB, free: 6.422 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.771e-05/0.3586, allocations: 48.84 kB / 1.353 GB, free: 6.371 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001311/0.3587, allocations: 27.97 kB / 1.353 GB, free: 6.344 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.3587, allocations: 38.56 kB / 1.353 GB, free: 6.297 MB / 1.045 GB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.3587, allocations: 0 / 1.353 GB, free: 6.297 MB / 1.045 GB Notification: Performance of matching and sorting (n=12): time 0.0003539/0.3591, allocations: 181.2 kB / 1.353 GB, free: 6.113 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.3591, allocations: 51.41 kB / 1.353 GB, free: 6.051 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005157/0.3596, allocations: 449.9 kB / 1.353 GB, free: 5.609 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/0.3597, allocations: 29.7 kB / 1.353 GB, free: 5.574 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.3598, allocations: 212.4 kB / 1.354 GB, free: 5.363 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.502e-05/0.3599, allocations: 43.62 kB / 1.354 GB, free: 5.32 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.421e-05/0.3599, allocations: 65.58 kB / 1.354 GB, free: 5.25 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.3601, allocations: 350.7 kB / 1.354 GB, free: 4.898 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.758e-05/0.3602, allocations: 51.97 kB / 1.354 GB, free: 4.848 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.3604, allocations: 102.9 kB / 1.354 GB, free: 4.73 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001993/0.3606, allocations: 127.3 kB / 1.354 GB, free: 4.594 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.3606, allocations: 11.94 kB / 1.354 GB, free: 4.582 MB / 1.045 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003485/0.3609, allocations: 217.3 kB / 1.354 GB, free: 4.363 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.3609, allocations: 8 kB / 1.354 GB, free: 4.355 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.309e-06/0.3609, allocations: 0 / 1.354 GB, free: 4.355 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.3609, allocations: 0 / 1.354 GB, free: 4.355 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/0.3612, allocations: 44.16 kB / 1.354 GB, free: 4.312 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.3612, allocations: 7.875 kB / 1.354 GB, free: 4.305 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002852/0.3614, allocations: 39.77 kB / 1.355 GB, free: 4.266 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.798e-05/0.3615, allocations: 11.98 kB / 1.355 GB, free: 4.254 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.0001503/0.3616, allocations: 153.8 kB / 1.355 GB, free: 4.094 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.689e-05/0.3617, allocations: 43.72 kB / 1.355 GB, free: 4.051 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003399/0.362, allocations: 194.9 kB / 1.355 GB, free: 3.855 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.362, allocations: 4 kB / 1.355 GB, free: 3.852 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.362, allocations: 0 / 1.355 GB, free: 3.852 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.362, allocations: 0 / 1.355 GB, free: 3.852 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008016/0.3628, allocations: 0.602 MB / 1.356 GB, free: 3.188 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.3629, allocations: 4 kB / 1.356 GB, free: 3.184 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.363, allocations: 23.92 kB / 1.356 GB, free: 3.16 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.363, allocations: 4 kB / 1.356 GB, free: 3.156 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.363, allocations: 8 kB / 1.356 GB, free: 3.148 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.363, allocations: 3.938 kB / 1.356 GB, free: 3.145 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.363, allocations: 0 / 1.356 GB, free: 3.145 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003842/0.3634, allocations: 302.7 kB / 1.356 GB, free: 2.82 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.3635, allocations: 55.66 kB / 1.356 GB, free: 2.766 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.886e-05/0.3635, allocations: 8.062 kB / 1.356 GB, free: 2.758 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/0.3637, allocations: 15.92 kB / 1.356 GB, free: 2.742 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.063e-05/0.3638, allocations: 19.92 kB / 1.356 GB, free: 2.723 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.3638, allocations: 4 kB / 1.356 GB, free: 2.719 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003896/0.3642, allocations: 315.1 kB / 1.356 GB, free: 2.414 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3642, allocations: 0 / 1.356 GB, free: 2.414 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004163/0.3646, allocations: 107.8 kB / 1.356 GB, free: 2.309 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.000839/0.3654, allocations: 0.9315 MB / 1.357 GB, free: 1.344 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002869/0.3657, allocations: 131.8 kB / 1.357 GB, free: 1.215 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/0.3657, allocations: 0 / 1.357 GB, free: 1.215 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 9.665e-05/0.3658, allocations: 59.91 kB / 1.357 GB, free: 1.156 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009044/0.3667, allocations: 180.6 kB / 1.358 GB, free: 0.9805 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004257/0.371, allocations: 3.262 MB / 1.361 GB, free: 13.59 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004035/0.3714, allocations: 0.8035 MB / 1.362 GB, free: 12.76 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002077/0.3716, allocations: 65.42 kB / 1.362 GB, free: 12.7 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001699/0.3718, allocations: 123.4 kB / 1.362 GB, free: 12.58 MB / 1.061 GB Notification: Performance of SimCode: time 4.91e-07/0.3718, allocations: 0 / 1.362 GB, free: 12.58 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3361/0.7078, allocations: 11.26 MB / 1.373 GB, free: 1.598 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/12.06, allocations: 10.56 kB / 1.373 GB, free: 1.59 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.77673537100054]