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.002019/0.002019, allocations: 79.7 kB / 20.23 MB, free: 4.191 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.002119/0.002119, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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 1.613/1.613, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 2.888/2.888, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] 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.773e-06/1.773e-06, allocations: 0 / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.862e-05/3.04e-05, allocations: 6.031 kB / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.02285/0.02288, allocations: 15.92 MB / 0.8019 GB, free: 12.9 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.008851/0.03173, allocations: 4.77 MB / 0.8066 GB, free: 8.137 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006059/0.03234, allocations: 23.81 kB / 0.8066 GB, free: 8.113 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0007275/0.03306, allocations: 194.6 kB / 0.8068 GB, free: 7.922 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.001828/0.03489, allocations: 0.6175 MB / 0.8074 GB, free: 7.301 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001813/0.0367, allocations: 0.6036 MB / 0.808 GB, free: 6.695 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.001535/0.03824, allocations: 0.9776 MB / 0.8089 GB, free: 5.711 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000528/0.03877, allocations: 273.1 kB / 0.8092 GB, free: 5.441 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001038/0.03981, allocations: 0.5296 MB / 0.8097 GB, free: 4.91 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005085/0.04031, allocations: 267.2 kB / 0.81 GB, free: 4.648 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 6.816e-05/0.04038, allocations: 24 kB / 0.81 GB, free: 4.625 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005226/0.04091, allocations: 199.4 kB / 0.8102 GB, free: 4.43 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0001411/0.04105, allocations: 87.59 kB / 0.8103 GB, free: 4.344 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0002247/0.04127, allocations: 135.6 kB / 0.8104 GB, free: 4.211 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0008855/0.04216, allocations: 0.5022 MB / 0.8109 GB, free: 3.707 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.04216, allocations: 0 / 0.8109 GB, free: 3.707 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.463e-06/0.04216, allocations: 0 / 0.8109 GB, free: 3.707 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 9.398e-06/0.04217, allocations: 0 / 0.8109 GB, free: 3.707 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.001436/0.04361, allocations: 0.7908 MB / 0.8117 GB, free: 2.879 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.04365, allocations: 8.031 kB / 0.8117 GB, free: 2.871 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001507/0.0438, allocations: 72.61 kB / 0.8117 GB, free: 2.801 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009593/0.04476, allocations: 341.3 kB / 0.8121 GB, free: 2.449 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.984e-05/0.04479, allocations: 20.88 kB / 0.8121 GB, free: 2.43 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.93e-05/0.04484, allocations: 24.38 kB / 0.8121 GB, free: 2.406 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000406/0.04524, allocations: 184.1 kB / 0.8123 GB, free: 2.223 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.04526, allocations: 0 / 0.8123 GB, free: 2.223 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.711e-05/0.04528, allocations: 12 kB / 0.8123 GB, free: 2.211 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.04529, allocations: 4 kB / 0.8123 GB, free: 2.207 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002674/0.04556, allocations: 113.9 kB / 0.8124 GB, free: 2.098 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.001694/0.04725, allocations: 0.7523 MB / 0.8131 GB, free: 1.305 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005106/0.04776, allocations: 115.1 kB / 0.8132 GB, free: 1.18 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.212e-05/0.04785, allocations: 35.67 kB / 0.8133 GB, free: 1.141 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001641/0.04801, allocations: 31.97 kB / 0.8133 GB, free: 1.109 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.454e-05/0.04805, allocations: 49.27 kB / 0.8134 GB, free: 1.051 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=12): time 3.446e-06/0.04806, allocations: 3.984 kB / 0.8134 GB, free: 1.047 MB / 0.7605 GB Notification: Performance of matching and sorting (n=12): time 0.0003936/0.04845, allocations: 149.4 kB / 0.8135 GB, free: 0.8945 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.758e-05/0.04851, allocations: 55.34 kB / 0.8136 GB, free: 0.8281 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006483/0.04916, allocations: 482.7 kB / 0.814 GB, free: 348 kB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.365e-05/0.04919, allocations: 37.7 kB / 0.8141 GB, free: 304 kB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002504/0.04944, allocations: 279.3 kB / 0.8143 GB, free: 20 kB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 6.868e-05/0.04951, allocations: 51.56 kB / 0.8144 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.04962, allocations: 59.36 kB / 0.8144 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003416/0.04996, allocations: 0.5274 MB / 0.8149 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.05007, allocations: 43.97 kB / 0.815 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003183/0.05039, allocations: 273.9 kB / 0.8152 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002362/0.05063, allocations: 130.7 kB / 0.8154 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.05063, allocations: 0 / 0.8154 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004113/0.05104, allocations: 201.3 kB / 0.8156 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.05106, allocations: 7.938 kB / 0.8156 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.05107, allocations: 7.984 kB / 0.8156 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.05108, allocations: 4 kB / 0.8156 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002225/0.05131, allocations: 43.92 kB / 0.8156 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.05132, allocations: 4 kB / 0.8156 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002426/0.05156, allocations: 23.88 kB / 0.8156 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.418e-05/0.05159, allocations: 8 kB / 0.8157 GB, free: 14.55 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 0.0002109/0.0518, allocations: 196.5 kB / 0.8158 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.318e-05/0.0519, allocations: 43.66 kB / 0.8159 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003653/0.05226, allocations: 164.9 kB / 0.816 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.05227, allocations: 4.062 kB / 0.816 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.05228, allocations: 4 kB / 0.816 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.05228, allocations: 0 / 0.816 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009577/0.05324, allocations: 0.6091 MB / 0.8166 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.05324, allocations: 0 / 0.8166 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/0.05336, allocations: 23.98 kB / 0.8167 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.05337, allocations: 4.125 kB / 0.8167 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.05338, allocations: 4 kB / 0.8167 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.05338, allocations: 4 kB / 0.8167 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.05338, allocations: 0 / 0.8167 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000426/0.05381, allocations: 345.3 kB / 0.817 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.05393, allocations: 47.73 kB / 0.8171 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.486e-05/0.05398, allocations: 4 kB / 0.8171 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/0.05416, allocations: 4 kB / 0.8171 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.498e-05/0.05421, allocations: 15.98 kB / 0.8171 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.05422, allocations: 4 kB / 0.8171 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004349/0.05465, allocations: 335 kB / 0.8174 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.05465, allocations: 0 / 0.8174 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004746/0.05513, allocations: 111.7 kB / 0.8175 GB, free: 12.54 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.0004131/0.05554, allocations: 210.7 kB / 0.8177 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003398/0.05588, allocations: 131.9 kB / 0.8178 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.05589, allocations: 4 kB / 0.8178 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.05601, allocations: 59.59 kB / 0.8179 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008863/0.05689, allocations: 148.1 kB / 0.818 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/0.05844, allocations: 0.6625 MB / 0.8187 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000648/0.05909, allocations: 203 kB / 0.8189 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002079/0.0593, allocations: 60.86 kB / 0.8189 GB, free: 11 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.25e-05/0.05938, allocations: 32.5 kB / 0.819 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of SimCode: time 7.82e-07/0.05938, allocations: 0 / 0.819 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of Templates: time 0.01535/0.07473, allocations: 6.601 MB / 0.8254 GB, free: 4.562 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.627425553975627]