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.001122/0.001122, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.0012/0.0012, allocations: 169 kB / 24.28 MB, free: 280 kB / 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.9835/0.9835, allocations: 177.1 MB / 204.6 MB, free: 5.652 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.738/1.738, allocations: 359 MB / 0.6055 GB, free: 10.98 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.844e-06/1.844e-06, allocations: 0 / 0.7871 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.167e-05/2.352e-05, allocations: 4.984 kB / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01223/0.01225, allocations: 15.98 MB / 0.8027 GB, free: 12.81 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.004151/0.0164, allocations: 4.769 MB / 0.8074 GB, free: 8.039 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002496/0.01665, allocations: 19.81 kB / 0.8074 GB, free: 8.02 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0004605/0.01711, allocations: 198.5 kB / 0.8076 GB, free: 7.824 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0008345/0.01795, allocations: 0.6098 MB / 0.8082 GB, free: 7.211 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008334/0.01878, allocations: 0.6075 MB / 0.8088 GB, free: 6.602 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0007788/0.01956, allocations: 0.9737 MB / 0.8097 GB, free: 5.621 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003014/0.01986, allocations: 272.5 kB / 0.81 GB, free: 5.352 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005237/0.02038, allocations: 0.5334 MB / 0.8105 GB, free: 4.816 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002653/0.02065, allocations: 275.1 kB / 0.8108 GB, free: 4.547 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 3.833e-05/0.02069, allocations: 24 kB / 0.8108 GB, free: 4.523 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000245/0.02093, allocations: 191.5 kB / 0.811 GB, free: 4.336 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 8.012e-05/0.02101, allocations: 87.55 kB / 0.8111 GB, free: 4.25 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.02113, allocations: 139.6 kB / 0.8112 GB, free: 4.113 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0004343/0.02156, allocations: 402.5 kB / 0.8116 GB, free: 3.719 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.02157, allocations: 0 / 0.8116 GB, free: 3.719 MB / 0.7605 GB Notification: Performance of FrontEnd: time 9.51e-07/0.02157, allocations: 0 / 0.8116 GB, free: 3.719 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.02157, allocations: 0 / 0.8116 GB, free: 3.719 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.0008601/0.02243, allocations: 0.7675 MB / 0.8123 GB, free: 2.914 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.02247, allocations: 8.031 kB / 0.8123 GB, free: 2.906 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.947e-05/0.02256, allocations: 64.61 kB / 0.8124 GB, free: 2.844 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004149/0.02297, allocations: 358 kB / 0.8127 GB, free: 2.473 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.013e-05/0.023, allocations: 24.81 kB / 0.8128 GB, free: 2.449 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.545e-05/0.02304, allocations: 24.38 kB / 0.8128 GB, free: 2.426 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002729/0.02331, allocations: 140.2 kB / 0.8129 GB, free: 2.285 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.02332, allocations: 4 kB / 0.8129 GB, free: 2.281 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.02334, allocations: 8 kB / 0.8129 GB, free: 2.273 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.02335, allocations: 4 kB / 0.8129 GB, free: 2.27 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.02346, allocations: 66.95 kB / 0.813 GB, free: 2.207 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.0008824/0.02435, allocations: 0.682 MB / 0.8137 GB, free: 1.484 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002707/0.02462, allocations: 107 kB / 0.8138 GB, free: 1.367 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.451e-05/0.02466, allocations: 27.67 kB / 0.8138 GB, free: 1.336 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001055/0.02477, allocations: 31.98 kB / 0.8138 GB, free: 1.305 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.02479, allocations: 37.33 kB / 0.8139 GB, free: 1.258 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=12): time 1.313e-06/0.02479, allocations: 0 / 0.8139 GB, free: 1.258 MB / 0.7605 GB Notification: Performance of matching and sorting (n=12): time 0.0002362/0.02502, allocations: 137.3 kB / 0.814 GB, free: 1.117 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.02506, allocations: 51.41 kB / 0.814 GB, free: 1.055 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003019/0.02536, allocations: 418.7 kB / 0.8144 GB, free: 0.625 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.02538, allocations: 33.7 kB / 0.8145 GB, free: 0.5859 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.0255, allocations: 263.4 kB / 0.8147 GB, free: 332 kB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.02552, allocations: 51.56 kB / 0.8148 GB, free: 280 kB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.863e-05/0.02558, allocations: 59.36 kB / 0.8148 GB, free: 212 kB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.02571, allocations: 0.5157 MB / 0.8153 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.83e-05/0.02576, allocations: 19.98 kB / 0.8153 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.0259, allocations: 252.3 kB / 0.8156 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001147/0.02601, allocations: 94.67 kB / 0.8157 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.02601, allocations: 0 / 0.8157 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002119/0.02623, allocations: 173.2 kB / 0.8158 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.02624, allocations: 11.92 kB / 0.8159 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.02624, allocations: 4 kB / 0.8159 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.02626, allocations: 4 kB / 0.8159 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.02638, allocations: 43.98 kB / 0.8159 GB, free: 15 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.02638, allocations: 3.938 kB / 0.8159 GB, free: 15 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.0265, allocations: 23.88 kB / 0.8159 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.044e-05/0.02652, allocations: 8 kB / 0.8159 GB, free: 14.97 MB / 0.7761 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.37e-05/0.02661, allocations: 164.6 kB / 0.8161 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.232e-05/0.02666, allocations: 43.66 kB / 0.8161 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002127/0.02687, allocations: 157 kB / 0.8163 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.02687, allocations: 0 / 0.8163 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.02688, allocations: 3.938 kB / 0.8163 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.02688, allocations: 0 / 0.8163 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004591/0.02734, allocations: 0.5505 MB / 0.8168 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.02734, allocations: 4 kB / 0.8168 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.067e-05/0.02741, allocations: 27.98 kB / 0.8169 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.02741, allocations: 4.125 kB / 0.8169 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.02742, allocations: 12 kB / 0.8169 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.02742, allocations: 0 / 0.8169 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.02742, allocations: 0 / 0.8169 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001843/0.02761, allocations: 325.6 kB / 0.8172 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.675e-05/0.02766, allocations: 47.77 kB / 0.8172 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.988e-05/0.02769, allocations: 11.98 kB / 0.8172 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.293e-05/0.02779, allocations: 7.984 kB / 0.8172 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.479e-05/0.02781, allocations: 11.98 kB / 0.8173 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.02782, allocations: 4 kB / 0.8173 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001853/0.02801, allocations: 287 kB / 0.8175 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9.1e-08/0.02801, allocations: 0 / 0.8175 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002785/0.02828, allocations: 111.7 kB / 0.8176 GB, free: 13.11 MB / 0.7761 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.000235/0.02852, allocations: 205.3 kB / 0.8178 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001668/0.02869, allocations: 95.98 kB / 0.8179 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.02869, allocations: 0 / 0.8179 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.749e-05/0.02874, allocations: 51.67 kB / 0.818 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004795/0.02922, allocations: 156.5 kB / 0.8181 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.03032, allocations: 0.6625 MB / 0.8188 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.181e-05/0.03039, allocations: 104.6 kB / 0.8189 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001247/0.03051, allocations: 51.2 kB / 0.8189 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.145e-05/0.03056, allocations: 36.48 kB / 0.819 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of SimCode: time 7.31e-07/0.03056, allocations: 0 / 0.819 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of Templates: time 0.008391/0.03895, allocations: 6.613 MB / 0.8254 GB, free: 5.273 MB / 0.7761 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.031749001936987]