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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001836/0.001836, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002321/0.002321, allocations: 198.8 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.848/2.848, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002032/0.002032, allocations: 67.89 kB / 1.109 GB, free: 6.535 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7192/0.7213, allocations: 168.7 MB / 1.274 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.02045/0.7417, allocations: 15.66 MB / 1.289 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00659/0.7483, allocations: 4.709 MB / 1.294 GB, free: 108 kB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003276/0.7486, allocations: 15.88 kB / 1.294 GB, free: 92 kB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005839/0.7492, allocations: 198.6 kB / 1.294 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001325/0.7505, allocations: 0.5946 MB / 1.295 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001365/0.7519, allocations: 0.568 MB / 1.295 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001239/0.7531, allocations: 0.9742 MB / 1.296 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004271/0.7536, allocations: 247.9 kB / 1.296 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007317/0.7543, allocations: 426.2 kB / 1.297 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004666/0.7548, allocations: 326.5 kB / 1.297 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.195e-05/0.7548, allocations: 24 kB / 1.297 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000462/0.7553, allocations: 219.6 kB / 1.297 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.7554, allocations: 87.55 kB / 1.297 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002143/0.7556, allocations: 206.8 kB / 1.298 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007283/0.7563, allocations: 0.5046 MB / 1.298 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.7563, allocations: 0 / 1.298 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.202e-06/0.7563, allocations: 0 / 1.298 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.44e-05/0.7564, allocations: 3.984 kB / 1.298 GB, free: 11.73 MB / 0.9981 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.001267/0.7576, allocations: 0.747 MB / 1.299 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.7577, allocations: 8.031 kB / 1.299 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.838e-05/0.7578, allocations: 52.61 kB / 1.299 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007174/0.7585, allocations: 410.4 kB / 1.299 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.832e-05/0.7585, allocations: 24.56 kB / 1.299 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.474e-05/0.7585, allocations: 24 kB / 1.299 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003462/0.7589, allocations: 191.3 kB / 1.3 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.7589, allocations: 4 kB / 1.3 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.433e-05/0.7589, allocations: 12 kB / 1.3 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.7589, allocations: 7.938 kB / 1.3 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002425/0.7592, allocations: 137.6 kB / 1.3 GB, free: 10.04 MB / 0.9981 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.001511/0.7607, allocations: 0.8754 MB / 1.301 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004499/0.7611, allocations: 106.6 kB / 1.301 GB, free: 8.973 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.344e-05/0.7612, allocations: 48.84 kB / 1.301 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003382/0.7616, allocations: 340.4 kB / 1.301 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.7616, allocations: 30.56 kB / 1.301 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.7616, allocations: 0 / 1.301 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12): time 0.0003737/0.762, allocations: 177.2 kB / 1.301 GB, free: 8.297 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.762, allocations: 55.41 kB / 1.301 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005743/0.7626, allocations: 461.9 kB / 1.302 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.7626, allocations: 29.7 kB / 1.302 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001853/0.7628, allocations: 212.4 kB / 1.302 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.32e-05/0.7628, allocations: 43.69 kB / 1.302 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.163e-05/0.7629, allocations: 57.64 kB / 1.302 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.7631, allocations: 346.8 kB / 1.302 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.7632, allocations: 47.98 kB / 1.302 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.7634, allocations: 114.3 kB / 1.303 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002208/0.7636, allocations: 143.2 kB / 1.303 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.7636, allocations: 0 / 1.303 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003771/0.764, allocations: 217.2 kB / 1.303 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.764, allocations: 9.875 kB / 1.303 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.764, allocations: 3.938 kB / 1.303 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.764, allocations: 0 / 1.303 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002163/0.7642, allocations: 47.91 kB / 1.303 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.7642, allocations: 8 kB / 1.303 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003038/0.7645, allocations: 35.77 kB / 1.303 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.778e-05/0.7646, allocations: 4 kB / 1.303 GB, free: 6.422 MB / 0.9981 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.0001636/0.7647, allocations: 157.7 kB / 1.303 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.734e-05/0.7648, allocations: 43.72 kB / 1.303 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003662/0.7652, allocations: 200.7 kB / 1.303 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.7652, allocations: 0 / 1.303 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.7652, allocations: 0 / 1.303 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.7652, allocations: 0 / 1.303 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.7662, allocations: 0.6264 MB / 1.304 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.7662, allocations: 0 / 1.304 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.7663, allocations: 32.05 kB / 1.304 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.7663, allocations: 4 kB / 1.304 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.7663, allocations: 4 kB / 1.304 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.7663, allocations: 4 kB / 1.304 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.7663, allocations: 7.922 kB / 1.304 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003472/0.7667, allocations: 303 kB / 1.304 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001463/0.7668, allocations: 136.7 kB / 1.304 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.332e-05/0.7669, allocations: 7.984 kB / 1.305 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002372/0.7671, allocations: 15.98 kB / 1.305 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.398e-05/0.7671, allocations: 7.938 kB / 1.305 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.7671, allocations: 7.984 kB / 1.305 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004158/0.7676, allocations: 327.1 kB / 1.305 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.7676, allocations: 0 / 1.305 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004076/0.768, allocations: 103.8 kB / 1.305 GB, free: 4.328 MB / 0.9981 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.0004266/0.7684, allocations: 228.6 kB / 1.305 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002857/0.7687, allocations: 127.8 kB / 1.305 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.7687, allocations: 0 / 1.305 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.935e-05/0.7688, allocations: 55.91 kB / 1.305 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009679/0.7698, allocations: 180.6 kB / 1.306 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.7711, allocations: 0.6767 MB / 1.306 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004429/0.7715, allocations: 0.8035 MB / 1.307 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001976/0.7717, allocations: 64.55 kB / 1.307 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.071e-05/0.7718, allocations: 31.44 kB / 1.307 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of SimCode: time 4.1e-07/0.7718, allocations: 0 / 1.307 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of Templates: time 0.01396/0.7857, allocations: 7.235 MB / 1.314 GB, free: 11 MB / 1.014 GB " [Timeout remaining time 299] 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=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) [Timeout 400] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.769842565990984]