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.000931/0.000931, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.0009186/0.0009186, allocations: 170.3 kB / 24.86 MB, free: 8.84 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.9283/0.9283, allocations: 177.2 MB / 205.3 MB, free: 5.508 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.746/1.746, allocations: 359 MB / 0.6063 GB, free: 10.89 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.182e-06/1.182e-06, allocations: 0 / 0.7883 GB, free: 11.12 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.593e-05/1.711e-05, allocations: 6.25 kB / 0.7883 GB, free: 11.11 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.006628/0.006645, allocations: 7.221 MB / 0.7954 GB, free: 3.887 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002435/0.00908, allocations: 2.582 MB / 0.7979 GB, free: 1.312 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001938/0.009274, allocations: 19.81 kB / 0.7979 GB, free: 1.293 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.000327/0.009601, allocations: 123 kB / 0.798 GB, free: 1.172 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0005414/0.01014, allocations: 415 kB / 0.7984 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007331/0.01088, allocations: 0.5869 MB / 0.799 GB, free: 188 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0007163/0.01159, allocations: 0.9597 MB / 0.7999 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002813/0.01187, allocations: 265.6 kB / 0.8002 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004566/0.01233, allocations: 0.4999 MB / 0.8007 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002494/0.01258, allocations: 263.8 kB / 0.8009 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.561e-05/0.01261, allocations: 27.94 kB / 0.801 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/0.01277, allocations: 112.7 kB / 0.8011 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.234e-05/0.01284, allocations: 79.61 kB / 0.8011 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.01294, allocations: 143.5 kB / 0.8013 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000333/0.01328, allocations: 355.6 kB / 0.8016 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.714e-06/0.01328, allocations: 0 / 0.8016 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.52e-07/0.01328, allocations: 1.031 kB / 0.8016 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.01328, allocations: 0 / 0.8016 GB, free: 13.49 MB / 0.7136 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.0009219/0.0142, allocations: 0.7618 MB / 0.8024 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.886e-05/0.01423, allocations: 8.031 kB / 0.8024 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.148e-05/0.0143, allocations: 65.73 kB / 0.8024 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003315/0.01464, allocations: 349 kB / 0.8028 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.01465, allocations: 21.95 kB / 0.8028 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/0.01468, allocations: 24.38 kB / 0.8028 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.01482, allocations: 128.2 kB / 0.8029 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.01483, allocations: 4 kB / 0.8029 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.01484, allocations: 8 kB / 0.8029 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.01485, allocations: 4 kB / 0.8029 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.923e-05/0.01492, allocations: 59.38 kB / 0.803 GB, free: 12.01 MB / 0.7136 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.0007116/0.01563, allocations: 0.62 MB / 0.8036 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002168/0.01584, allocations: 91.09 kB / 0.8037 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.862e-05/0.01587, allocations: 23.69 kB / 0.8037 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.14e-05/0.01593, allocations: 15.98 kB / 0.8037 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.01596, allocations: 45.39 kB / 0.8038 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=12): time 1.332e-06/0.01596, allocations: 0 / 0.8038 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12): time 0.000178/0.01613, allocations: 129.2 kB / 0.8039 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.272e-05/0.01616, allocations: 51.41 kB / 0.8039 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002275/0.01638, allocations: 410.4 kB / 0.8043 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.0164, allocations: 29.7 kB / 0.8044 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.01652, allocations: 267.2 kB / 0.8046 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/0.01654, allocations: 51.62 kB / 0.8047 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.584e-05/0.0166, allocations: 55.34 kB / 0.8047 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.01672, allocations: 0.5156 MB / 0.8052 GB, free: 9.609 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.155e-05/0.01675, allocations: 19.98 kB / 0.8052 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.01686, allocations: 254.7 kB / 0.8055 GB, free: 9.281 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.775e-05/0.01695, allocations: 90.66 kB / 0.8056 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.01695, allocations: 0 / 0.8056 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001733/0.01712, allocations: 161.3 kB / 0.8057 GB, free: 9.012 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.01713, allocations: 9.406 kB / 0.8057 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.01714, allocations: 3.938 kB / 0.8057 GB, free: 9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.025e-06/0.01715, allocations: 0 / 0.8057 GB, free: 9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.01726, allocations: 43.92 kB / 0.8058 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.01726, allocations: 7.938 kB / 0.8058 GB, free: 8.949 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.01738, allocations: 35.81 kB / 0.8058 GB, free: 8.914 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.0174, allocations: 8 kB / 0.8058 GB, free: 8.906 MB / 0.7136 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.339e-05/0.01748, allocations: 168.5 kB / 0.806 GB, free: 8.73 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.924e-05/0.01752, allocations: 39.83 kB / 0.806 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001653/0.01769, allocations: 146.5 kB / 0.8062 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.01769, allocations: 0 / 0.8062 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.01769, allocations: 0 / 0.8062 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.0177, allocations: 4 kB / 0.8062 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003759/0.01807, allocations: 496.5 kB / 0.8066 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.01808, allocations: 3.938 kB / 0.8067 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.562e-05/0.01813, allocations: 27.92 kB / 0.8067 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.01813, allocations: 0 / 0.8067 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.01814, allocations: 8 kB / 0.8067 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.01815, allocations: 7.984 kB / 0.8067 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01815, allocations: 0 / 0.8067 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000179/0.01833, allocations: 306.2 kB / 0.807 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.294e-05/0.01839, allocations: 63.73 kB / 0.807 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.01841, allocations: 0 / 0.807 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.079e-05/0.0185, allocations: 8 kB / 0.8071 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.862e-05/0.01852, allocations: 16 kB / 0.8071 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-06/0.01853, allocations: 8 kB / 0.8071 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001332/0.01866, allocations: 263 kB / 0.8073 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8e-08/0.01867, allocations: 0 / 0.8073 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002487/0.01891, allocations: 99.78 kB / 0.8074 GB, free: 7.188 MB / 0.7136 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.0001605/0.01907, allocations: 155.1 kB / 0.8076 GB, free: 7.027 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001649/0.01924, allocations: 91.53 kB / 0.8077 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01924, allocations: 0 / 0.8077 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.25e-05/0.01929, allocations: 46.27 kB / 0.8077 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004485/0.01974, allocations: 146.6 kB / 0.8078 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009507/0.02069, allocations: 0.6508 MB / 0.8085 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.655e-05/0.02075, allocations: 104.6 kB / 0.8086 GB, free: 5.918 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.000109/0.02086, allocations: 50.62 kB / 0.8086 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002102/0.02107, allocations: 190.1 kB / 0.8088 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of SimCode: time 4.91e-07/0.02107, allocations: 0 / 0.8088 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of Templates: time 0.008392/0.02946, allocations: 6.512 MB / 0.8152 GB, free: 15.38 MB / 0.7292 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: 4.8286299258470535]