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.001906/0.001906, allocations: 104.3 kB / 19.7 MB, free: 2.156 MB / 14.72 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.002382/0.002382, allocations: 214.2 kB / 22.99 MB, free: 4.984 MB / 14.72 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.543/1.543, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.384/3.384, allocations: 0.49 GB / 0.7959 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002115/0.002115, allocations: 71.81 kB / 1.155 GB, free: 25.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4221/0.4242, allocations: 176.1 MB / 1.327 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01856/0.4428, allocations: 14.35 MB / 1.341 GB, free: 2.59 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.007276/0.45, allocations: 4.272 MB / 1.345 GB, free: 14.31 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006454/0.4507, allocations: 23.75 kB / 1.345 GB, free: 14.29 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0007026/0.4514, allocations: 194.6 kB / 1.345 GB, free: 14.09 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001744/0.4531, allocations: 0.5947 MB / 1.346 GB, free: 13.5 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001745/0.4549, allocations: 0.5841 MB / 1.347 GB, free: 12.92 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001389/0.4563, allocations: 0.9586 MB / 1.348 GB, free: 11.95 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004676/0.4567, allocations: 260.4 kB / 1.348 GB, free: 11.69 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000887/0.4576, allocations: 478 kB / 1.348 GB, free: 11.22 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004409/0.4581, allocations: 306.6 kB / 1.349 GB, free: 10.92 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.547e-05/0.4581, allocations: 24 kB / 1.349 GB, free: 10.89 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005002/0.4586, allocations: 187.7 kB / 1.349 GB, free: 10.71 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.4587, allocations: 87.56 kB / 1.349 GB, free: 10.62 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001872/0.4589, allocations: 163.2 kB / 1.349 GB, free: 10.46 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0007659/0.4597, allocations: 0.5018 MB / 1.349 GB, free: 9.961 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.4597, allocations: 0 / 1.349 GB, free: 9.961 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4597, allocations: 0 / 1.349 GB, free: 9.961 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.4597, allocations: 0 / 1.349 GB, free: 9.961 MB / 1.045 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.001314/0.461, allocations: 0.664 MB / 1.35 GB, free: 9.266 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.4611, allocations: 8.031 kB / 1.35 GB, free: 9.258 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.4612, allocations: 48.66 kB / 1.35 GB, free: 9.211 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007217/0.4619, allocations: 327.2 kB / 1.351 GB, free: 8.863 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.755e-05/0.4619, allocations: 28.5 kB / 1.351 GB, free: 8.836 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.595e-05/0.462, allocations: 24 kB / 1.351 GB, free: 8.812 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003845/0.4623, allocations: 195.2 kB / 1.351 GB, free: 8.613 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.4623, allocations: 3.938 kB / 1.351 GB, free: 8.609 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.209e-05/0.4624, allocations: 8 kB / 1.351 GB, free: 8.602 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.4624, allocations: 4 kB / 1.351 GB, free: 8.598 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002486/0.4626, allocations: 133.7 kB / 1.351 GB, free: 8.465 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/0.4641, allocations: 0.6317 MB / 1.351 GB, free: 7.805 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004725/0.4645, allocations: 118.5 kB / 1.352 GB, free: 7.68 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.54e-05/0.4646, allocations: 44.83 kB / 1.352 GB, free: 7.633 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001474/0.4648, allocations: 31.98 kB / 1.352 GB, free: 7.602 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.4648, allocations: 30.56 kB / 1.352 GB, free: 7.562 MB / 1.045 GB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.4648, allocations: 0 / 1.352 GB, free: 7.562 MB / 1.045 GB Notification: Performance of matching and sorting (n=12): time 0.0003903/0.4652, allocations: 169.4 kB / 1.352 GB, free: 7.391 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.4652, allocations: 51.41 kB / 1.352 GB, free: 7.328 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004703/0.4657, allocations: 389.6 kB / 1.352 GB, free: 6.941 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.4657, allocations: 29.64 kB / 1.352 GB, free: 6.906 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000181/0.4659, allocations: 228.6 kB / 1.353 GB, free: 6.68 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.99e-05/0.466, allocations: 43.58 kB / 1.353 GB, free: 6.637 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.705e-05/0.4661, allocations: 53.69 kB / 1.353 GB, free: 6.578 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.4662, allocations: 342.8 kB / 1.353 GB, free: 6.234 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.4663, allocations: 51.97 kB / 1.353 GB, free: 6.184 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002575/0.4666, allocations: 256.5 kB / 1.353 GB, free: 5.879 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002166/0.4668, allocations: 135.3 kB / 1.353 GB, free: 5.734 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.4668, allocations: 0 / 1.353 GB, free: 5.734 MB / 1.045 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003715/0.4672, allocations: 221.2 kB / 1.354 GB, free: 5.512 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.4672, allocations: 4 kB / 1.354 GB, free: 5.508 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.4672, allocations: 4 kB / 1.354 GB, free: 5.504 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.4672, allocations: 4 kB / 1.354 GB, free: 5.5 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002283/0.4674, allocations: 43.92 kB / 1.354 GB, free: 5.457 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.4674, allocations: 0 / 1.354 GB, free: 5.457 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002924/0.4677, allocations: 27.88 kB / 1.354 GB, free: 5.43 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.403e-05/0.4678, allocations: 16.05 kB / 1.354 GB, free: 5.414 MB / 1.045 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.0001757/0.468, allocations: 157.9 kB / 1.354 GB, free: 5.25 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.551e-05/0.468, allocations: 35.77 kB / 1.354 GB, free: 5.215 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003688/0.4684, allocations: 192 kB / 1.354 GB, free: 5.023 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.4684, allocations: 7.938 kB / 1.354 GB, free: 5.016 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4684, allocations: 0 / 1.354 GB, free: 5.016 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.4684, allocations: 0 / 1.354 GB, free: 5.016 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007912/0.4692, allocations: 0.544 MB / 1.355 GB, free: 4.422 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.4692, allocations: 0 / 1.355 GB, free: 4.422 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.4693, allocations: 23.98 kB / 1.355 GB, free: 4.398 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.4693, allocations: 4.094 kB / 1.355 GB, free: 4.395 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.4693, allocations: 7.984 kB / 1.355 GB, free: 4.387 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.536e-06/0.4693, allocations: 16.05 kB / 1.355 GB, free: 4.371 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4694, allocations: 0 / 1.355 GB, free: 4.371 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003478/0.4697, allocations: 300.7 kB / 1.355 GB, free: 4.051 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.4698, allocations: 47.73 kB / 1.355 GB, free: 4.004 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.661e-05/0.4699, allocations: 4 kB / 1.355 GB, free: 4 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002095/0.4701, allocations: 7.984 kB / 1.355 GB, free: 3.992 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.034e-05/0.4701, allocations: 23.86 kB / 1.355 GB, free: 3.969 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.4701, allocations: 4 kB / 1.355 GB, free: 3.965 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.00034/0.4705, allocations: 271.2 kB / 1.355 GB, free: 3.703 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4705, allocations: 0 / 1.355 GB, free: 3.703 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004635/0.4709, allocations: 107.8 kB / 1.355 GB, free: 3.598 MB / 1.045 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.0003578/0.4713, allocations: 190.1 kB / 1.356 GB, free: 3.402 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003091/0.4716, allocations: 135.8 kB / 1.356 GB, free: 3.27 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4716, allocations: 0 / 1.356 GB, free: 3.27 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.4717, allocations: 60.09 kB / 1.356 GB, free: 3.211 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008276/0.4725, allocations: 145.3 kB / 1.356 GB, free: 3.074 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/0.4739, allocations: 0.6617 MB / 1.357 GB, free: 2.371 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000204/0.4741, allocations: 207.1 kB / 1.357 GB, free: 2.145 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001929/0.4743, allocations: 54.7 kB / 1.357 GB, free: 2.098 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.068e-05/0.4744, allocations: 27.42 kB / 1.357 GB, free: 2.07 MB / 1.045 GB Notification: Performance of SimCode: time 3.1e-07/0.4744, allocations: 0 / 1.357 GB, free: 2.07 MB / 1.045 GB Notification: Performance of Templates: time 0.01408/0.4885, allocations: 7.12 MB / 1.364 GB, free: 11.14 MB / 1.061 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=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) [Timeout 400] 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/jenkins1/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: 9.741442218000884]