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.001033/0.001033, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.001135/0.001135, allocations: 173.9 kB / 23.21 MB, free: 1.355 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 0.913/0.913, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.616/1.616, allocations: 359 MB / 0.6044 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] 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.493e-06/1.493e-06, allocations: 0 / 0.9517 GB, free: 3.02 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.84e-05/1.99e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.016 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.0103/0.01032, allocations: 14.28 MB / 0.9657 GB, free: 4.664 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.003847/0.01417, allocations: 4.309 MB / 0.9699 GB, free: 352 kB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003113/0.01448, allocations: 27.69 kB / 0.9699 GB, free: 324 kB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0004442/0.01492, allocations: 194.5 kB / 0.9701 GB, free: 128 kB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0009196/0.01584, allocations: 0.6097 MB / 0.9707 GB, free: 15.51 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.000979/0.01682, allocations: 0.6147 MB / 0.9713 GB, free: 14.9 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0007615/0.01758, allocations: 0.9737 MB / 0.9722 GB, free: 13.93 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002925/0.01788, allocations: 260.4 kB / 0.9725 GB, free: 13.66 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004957/0.01837, allocations: 0.5334 MB / 0.973 GB, free: 13.12 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002329/0.0186, allocations: 275.1 kB / 0.9733 GB, free: 12.86 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 3.359e-05/0.01864, allocations: 20 kB / 0.9733 GB, free: 12.84 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002399/0.01888, allocations: 187.5 kB / 0.9735 GB, free: 12.65 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 7.601e-05/0.01895, allocations: 91.53 kB / 0.9736 GB, free: 12.56 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 9.671e-05/0.01905, allocations: 139.6 kB / 0.9737 GB, free: 12.43 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0006189/0.01967, allocations: 0.5022 MB / 0.9742 GB, free: 11.92 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.01967, allocations: 0 / 0.9742 GB, free: 11.92 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.693e-06/0.01967, allocations: 0 / 0.9742 GB, free: 11.92 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.01968, allocations: 3.938 kB / 0.9742 GB, free: 11.92 MB / 0.9323 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.0007356/0.02042, allocations: 0.6601 MB / 0.9748 GB, free: 11.22 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.02045, allocations: 12.03 kB / 0.9748 GB, free: 11.21 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.481e-05/0.02051, allocations: 48.66 kB / 0.9749 GB, free: 11.16 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004059/0.02092, allocations: 342.4 kB / 0.9752 GB, free: 10.8 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.02093, allocations: 16.88 kB / 0.9752 GB, free: 10.79 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.584e-05/0.02096, allocations: 28.38 kB / 0.9753 GB, free: 10.76 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000226/0.02119, allocations: 200.2 kB / 0.9755 GB, free: 10.56 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.0212, allocations: 3.938 kB / 0.9755 GB, free: 10.55 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/0.02121, allocations: 8 kB / 0.9755 GB, free: 10.55 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.02122, allocations: 12 kB / 0.9755 GB, free: 10.54 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001547/0.02138, allocations: 133.9 kB / 0.9756 GB, free: 10.4 MB / 0.9323 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.0008095/0.02219, allocations: 0.6243 MB / 0.9762 GB, free: 9.746 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002698/0.02246, allocations: 114.6 kB / 0.9763 GB, free: 9.625 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.087e-05/0.02251, allocations: 44.83 kB / 0.9764 GB, free: 9.578 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 9.062e-05/0.0226, allocations: 31.98 kB / 0.9764 GB, free: 9.547 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.02262, allocations: 38.48 kB / 0.9764 GB, free: 9.5 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=12): time 1.072e-06/0.02262, allocations: 0 / 0.9764 GB, free: 9.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=12): time 0.0002415/0.02286, allocations: 173.3 kB / 0.9766 GB, free: 9.324 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.02289, allocations: 55.41 kB / 0.9767 GB, free: 9.258 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002756/0.02316, allocations: 401.8 kB / 0.977 GB, free: 8.859 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.02318, allocations: 29.7 kB / 0.9771 GB, free: 8.824 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.02329, allocations: 228.5 kB / 0.9773 GB, free: 8.598 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 1.821e-05/0.02331, allocations: 35.69 kB / 0.9773 GB, free: 8.562 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.54e-05/0.02337, allocations: 57.66 kB / 0.9774 GB, free: 8.5 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.658e-05/0.02345, allocations: 342.8 kB / 0.9777 GB, free: 8.156 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.003e-05/0.02351, allocations: 47.97 kB / 0.9777 GB, free: 8.109 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.02365, allocations: 263.3 kB / 0.978 GB, free: 7.797 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.02378, allocations: 123.3 kB / 0.9781 GB, free: 7.664 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.02378, allocations: 4 kB / 0.9781 GB, free: 7.66 MB / 0.9323 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002171/0.02399, allocations: 217.3 kB / 0.9783 GB, free: 7.441 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.02401, allocations: 11.94 kB / 0.9783 GB, free: 7.43 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.02401, allocations: 3.984 kB / 0.9783 GB, free: 7.426 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.02403, allocations: 4 kB / 0.9783 GB, free: 7.422 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.02413, allocations: 43.92 kB / 0.9784 GB, free: 7.379 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.02414, allocations: 7.984 kB / 0.9784 GB, free: 7.371 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.02425, allocations: 23.88 kB / 0.9784 GB, free: 7.348 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/0.02428, allocations: 11.98 kB / 0.9784 GB, free: 7.336 MB / 0.9323 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 9.717e-05/0.02437, allocations: 161.7 kB / 0.9786 GB, free: 7.168 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.02441, allocations: 39.7 kB / 0.9786 GB, free: 7.129 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002183/0.02463, allocations: 186.8 kB / 0.9788 GB, free: 6.941 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.02463, allocations: 0 / 0.9788 GB, free: 6.941 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.02464, allocations: 0 / 0.9788 GB, free: 6.941 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.02464, allocations: 12.02 kB / 0.9788 GB, free: 6.93 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004339/0.02507, allocations: 0.5441 MB / 0.9793 GB, free: 6.336 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.02508, allocations: 4.031 kB / 0.9793 GB, free: 6.332 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.751e-05/0.02513, allocations: 23.98 kB / 0.9794 GB, free: 6.309 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.02514, allocations: 4 kB / 0.9794 GB, free: 6.305 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.02515, allocations: 4 kB / 0.9794 GB, free: 6.301 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.02515, allocations: 4 kB / 0.9794 GB, free: 6.297 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.02515, allocations: 3.938 kB / 0.9794 GB, free: 6.293 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001807/0.02533, allocations: 286.6 kB / 0.9797 GB, free: 5.984 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 5.693e-05/0.02539, allocations: 55.73 kB / 0.9797 GB, free: 5.93 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.02541, allocations: 4 kB / 0.9797 GB, free: 5.926 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.863e-05/0.02551, allocations: 19.98 kB / 0.9797 GB, free: 5.906 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.905e-05/0.02553, allocations: 11.92 kB / 0.9797 GB, free: 5.895 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.02554, allocations: 4 kB / 0.9797 GB, free: 5.891 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001824/0.02572, allocations: 279.1 kB / 0.98 GB, free: 5.621 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6e-08/0.02572, allocations: 0 / 0.98 GB, free: 5.621 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0002606/0.02598, allocations: 111.7 kB / 0.9801 GB, free: 5.512 MB / 0.9323 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.0002303/0.02621, allocations: 195 kB / 0.9803 GB, free: 5.312 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0001792/0.02639, allocations: 135.8 kB / 0.9804 GB, free: 5.18 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.02639, allocations: 0 / 0.9804 GB, free: 5.18 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 5.619e-05/0.02645, allocations: 56.48 kB / 0.9805 GB, free: 5.125 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004443/0.02689, allocations: 155.5 kB / 0.9806 GB, free: 4.98 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009022/0.02779, allocations: 0.6856 MB / 0.9813 GB, free: 4.25 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000112/0.02791, allocations: 207 kB / 0.9815 GB, free: 4.027 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.312e-05/0.02796, allocations: 28.5 kB / 0.9815 GB, free: 4 MB / 0.9323 GB Notification: Performance of SimCode: time 5.21e-07/0.02796, allocations: 0 / 0.9815 GB, free: 4 MB / 0.9323 GB Notification: Performance of Templates: time 0.005273/0.03323, allocations: 6.065 MB / 0.9875 GB, free: 14 MB / 0.948 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=400 -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/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: 7.244409320876002]