Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002612/0.002612, allocations: 87.69 kB / 20.24 MB, free: 4.18 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.003016/0.003016, allocations: 157.3 kB / 23.54 MB, free: 0.875 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.611/1.611, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.105/3.105, allocations: 377.8 MB / 0.6232 GB, free: 8.496 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 0.8108 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.428e-05/3.624e-05, allocations: 4.281 kB / 0.8108 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.02347/0.0235, allocations: 15.87 MB / 0.8263 GB, free: 2.172 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.009617/0.03312, allocations: 4.723 MB / 0.8309 GB, free: 13.45 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008899/0.03401, allocations: 27.75 kB / 0.8309 GB, free: 13.43 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.001014/0.03503, allocations: 186.6 kB / 0.8311 GB, free: 13.24 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.002441/0.03747, allocations: 0.6175 MB / 0.8317 GB, free: 12.62 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.002211/0.03968, allocations: 0.6036 MB / 0.8323 GB, free: 12.02 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.001992/0.04167, allocations: 0.9582 MB / 0.8333 GB, free: 11.05 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000727/0.0424, allocations: 268.5 kB / 0.8335 GB, free: 10.79 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001759/0.04416, allocations: 0.5801 MB / 0.8341 GB, free: 10.2 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007842/0.04494, allocations: 251.2 kB / 0.8343 GB, free: 9.957 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0001033/0.04504, allocations: 24 kB / 0.8343 GB, free: 9.934 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006957/0.04574, allocations: 191.5 kB / 0.8345 GB, free: 9.746 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0001686/0.04591, allocations: 87.59 kB / 0.8346 GB, free: 9.66 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.000311/0.04622, allocations: 135.6 kB / 0.8347 GB, free: 9.527 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.001304/0.04752, allocations: 0.4984 MB / 0.8352 GB, free: 9.027 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.04753, allocations: 0 / 0.8352 GB, free: 9.027 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.554e-05/0.04754, allocations: 0 / 0.8352 GB, free: 9.027 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 3.127e-05/0.04757, allocations: 0 / 0.8352 GB, free: 9.027 MB / 0.7917 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.001721/0.0493, allocations: 0.7714 MB / 0.836 GB, free: 8.215 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.04934, allocations: 8.031 kB / 0.836 GB, free: 8.207 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001939/0.04953, allocations: 72.61 kB / 0.8361 GB, free: 8.137 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008032/0.05034, allocations: 345.2 kB / 0.8364 GB, free: 7.777 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.926e-05/0.05037, allocations: 20.88 kB / 0.8364 GB, free: 7.758 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.78e-05/0.05041, allocations: 24.38 kB / 0.8364 GB, free: 7.734 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003999/0.05081, allocations: 188.2 kB / 0.8366 GB, free: 7.547 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.05083, allocations: 0 / 0.8366 GB, free: 7.547 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.327e-05/0.05085, allocations: 4 kB / 0.8366 GB, free: 7.543 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/0.05086, allocations: 11.98 kB / 0.8366 GB, free: 7.531 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002641/0.05113, allocations: 117.9 kB / 0.8367 GB, free: 7.418 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001802/0.05293, allocations: 0.7367 MB / 0.8375 GB, free: 6.641 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005304/0.05346, allocations: 115.1 kB / 0.8376 GB, free: 6.516 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.727e-05/0.05355, allocations: 39.67 kB / 0.8376 GB, free: 6.473 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001628/0.05371, allocations: 27.98 kB / 0.8376 GB, free: 6.445 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/0.05375, allocations: 41.33 kB / 0.8377 GB, free: 6.395 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=12): time 1.523e-06/0.05375, allocations: 4 kB / 0.8377 GB, free: 6.391 MB / 0.7917 GB Notification: Performance of matching and sorting (n=12): time 0.0004287/0.05418, allocations: 149.4 kB / 0.8378 GB, free: 6.238 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.635e-05/0.05424, allocations: 51.41 kB / 0.8379 GB, free: 6.176 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006818/0.05492, allocations: 486.5 kB / 0.8383 GB, free: 5.684 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.409e-05/0.05495, allocations: 29.7 kB / 0.8384 GB, free: 5.648 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002661/0.05522, allocations: 279.3 kB / 0.8386 GB, free: 5.371 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 4.728e-05/0.05527, allocations: 43.62 kB / 0.8387 GB, free: 5.328 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/0.05541, allocations: 71.31 kB / 0.8387 GB, free: 5.25 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0003247/0.05573, allocations: 0.5235 MB / 0.8392 GB, free: 4.715 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.05585, allocations: 39.98 kB / 0.8393 GB, free: 4.676 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000304/0.05615, allocations: 272.3 kB / 0.8395 GB, free: 4.348 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002468/0.0564, allocations: 126.7 kB / 0.8397 GB, free: 4.207 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.0564, allocations: 64 / 0.8397 GB, free: 4.207 MB / 0.7917 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004378/0.05684, allocations: 213.3 kB / 0.8399 GB, free: 3.992 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.05686, allocations: 11.88 kB / 0.8399 GB, free: 3.98 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.05687, allocations: 0 / 0.8399 GB, free: 3.98 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.05689, allocations: 4 kB / 0.8399 GB, free: 3.977 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/0.05711, allocations: 47.97 kB / 0.8399 GB, free: 3.93 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.05712, allocations: 7.938 kB / 0.8399 GB, free: 3.922 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002644/0.05738, allocations: 19.98 kB / 0.84 GB, free: 3.902 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.829e-05/0.05742, allocations: 11.98 kB / 0.84 GB, free: 3.891 MB / 0.7917 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.0002107/0.05763, allocations: 196.5 kB / 0.8401 GB, free: 3.688 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.05774, allocations: 43.69 kB / 0.8402 GB, free: 3.645 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003733/0.05811, allocations: 164.2 kB / 0.8403 GB, free: 3.484 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/0.05812, allocations: 7.984 kB / 0.8404 GB, free: 3.477 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.05813, allocations: 4 kB / 0.8404 GB, free: 3.473 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.05813, allocations: 0 / 0.8404 GB, free: 3.473 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009866/0.05912, allocations: 0.5975 MB / 0.8409 GB, free: 2.816 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.05912, allocations: 4 kB / 0.8409 GB, free: 2.812 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/0.05925, allocations: 16 kB / 0.841 GB, free: 2.797 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.117e-05/0.05926, allocations: 7.984 kB / 0.841 GB, free: 2.789 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.05927, allocations: 8 kB / 0.841 GB, free: 2.781 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.05928, allocations: 3.938 kB / 0.841 GB, free: 2.777 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.05928, allocations: 128 / 0.841 GB, free: 2.777 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004235/0.0597, allocations: 338.7 kB / 0.8413 GB, free: 2.41 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.05983, allocations: 47.78 kB / 0.8413 GB, free: 2.363 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.268e-05/0.05987, allocations: 0 / 0.8413 GB, free: 2.363 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001863/0.06006, allocations: 11.94 kB / 0.8414 GB, free: 2.352 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.27e-05/0.0601, allocations: 19.91 kB / 0.8414 GB, free: 2.332 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.06011, allocations: 4 kB / 0.8414 GB, free: 2.328 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0004349/0.06055, allocations: 315.1 kB / 0.8417 GB, free: 2.02 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.5e-07/0.06055, allocations: 4 kB / 0.8417 GB, free: 2.016 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0005007/0.06105, allocations: 123.6 kB / 0.8418 GB, free: 1.895 MB / 0.7917 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.0005708/0.06162, allocations: 198.1 kB / 0.842 GB, free: 1.695 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0003257/0.06195, allocations: 123.5 kB / 0.8421 GB, free: 1.57 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.06195, allocations: 0 / 0.8421 GB, free: 1.57 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.06206, allocations: 63.55 kB / 0.8422 GB, free: 1.504 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009208/0.06299, allocations: 151.9 kB / 0.8423 GB, free: 1.359 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/0.0645, allocations: 0.6431 MB / 0.8429 GB, free: 0.668 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.06475, allocations: 203.1 kB / 0.8431 GB, free: 464 kB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.000234/0.06498, allocations: 58.48 kB / 0.8432 GB, free: 412 kB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.324e-05/0.06508, allocations: 32.5 kB / 0.8432 GB, free: 380 kB / 0.7917 GB Notification: Performance of SimCode: time 9.52e-07/0.06508, allocations: 0 / 0.8432 GB, free: 380 kB / 0.7917 GB Notification: Performance of Templates: time 0.01578/0.08085, allocations: 6.573 MB / 0.8496 GB, free: 9.996 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; mkfifo Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe >> ../files/Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.sim & ./Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.74311653606128]