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.001922/0.001922, allocations: 111 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.002177/0.002177, 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.467/1.467, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.264/3.264, allocations: 0.505 GB / 0.8066 GB, free: 23.1 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.002262/0.002262, allocations: 64.42 kB / 1.172 GB, free: 17.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.3318, allocations: 180.2 MB / 1.348 GB, free: 9.992 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01969/0.3515, allocations: 15.58 MB / 1.363 GB, free: 10.35 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.007112/0.3586, allocations: 4.647 MB / 1.368 GB, free: 5.688 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005696/0.3592, allocations: 19.81 kB / 1.368 GB, free: 5.668 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006938/0.3599, allocations: 190.6 kB / 1.368 GB, free: 5.48 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001641/0.3615, allocations: 0.5907 MB / 1.368 GB, free: 4.887 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001598/0.3631, allocations: 0.5697 MB / 1.369 GB, free: 4.324 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001399/0.3645, allocations: 0.9431 MB / 1.37 GB, free: 3.375 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005292/0.3651, allocations: 275.8 kB / 1.37 GB, free: 3.094 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009756/0.366, allocations: 482 kB / 1.37 GB, free: 2.621 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005217/0.3666, allocations: 298.7 kB / 1.371 GB, free: 2.328 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.12e-05/0.3666, allocations: 20 kB / 1.371 GB, free: 2.309 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005503/0.3672, allocations: 223.6 kB / 1.371 GB, free: 2.09 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.3673, allocations: 87.56 kB / 1.371 GB, free: 2.004 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000249/0.3676, allocations: 198.9 kB / 1.371 GB, free: 1.809 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0008315/0.3684, allocations: 0.5057 MB / 1.372 GB, free: 1.301 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.3684, allocations: 0 / 1.372 GB, free: 1.301 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.294e-06/0.3684, allocations: 0 / 1.372 GB, free: 1.301 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.577e-05/0.3684, allocations: 4 kB / 1.372 GB, free: 1.297 MB / 1.061 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.001328/0.3697, allocations: 0.7315 MB / 1.372 GB, free: 0.5156 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.3698, allocations: 11.98 kB / 1.373 GB, free: 0.5039 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.359e-05/0.3698, allocations: 54.73 kB / 1.373 GB, free: 452 kB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/0.3699, allocations: 52.66 kB / 1.373 GB, free: 400 kB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007083/0.3707, allocations: 410.3 kB / 1.373 GB, free: 15.95 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/0.3707, allocations: 20.44 kB / 1.373 GB, free: 15.93 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.383e-05/0.3707, allocations: 31.94 kB / 1.373 GB, free: 15.9 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003527/0.3711, allocations: 191.3 kB / 1.373 GB, free: 15.71 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.3711, allocations: 3.984 kB / 1.373 GB, free: 15.71 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.3711, allocations: 4 kB / 1.373 GB, free: 15.7 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.3711, allocations: 8 kB / 1.373 GB, free: 15.7 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002412/0.3714, allocations: 125.7 kB / 1.373 GB, free: 15.57 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001577/0.3729, allocations: 0.8831 MB / 1.374 GB, free: 14.61 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004975/0.3734, allocations: 118.6 kB / 1.374 GB, free: 14.49 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.428e-05/0.3735, allocations: 40.84 kB / 1.374 GB, free: 14.45 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003131/0.3738, allocations: 340.4 kB / 1.375 GB, free: 14.04 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.3739, allocations: 30.56 kB / 1.375 GB, free: 14 MB / 1.076 GB Notification: Performance of pre-optimization done (n=12): time 1.293e-06/0.3739, allocations: 0 / 1.375 GB, free: 14 MB / 1.076 GB Notification: Performance of matching and sorting (n=12): time 0.0003966/0.3743, allocations: 181.2 kB / 1.375 GB, free: 13.82 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.3743, allocations: 59.41 kB / 1.375 GB, free: 13.75 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005597/0.3748, allocations: 445.9 kB / 1.375 GB, free: 13.31 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.043e-05/0.3749, allocations: 33.7 kB / 1.375 GB, free: 13.27 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/0.3751, allocations: 208.4 kB / 1.376 GB, free: 13.06 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.564e-05/0.3751, allocations: 39.64 kB / 1.376 GB, free: 13.02 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.099e-05/0.3752, allocations: 57.69 kB / 1.376 GB, free: 12.96 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.3753, allocations: 350.7 kB / 1.376 GB, free: 12.61 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.3754, allocations: 55.97 kB / 1.376 GB, free: 12.55 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001713/0.3756, allocations: 111.2 kB / 1.376 GB, free: 12.43 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002103/0.3758, allocations: 131.3 kB / 1.376 GB, free: 12.29 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3758, allocations: 0 / 1.376 GB, free: 12.29 MB / 1.076 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003947/0.3762, allocations: 229.1 kB / 1.377 GB, free: 12.06 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.3762, allocations: 8 kB / 1.377 GB, free: 12.05 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.3762, allocations: 0 / 1.377 GB, free: 12.05 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.3763, allocations: 4 kB / 1.377 GB, free: 12.05 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000214/0.3765, allocations: 43.97 kB / 1.377 GB, free: 12 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.3765, allocations: 3.938 kB / 1.377 GB, free: 12 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003196/0.3768, allocations: 35.77 kB / 1.377 GB, free: 11.96 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.721e-05/0.3768, allocations: 15.98 kB / 1.377 GB, free: 11.95 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.0001862/0.377, allocations: 149.8 kB / 1.377 GB, free: 11.79 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.409e-05/0.3771, allocations: 43.77 kB / 1.377 GB, free: 11.75 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004151/0.3775, allocations: 195.3 kB / 1.377 GB, free: 11.55 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/0.3775, allocations: 0 / 1.377 GB, free: 11.55 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.3776, allocations: 0 / 1.377 GB, free: 11.55 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.3776, allocations: 4 kB / 1.377 GB, free: 11.55 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009687/0.3785, allocations: 0.6224 MB / 1.378 GB, free: 10.86 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.3785, allocations: 0 / 1.378 GB, free: 10.86 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001245/0.3787, allocations: 27.92 kB / 1.378 GB, free: 10.83 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.116e-05/0.3787, allocations: 4 kB / 1.378 GB, free: 10.82 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.28e-05/0.3787, allocations: 4 kB / 1.378 GB, free: 10.82 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.716e-06/0.3787, allocations: 7.938 kB / 1.378 GB, free: 10.81 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.3787, allocations: 0 / 1.378 GB, free: 10.81 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004342/0.3791, allocations: 301 kB / 1.378 GB, free: 10.49 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001813/0.3793, allocations: 136.7 kB / 1.378 GB, free: 10.34 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.507e-05/0.3794, allocations: 4 kB / 1.378 GB, free: 10.34 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002496/0.3796, allocations: 15.98 kB / 1.378 GB, free: 10.32 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.565e-05/0.3797, allocations: 19.98 kB / 1.378 GB, free: 10.3 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.3797, allocations: 4 kB / 1.378 GB, free: 10.3 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004901/0.3802, allocations: 315.1 kB / 1.378 GB, free: 9.988 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.3802, allocations: 0 / 1.378 GB, free: 9.988 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006089/0.3808, allocations: 107.9 kB / 1.379 GB, free: 9.883 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.00152/0.3823, allocations: 0.9287 MB / 1.379 GB, free: 8.918 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004516/0.3828, allocations: 128 kB / 1.38 GB, free: 8.793 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.111e-05/0.3828, allocations: 8 kB / 1.38 GB, free: 8.785 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001343/0.3829, allocations: 55.91 kB / 1.38 GB, free: 8.73 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/0.3841, allocations: 173.6 kB / 1.38 GB, free: 8.566 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00634/0.3905, allocations: 3.254 MB / 1.383 GB, free: 5.188 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005282/0.391, allocations: 0.8035 MB / 1.384 GB, free: 4.355 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0004461/0.3914, allocations: 63.81 kB / 1.384 GB, free: 4.297 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002671/0.3917, allocations: 127.4 kB / 1.384 GB, free: 4.172 MB / 1.076 GB Notification: Performance of SimCode: time 1.673e-06/0.3917, allocations: 0 / 1.384 GB, free: 4.172 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04041/0.4321, allocations: 11.08 MB / 1.395 GB, free: 9.363 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.581/9.013, allocations: 5.75 kB / 1.395 GB, free: 9.359 MB / 1.092 GB " [Timeout remaining time 291] (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: 15.85241181589663]