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.0008481/0.0008481, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.000849/0.000849, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8683/0.8683, allocations: 177.2 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.739/1.739, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.322e-05/1.44e-05, allocations: 5.094 kB / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.009985/0.01, allocations: 14.22 MB / 1.014 GB, free: 15.19 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.003423/0.01342, allocations: 4.255 MB / 1.018 GB, free: 10.93 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002015/0.01362, allocations: 19.81 kB / 1.018 GB, free: 10.91 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0004086/0.01403, allocations: 194.5 kB / 1.018 GB, free: 10.71 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0007439/0.01478, allocations: 0.5903 MB / 1.018 GB, free: 10.12 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007929/0.01557, allocations: 0.6021 MB / 1.019 GB, free: 9.523 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0007085/0.01628, allocations: 0.9307 MB / 1.02 GB, free: 8.59 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002554/0.01653, allocations: 244.3 kB / 1.02 GB, free: 8.344 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004776/0.01701, allocations: 0.5607 MB / 1.021 GB, free: 7.781 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002223/0.01723, allocations: 263.1 kB / 1.021 GB, free: 7.523 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 3.326e-05/0.01727, allocations: 24 kB / 1.021 GB, free: 7.5 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002239/0.01749, allocations: 179.6 kB / 1.021 GB, free: 7.324 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 7.534e-05/0.01757, allocations: 91.53 kB / 1.021 GB, free: 7.234 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 9.105e-05/0.01766, allocations: 131.6 kB / 1.021 GB, free: 7.105 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0004798/0.01814, allocations: 0.5022 MB / 1.022 GB, free: 6.602 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.01814, allocations: 0 / 1.022 GB, free: 6.602 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.684e-06/0.01814, allocations: 0 / 1.022 GB, free: 6.602 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.01815, allocations: 0 / 1.022 GB, free: 6.602 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.0006987/0.01885, allocations: 0.639 MB / 1.023 GB, free: 5.934 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.01888, allocations: 12.75 kB / 1.023 GB, free: 5.922 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.3e-05/0.01892, allocations: 54.73 kB / 1.023 GB, free: 5.859 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.127e-05/0.01899, allocations: 56.61 kB / 1.023 GB, free: 5.805 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003974/0.01938, allocations: 326.5 kB / 1.023 GB, free: 5.457 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.0194, allocations: 20.88 kB / 1.023 GB, free: 5.438 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.01943, allocations: 24.38 kB / 1.023 GB, free: 5.414 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002251/0.01965, allocations: 196 kB / 1.023 GB, free: 5.219 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.01966, allocations: 0 / 1.023 GB, free: 5.219 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.01967, allocations: 12 kB / 1.023 GB, free: 5.207 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.01968, allocations: 4 kB / 1.023 GB, free: 5.203 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001551/0.01983, allocations: 129.9 kB / 1.023 GB, free: 5.074 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008423/0.02068, allocations: 0.6861 MB / 1.024 GB, free: 4.348 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002715/0.02095, allocations: 114.5 kB / 1.024 GB, free: 4.227 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.276e-05/0.021, allocations: 56.7 kB / 1.024 GB, free: 4.168 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 9.052e-05/0.02109, allocations: 27.98 kB / 1.024 GB, free: 4.141 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.653e-05/0.02111, allocations: 34.56 kB / 1.024 GB, free: 4.098 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=12): time 1.192e-06/0.02111, allocations: 0 / 1.024 GB, free: 4.098 MB / 0.9792 GB Notification: Performance of matching and sorting (n=12): time 0.0002563/0.02137, allocations: 169.4 kB / 1.024 GB, free: 3.926 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/0.0214, allocations: 55.41 kB / 1.024 GB, free: 3.859 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003261/0.02172, allocations: 445.7 kB / 1.025 GB, free: 3.418 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.02174, allocations: 33.7 kB / 1.025 GB, free: 3.379 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.02184, allocations: 208.4 kB / 1.025 GB, free: 3.172 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.02186, allocations: 43.64 kB / 1.025 GB, free: 3.129 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-05/0.02192, allocations: 53.7 kB / 1.025 GB, free: 3.07 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9e-05/0.02201, allocations: 346.8 kB / 1.026 GB, free: 2.723 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.757e-05/0.02208, allocations: 51.97 kB / 1.026 GB, free: 2.672 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.02222, allocations: 259.8 kB / 1.026 GB, free: 2.363 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.02235, allocations: 135.3 kB / 1.026 GB, free: 2.219 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.02236, allocations: 0 / 1.026 GB, free: 2.219 MB / 0.9792 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002255/0.02258, allocations: 229.1 kB / 1.026 GB, free: 1.988 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.0226, allocations: 8 kB / 1.026 GB, free: 1.98 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.0226, allocations: 0 / 1.026 GB, free: 1.98 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.02261, allocations: 4 kB / 1.026 GB, free: 1.977 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.02272, allocations: 43.92 kB / 1.026 GB, free: 1.934 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.02273, allocations: 4 kB / 1.026 GB, free: 1.93 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001328/0.02286, allocations: 35.77 kB / 1.026 GB, free: 1.895 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.244e-05/0.02288, allocations: 11.98 kB / 1.026 GB, free: 1.883 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 9.726e-05/0.02298, allocations: 149.8 kB / 1.026 GB, free: 1.727 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.713e-05/0.02301, allocations: 43.7 kB / 1.026 GB, free: 1.684 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002161/0.02323, allocations: 203.8 kB / 1.027 GB, free: 1.484 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.02324, allocations: 4 kB / 1.027 GB, free: 1.48 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.02324, allocations: 0 / 1.027 GB, free: 1.48 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.02324, allocations: 3.938 kB / 1.027 GB, free: 1.477 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004654/0.02371, allocations: 0.567 MB / 1.027 GB, free: 0.8477 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.02371, allocations: 4 kB / 1.027 GB, free: 0.8438 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.321e-05/0.02377, allocations: 19.98 kB / 1.027 GB, free: 0.8242 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.02377, allocations: 4.062 kB / 1.027 GB, free: 0.8203 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.02378, allocations: 8 kB / 1.027 GB, free: 0.8125 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.02378, allocations: 4.125 kB / 1.027 GB, free: 0.8086 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.02378, allocations: 3.938 kB / 1.027 GB, free: 0.8047 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000182/0.02397, allocations: 305.2 kB / 1.028 GB, free: 492 kB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 6.152e-05/0.02403, allocations: 51.73 kB / 1.028 GB, free: 440 kB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.451e-05/0.02405, allocations: 0 / 1.028 GB, free: 440 kB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.02416, allocations: 11.98 kB / 1.028 GB, free: 428 kB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.999e-05/0.02418, allocations: 19.86 kB / 1.028 GB, free: 408 kB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.02418, allocations: 4 kB / 1.028 GB, free: 404 kB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0002125/0.0244, allocations: 307.1 kB / 1.028 GB, free: 100 kB / 0.9792 GB Notification: Performance of sort global known variables: time 7e-08/0.0244, allocations: 4 kB / 1.028 GB, free: 96 kB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002704/0.02467, allocations: 107.9 kB / 1.028 GB, free: 15.98 MB / 0.9948 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.0005765/0.02524, allocations: 0.9341 MB / 1.029 GB, free: 15.01 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.000185/0.02543, allocations: 124.2 kB / 1.029 GB, free: 14.89 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.02543, allocations: 4 kB / 1.029 GB, free: 14.89 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 6.065e-05/0.02549, allocations: 64.16 kB / 1.029 GB, free: 14.82 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000512/0.026, allocations: 170 kB / 1.029 GB, free: 14.66 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002563/0.02856, allocations: 3.199 MB / 1.032 GB, free: 11.34 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.02868, allocations: 207.1 kB / 1.033 GB, free: 11.11 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001245/0.0288, allocations: 62.81 kB / 1.033 GB, free: 11.05 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.02891, allocations: 124.4 kB / 1.033 GB, free: 10.93 MB / 0.9948 GB Notification: Performance of SimCode: time 5.81e-07/0.02891, allocations: 0 / 1.033 GB, free: 10.93 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4192/0.4481, allocations: 12.28 MB / 1.045 GB, free: 82.91 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.468/7.916, allocations: 5.891 kB / 1.045 GB, free: 82.91 MB / 0.9948 GB " [Timeout remaining time 292] (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/jenkins/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: 11.990817904472351]