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.0009512/0.0009512, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.0009384/0.0009384, allocations: 169 kB / 23.82 MB, free: 0.7422 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.9096/0.9096, allocations: 177.1 MB / 204.2 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.759/1.759, allocations: 359 MB / 0.6052 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: translateModel(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y1|y2",fileNamePrefix="Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing") translateModel(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y1|y2",fileNamePrefix="Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.417e-05/2.568e-05, allocations: 4.984 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.006397/0.006423, allocations: 7.324 MB / 0.7942 GB, free: 5.129 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002668/0.00909, allocations: 2.605 MB / 0.7968 GB, free: 2.539 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002109/0.009301, allocations: 19.81 kB / 0.7968 GB, free: 2.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0003804/0.009681, allocations: 126.9 kB / 0.7969 GB, free: 2.395 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0006765/0.01036, allocations: 405.4 kB / 0.7973 GB, free: 2 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009728/0.01133, allocations: 0.592 MB / 0.7979 GB, free: 1.41 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0008134/0.01214, allocations: 0.96 MB / 0.7988 GB, free: 456 kB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003335/0.01248, allocations: 273.4 kB / 0.7991 GB, free: 180 kB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004867/0.01296, allocations: 479.5 kB / 0.7995 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002765/0.01324, allocations: 275.8 kB / 0.7998 GB, free: 15.44 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 3.989e-05/0.01328, allocations: 26.72 kB / 0.7998 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000226/0.01351, allocations: 115.8 kB / 0.7999 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.01362, allocations: 91.55 kB / 0.8 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0001268/0.01374, allocations: 135.5 kB / 0.8002 GB, free: 15.08 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0004101/0.01415, allocations: 362.6 kB / 0.8005 GB, free: 14.72 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.01416, allocations: 0 / 0.8005 GB, free: 14.72 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.041e-06/0.01416, allocations: 0 / 0.8005 GB, free: 14.72 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.01416, allocations: 4 kB / 0.8005 GB, free: 14.72 MB / 0.7605 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.0008153/0.01498, allocations: 0.7548 MB / 0.8013 GB, free: 13.93 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.01501, allocations: 12.03 kB / 0.8013 GB, free: 13.92 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.678e-05/0.0151, allocations: 69.55 kB / 0.8013 GB, free: 13.85 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004778/0.01558, allocations: 353.3 kB / 0.8017 GB, free: 13.48 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.0156, allocations: 25.41 kB / 0.8017 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.113e-05/0.01563, allocations: 24.38 kB / 0.8017 GB, free: 13.44 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.01584, allocations: 144.7 kB / 0.8019 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.01586, allocations: 1.312 kB / 0.8019 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.01588, allocations: 8 kB / 0.8019 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.01589, allocations: 4 kB / 0.8019 GB, free: 13.28 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.016, allocations: 62.95 kB / 0.8019 GB, free: 13.22 MB / 0.7605 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.0009538/0.01695, allocations: 0.6926 MB / 0.8026 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002771/0.01723, allocations: 91.08 kB / 0.8027 GB, free: 12.39 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.355e-05/0.01727, allocations: 35.67 kB / 0.8027 GB, free: 12.36 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 9.805e-05/0.01737, allocations: 11.98 kB / 0.8027 GB, free: 12.34 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.01739, allocations: 45.33 kB / 0.8028 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.0174, allocations: 4 kB / 0.8028 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of matching and sorting (n=12): time 0.0002233/0.01762, allocations: 125.3 kB / 0.8029 GB, free: 12.16 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.01764, allocations: 55.41 kB / 0.803 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002806/0.01793, allocations: 418.7 kB / 0.8034 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.01794, allocations: 29.7 kB / 0.8034 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.01807, allocations: 275.3 kB / 0.8036 GB, free: 11.35 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/0.01809, allocations: 43.58 kB / 0.8037 GB, free: 11.31 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.171e-05/0.01815, allocations: 59.31 kB / 0.8037 GB, free: 11.24 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0003042/0.01846, allocations: 0.5235 MB / 0.8043 GB, free: 10.71 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.194e-05/0.01851, allocations: 23.98 kB / 0.8043 GB, free: 10.68 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.01865, allocations: 252.3 kB / 0.8045 GB, free: 10.38 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.01877, allocations: 90.67 kB / 0.8046 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.01877, allocations: 0 / 0.8046 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000221/0.01899, allocations: 169.3 kB / 0.8048 GB, free: 10.1 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.01901, allocations: 11.94 kB / 0.8048 GB, free: 10.09 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.01901, allocations: 3.938 kB / 0.8048 GB, free: 10.08 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.01903, allocations: 7.922 kB / 0.8048 GB, free: 10.07 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.01915, allocations: 40.05 kB / 0.8048 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.01916, allocations: 8 kB / 0.8048 GB, free: 10.03 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.01928, allocations: 23.84 kB / 0.8049 GB, free: 10 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.097e-05/0.0193, allocations: 15.98 kB / 0.8049 GB, free: 9.988 MB / 0.7605 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 8.524e-05/0.01938, allocations: 168.5 kB / 0.805 GB, free: 9.812 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.171e-05/0.01943, allocations: 43.7 kB / 0.8051 GB, free: 9.77 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002031/0.01963, allocations: 144.8 kB / 0.8052 GB, free: 9.621 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.01963, allocations: 4 kB / 0.8052 GB, free: 9.617 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.01964, allocations: 0 / 0.8052 GB, free: 9.617 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.01964, allocations: 96 / 0.8052 GB, free: 9.617 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004385/0.02008, allocations: 0.5545 MB / 0.8058 GB, free: 9.004 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.02008, allocations: 0 / 0.8058 GB, free: 9.004 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.273e-05/0.02015, allocations: 27.98 kB / 0.8058 GB, free: 8.977 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.02015, allocations: 4 kB / 0.8058 GB, free: 8.973 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.02016, allocations: 0 / 0.8058 GB, free: 8.973 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.02016, allocations: 7.938 kB / 0.8058 GB, free: 8.965 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.02016, allocations: 0 / 0.8058 GB, free: 8.965 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001955/0.02036, allocations: 318.3 kB / 0.8061 GB, free: 8.617 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.959e-05/0.02042, allocations: 55.67 kB / 0.8062 GB, free: 8.562 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.523e-05/0.02044, allocations: 8.125 kB / 0.8062 GB, free: 8.555 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.075e-05/0.02053, allocations: 11.98 kB / 0.8062 GB, free: 8.543 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.269e-05/0.02056, allocations: 11.92 kB / 0.8062 GB, free: 8.531 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.824e-06/0.02056, allocations: 4 kB / 0.8062 GB, free: 8.527 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001738/0.02074, allocations: 283.1 kB / 0.8065 GB, free: 8.254 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.02074, allocations: 0 / 0.8065 GB, free: 8.254 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002563/0.02099, allocations: 103.7 kB / 0.8066 GB, free: 8.152 MB / 0.7605 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.0002007/0.02119, allocations: 154.2 kB / 0.8067 GB, free: 7.996 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001714/0.02137, allocations: 107.9 kB / 0.8068 GB, free: 7.887 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.02137, allocations: 0 / 0.8068 GB, free: 7.887 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 5.058e-05/0.02142, allocations: 43.61 kB / 0.8068 GB, free: 7.84 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004636/0.02188, allocations: 160.4 kB / 0.807 GB, free: 7.684 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002385/0.02427, allocations: 0.647 MB / 0.8076 GB, free: 6.992 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.833e-05/0.02435, allocations: 104.6 kB / 0.8077 GB, free: 6.871 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001956/0.02455, allocations: 54.75 kB / 0.8078 GB, free: 6.816 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.024e-05/0.02463, allocations: 32.48 kB / 0.8078 GB, free: 6.785 MB / 0.7605 GB Notification: Performance of SimCode: time 8.91e-07/0.02463, allocations: 0 / 0.8078 GB, free: 6.785 MB / 0.7605 GB Notification: Performance of Templates: time 0.0119/0.03653, allocations: 5.984 MB / 0.8137 GB, free: 0.9961 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.032581866253167]