Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.001324/0.001324, allocations: 80.55 kB / 19.96 MB, free: 4.598 MB / 18.57 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.001182/0.001182, allocations: 177.2 kB / 23.24 MB, free: 1.32 MB / 18.57 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 0.8894/0.8894, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.778/1.778, allocations: 389.6 MB / 0.6343 GB, free: 12.6 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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_13_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,fileNamePrefix="Buildings_13_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 1.001 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.079e-05/2.231e-05, allocations: 6.219 kB / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01017/0.01019, allocations: 14.22 MB / 1.015 GB, free: 15.25 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.003995/0.01419, allocations: 4.267 MB / 1.019 GB, free: 10.97 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004048/0.01459, allocations: 23.75 kB / 1.019 GB, free: 10.95 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0005379/0.01513, allocations: 190.6 kB / 1.019 GB, free: 10.76 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001078/0.01621, allocations: 0.6014 MB / 1.02 GB, free: 10.16 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.01725, allocations: 0.5956 MB / 1.02 GB, free: 9.566 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0009134/0.01816, allocations: 0.9307 MB / 1.021 GB, free: 8.633 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003009/0.01847, allocations: 240.3 kB / 1.021 GB, free: 8.391 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005942/0.01906, allocations: 0.5646 MB / 1.022 GB, free: 7.824 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002593/0.01932, allocations: 255.1 kB / 1.022 GB, free: 7.574 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 3.543e-05/0.01935, allocations: 24 kB / 1.022 GB, free: 7.551 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000332/0.01969, allocations: 183.6 kB / 1.022 GB, free: 7.371 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 8.043e-05/0.01977, allocations: 83.55 kB / 1.022 GB, free: 7.289 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.01987, allocations: 139.6 kB / 1.022 GB, free: 7.152 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0004835/0.02035, allocations: 0.4906 MB / 1.023 GB, free: 6.66 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.02036, allocations: 0 / 1.023 GB, free: 6.66 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.372e-06/0.02036, allocations: 0 / 1.023 GB, free: 6.66 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.02036, allocations: 0 / 1.023 GB, free: 6.66 MB / 0.9792 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.000766/0.02113, allocations: 0.6485 MB / 1.024 GB, free: 5.98 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.02117, allocations: 17.22 kB / 1.024 GB, free: 5.965 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.717e-05/0.02121, allocations: 58.73 kB / 1.024 GB, free: 5.898 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.042e-05/0.02128, allocations: 52.61 kB / 1.024 GB, free: 5.848 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004423/0.02173, allocations: 322.5 kB / 1.024 GB, free: 5.508 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.02174, allocations: 16.88 kB / 1.024 GB, free: 5.492 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.534e-05/0.02177, allocations: 24.38 kB / 1.024 GB, free: 5.469 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002341/0.022, allocations: 200 kB / 1.024 GB, free: 5.27 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.02201, allocations: 0 / 1.024 GB, free: 5.27 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.02203, allocations: 8 kB / 1.024 GB, free: 5.262 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-06/0.02204, allocations: 8 kB / 1.024 GB, free: 5.254 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001547/0.02219, allocations: 133.9 kB / 1.024 GB, free: 5.121 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008915/0.02308, allocations: 0.6861 MB / 1.025 GB, free: 4.395 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003061/0.02339, allocations: 106.6 kB / 1.025 GB, free: 4.281 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.79e-05/0.02345, allocations: 44.78 kB / 1.025 GB, free: 4.234 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001022/0.02355, allocations: 31.97 kB / 1.025 GB, free: 4.203 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.02357, allocations: 34.56 kB / 1.025 GB, free: 4.16 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=12): time 1.613e-06/0.02357, allocations: 7.938 kB / 1.025 GB, free: 4.152 MB / 0.9792 GB Notification: Performance of matching and sorting (n=12): time 0.0002579/0.02383, allocations: 173.3 kB / 1.025 GB, free: 3.977 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.02386, allocations: 51.41 kB / 1.025 GB, free: 3.914 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003222/0.02418, allocations: 441.8 kB / 1.026 GB, free: 3.477 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.0242, allocations: 33.7 kB / 1.026 GB, free: 3.438 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.0243, allocations: 208.4 kB / 1.026 GB, free: 3.23 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/0.02432, allocations: 35.66 kB / 1.026 GB, free: 3.195 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.71e-05/0.02438, allocations: 57.69 kB / 1.026 GB, free: 3.133 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.124e-05/0.02447, allocations: 346.8 kB / 1.027 GB, free: 2.785 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.856e-05/0.02454, allocations: 51.97 kB / 1.027 GB, free: 2.734 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/0.02468, allocations: 267.2 kB / 1.027 GB, free: 2.418 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.02482, allocations: 143.1 kB / 1.027 GB, free: 2.266 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.02482, allocations: 0 / 1.027 GB, free: 2.266 MB / 0.9792 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002268/0.02505, allocations: 221.2 kB / 1.027 GB, free: 2.043 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.02506, allocations: 8 kB / 1.027 GB, free: 2.035 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.02507, allocations: 0 / 1.027 GB, free: 2.035 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.02508, allocations: 3.984 kB / 1.027 GB, free: 2.031 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.0252, allocations: 47.92 kB / 1.027 GB, free: 1.984 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.02521, allocations: 0 / 1.027 GB, free: 1.984 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.02535, allocations: 31.77 kB / 1.027 GB, free: 1.953 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.488e-05/0.02537, allocations: 20.05 kB / 1.027 GB, free: 1.934 MB / 0.9792 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.0001554/0.02553, allocations: 148.5 kB / 1.027 GB, free: 1.781 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.147e-05/0.02557, allocations: 47.69 kB / 1.027 GB, free: 1.734 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002497/0.02582, allocations: 198.6 kB / 1.028 GB, free: 1.535 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.02582, allocations: 0 / 1.028 GB, free: 1.535 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.02583, allocations: 0 / 1.028 GB, free: 1.535 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.02583, allocations: 0 / 1.028 GB, free: 1.535 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005157/0.02635, allocations: 0.5714 MB / 1.028 GB, free: 0.9023 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.02635, allocations: 0 / 1.028 GB, free: 0.9023 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.398e-05/0.02642, allocations: 27.92 kB / 1.028 GB, free: 0.875 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.02642, allocations: 4 kB / 1.028 GB, free: 0.8711 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.02643, allocations: 0 / 1.028 GB, free: 0.8711 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.02643, allocations: 4 kB / 1.028 GB, free: 0.8672 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.02643, allocations: 3.938 kB / 1.028 GB, free: 0.8633 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002043/0.02664, allocations: 311.7 kB / 1.029 GB, free: 0.5312 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 6.444e-05/0.0267, allocations: 48.02 kB / 1.029 GB, free: 496 kB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.827e-05/0.02673, allocations: 8.125 kB / 1.029 GB, free: 488 kB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.02684, allocations: 8 kB / 1.029 GB, free: 480 kB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.631e-05/0.02687, allocations: 23.84 kB / 1.029 GB, free: 456 kB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/0.02688, allocations: 4 kB / 1.029 GB, free: 452 kB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0002242/0.0271, allocations: 307.1 kB / 1.029 GB, free: 144 kB / 0.9792 GB Notification: Performance of sort global known variables: time 7e-08/0.0271, allocations: 0 / 1.029 GB, free: 144 kB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0003118/0.02741, allocations: 103.8 kB / 1.029 GB, free: 40 kB / 0.9792 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.0005838/0.028, allocations: 0.9401 MB / 1.03 GB, free: 15.06 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002001/0.0282, allocations: 123.8 kB / 1.03 GB, free: 14.94 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.0282, allocations: 4 kB / 1.03 GB, free: 14.94 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 5.824e-05/0.02826, allocations: 55.91 kB / 1.03 GB, free: 14.88 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005472/0.0288, allocations: 172.1 kB / 1.03 GB, free: 14.71 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002849/0.03165, allocations: 3.199 MB / 1.033 GB, free: 11.39 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001303/0.03178, allocations: 207 kB / 1.034 GB, free: 11.17 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.000195/0.03198, allocations: 66.69 kB / 1.034 GB, free: 11.11 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.0321, allocations: 120.5 kB / 1.034 GB, free: 10.99 MB / 0.9948 GB Notification: Performance of SimCode: time 1.082e-06/0.0321, allocations: 0 / 1.034 GB, free: 10.99 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4734/0.5055, allocations: 12.29 MB / 1.046 GB, free: 82.81 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.161/7.667, allocations: 6.172 kB / 1.046 GB, free: 82.81 MB / 0.9948 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; mkfifo Buildings_13_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; head -c 1048576 < Buildings_13_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe >> ../files/Buildings_13_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.fmu) > Buildings_13_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_fmpy.pipe ; mkfifo Buildings_13_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.fmu) > Buildings_13_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.003980468958616]