Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001114/0.001114, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001814/0.002928, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001077/0.001077, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001433/0.00251, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.8965/0.8965, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08131/0.9778, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.204/2.204, allocations: 447.1 MB / 0.675 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.244/2.448, allocations: 146 MB / 0.8176 GB, free: 3.82 MB / 0.7917 GB " [Timeout remaining time 178] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 0.8189 GB, free: 2.5 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.18e-05/2.322e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.496 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01729/0.01731, allocations: 7.292 MB / 0.826 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.01101/0.02832, allocations: 3.065 MB / 0.829 GB, free: 8.09 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004838/0.0288, allocations: 27.75 kB / 0.8291 GB, free: 8.062 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0003788/0.02918, allocations: 122.9 kB / 0.8292 GB, free: 7.941 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.003924/0.03311, allocations: 397.5 kB / 0.8296 GB, free: 7.551 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001618/0.03472, allocations: 0.7117 MB / 0.8303 GB, free: 6.84 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.001126/0.03585, allocations: 0.9036 MB / 0.8311 GB, free: 5.93 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003498/0.03935, allocations: 261.1 kB / 0.8314 GB, free: 5.66 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007889/0.04014, allocations: 0.5007 MB / 0.8319 GB, free: 5.156 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003228/0.04046, allocations: 239.2 kB / 0.8321 GB, free: 4.922 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.461e-05/0.0405, allocations: 24 kB / 0.8321 GB, free: 4.898 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002902/0.0408, allocations: 111.8 kB / 0.8322 GB, free: 4.789 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 8.164e-05/0.04088, allocations: 63.67 kB / 0.8323 GB, free: 4.727 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.04101, allocations: 107.8 kB / 0.8324 GB, free: 4.621 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004667/0.04147, allocations: 326.7 kB / 0.8327 GB, free: 4.301 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.325e-05/0.04149, allocations: 0 / 0.8327 GB, free: 4.301 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.784e-06/0.04149, allocations: 0 / 0.8327 GB, free: 4.301 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.313e-05/0.0415, allocations: 0 / 0.8327 GB, free: 4.301 MB / 0.8073 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.003978/0.04548, allocations: 0.6976 MB / 0.8334 GB, free: 3.578 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.04552, allocations: 12.02 kB / 0.8334 GB, free: 3.566 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.392e-05/0.0456, allocations: 48.84 kB / 0.8334 GB, free: 3.52 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006885/0.04629, allocations: 320.5 kB / 0.8338 GB, free: 3.176 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.04631, allocations: 20.88 kB / 0.8338 GB, free: 3.156 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.545e-05/0.04634, allocations: 28.36 kB / 0.8338 GB, free: 3.129 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.04654, allocations: 135 kB / 0.8339 GB, free: 2.988 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.04655, allocations: 0 / 0.8339 GB, free: 2.988 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.04657, allocations: 8 kB / 0.8339 GB, free: 2.98 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.04657, allocations: 4 kB / 0.8339 GB, free: 2.977 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.125e-05/0.04666, allocations: 55.47 kB / 0.834 GB, free: 2.922 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008143/0.04747, allocations: 473.2 kB / 0.8344 GB, free: 2.441 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002654/0.04774, allocations: 133.1 kB / 0.8346 GB, free: 2.301 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.49e-05/0.04777, allocations: 27.67 kB / 0.8346 GB, free: 2.27 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003134/0.0509, allocations: 23.98 kB / 0.8346 GB, free: 2.246 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.05093, allocations: 30.56 kB / 0.8347 GB, free: 2.207 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=12): time 1.864e-06/0.05093, allocations: 0 / 0.8347 GB, free: 2.207 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12): time 0.0002116/0.05114, allocations: 93.52 kB / 0.8347 GB, free: 2.109 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.05117, allocations: 59.34 kB / 0.8348 GB, free: 2.039 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002622/0.05143, allocations: 339.3 kB / 0.8351 GB, free: 1.691 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.05146, allocations: 33.7 kB / 0.8352 GB, free: 1.652 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 9.535e-05/0.05155, allocations: 173.5 kB / 0.8353 GB, free: 1.48 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.05158, allocations: 51.56 kB / 0.8354 GB, free: 1.43 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.99e-05/0.05165, allocations: 53.67 kB / 0.8354 GB, free: 1.371 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.05175, allocations: 342.8 kB / 0.8357 GB, free: 1.027 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.457e-05/0.05183, allocations: 18.81 kB / 0.8358 GB, free: 1.008 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.05198, allocations: 223.3 kB / 0.836 GB, free: 0.7344 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.05211, allocations: 91.78 kB / 0.8361 GB, free: 0.6289 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.05212, allocations: 0 / 0.8361 GB, free: 0.6289 MB / 0.8073 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002282/0.05235, allocations: 135.1 kB / 0.8362 GB, free: 500 kB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.05236, allocations: 12 kB / 0.8362 GB, free: 488 kB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.05237, allocations: 0 / 0.8362 GB, free: 488 kB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.05239, allocations: 3.938 kB / 0.8362 GB, free: 484 kB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002788/0.05267, allocations: 62.09 kB / 0.8363 GB, free: 424 kB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.05267, allocations: 4 kB / 0.8363 GB, free: 420 kB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/0.05286, allocations: 27.83 kB / 0.8363 GB, free: 392 kB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.834e-05/0.05289, allocations: 4 kB / 0.8363 GB, free: 388 kB / 0.8073 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.0001088/0.053, allocations: 128.6 kB / 0.8364 GB, free: 248 kB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.994e-05/0.05305, allocations: 23.97 kB / 0.8364 GB, free: 224 kB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000239/0.05329, allocations: 128.8 kB / 0.8366 GB, free: 92 kB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.0533, allocations: 0 / 0.8366 GB, free: 92 kB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.0533, allocations: 0 / 0.8366 GB, free: 92 kB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.0533, allocations: 0 / 0.8366 GB, free: 92 kB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006185/0.05392, allocations: 492.7 kB / 0.837 GB, free: 15.57 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.797e-06/0.05393, allocations: 4 kB / 0.837 GB, free: 15.56 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/0.05406, allocations: 30.75 kB / 0.8371 GB, free: 15.54 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.703e-05/0.05414, allocations: 43.75 kB / 0.8371 GB, free: 15.49 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.05414, allocations: 4 kB / 0.8371 GB, free: 15.49 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.05415, allocations: 0 / 0.8371 GB, free: 15.49 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.635e-06/0.05416, allocations: 12.05 kB / 0.8371 GB, free: 15.48 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.05416, allocations: 0 / 0.8371 GB, free: 15.48 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/0.0544, allocations: 276.8 kB / 0.8374 GB, free: 15.17 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.755e-05/0.05444, allocations: 4 kB / 0.8374 GB, free: 15.17 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.05459, allocations: 4 kB / 0.8374 GB, free: 15.16 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.107e-05/0.05462, allocations: 15.92 kB / 0.8374 GB, free: 15.15 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.05464, allocations: 12 kB / 0.8374 GB, free: 15.14 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001616/0.0548, allocations: 140.7 kB / 0.8376 GB, free: 15 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.0548, allocations: 0 / 0.8376 GB, free: 15 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003872/0.05518, allocations: 95.77 kB / 0.8377 GB, free: 14.91 MB / 0.823 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.0002956/0.05548, allocations: 132.3 kB / 0.8378 GB, free: 14.77 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002033/0.05568, allocations: 76.7 kB / 0.8379 GB, free: 14.69 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 9.858e-06/0.05569, allocations: 8 kB / 0.8379 GB, free: 14.68 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.0558, allocations: 59.52 kB / 0.8379 GB, free: 14.62 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.05683, allocations: 1.078 MB / 0.839 GB, free: 13.34 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004148/0.06098, allocations: 0.6591 MB / 0.8396 GB, free: 12.64 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.527e-05/0.06106, allocations: 100.6 kB / 0.8397 GB, free: 12.52 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.000217/0.06128, allocations: 49.47 kB / 0.8398 GB, free: 12.46 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003161/0.06159, allocations: 151.2 kB / 0.8399 GB, free: 12.32 MB / 0.823 GB Notification: Performance of SimCode: time 1.162e-06/0.0616, allocations: 0 / 0.8399 GB, free: 12.32 MB / 0.823 GB Notification: Performance of Templates: time 0.01336/0.07496, allocations: 6.827 MB / 0.8466 GB, free: 5.699 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; mkfifo Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe >> ../files/Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.sim & ./Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing/Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.098410966806114]