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.001786/0.001786, allocations: 80.41 kB / 20.23 MB, free: 4.195 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.001685/0.001685, allocations: 161.7 kB / 23.54 MB, free: 0.8867 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.482/1.482, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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 2.745/2.745, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 177] 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.844e-06/1.844e-06, allocations: 0 / 0.7864 GB, free: 11.68 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.842e-05/3.027e-05, allocations: 9.891 kB / 0.7864 GB, free: 11.67 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.02279/0.02282, allocations: 14.28 MB / 0.8003 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.007869/0.03069, allocations: 4.326 MB / 0.8045 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006544/0.03134, allocations: 27.75 kB / 0.8046 GB, free: 9.039 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0007485/0.03209, allocations: 186.6 kB / 0.8048 GB, free: 8.855 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.002222/0.03431, allocations: 0.6136 MB / 0.8054 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001786/0.0361, allocations: 0.6075 MB / 0.8059 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.001642/0.03774, allocations: 0.9776 MB / 0.8069 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006605/0.0384, allocations: 268.6 kB / 0.8072 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001334/0.03973, allocations: 0.5334 MB / 0.8077 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006389/0.04037, allocations: 271.1 kB / 0.8079 GB, free: 5.574 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 8.713e-05/0.04046, allocations: 24 kB / 0.808 GB, free: 5.551 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005439/0.041, allocations: 183.6 kB / 0.8081 GB, free: 5.371 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001541/0.04116, allocations: 91.47 kB / 0.8082 GB, free: 5.281 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0002654/0.04142, allocations: 139.5 kB / 0.8084 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0009815/0.04241, allocations: 0.5022 MB / 0.8088 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.04241, allocations: 0 / 0.8088 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.61e-07/0.04241, allocations: 0 / 0.8088 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.368e-05/0.04242, allocations: 0 / 0.8088 GB, free: 4.641 MB / 0.7136 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.001382/0.04381, allocations: 0.6678 MB / 0.8095 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.04384, allocations: 8.031 kB / 0.8095 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001629/0.044, allocations: 68.61 kB / 0.8096 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000745/0.04475, allocations: 354.5 kB / 0.8099 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.04478, allocations: 12.88 kB / 0.8099 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.617e-05/0.04482, allocations: 28.31 kB / 0.8099 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004116/0.04523, allocations: 204.2 kB / 0.8101 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.04524, allocations: 0 / 0.8101 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.389e-05/0.04527, allocations: 8 kB / 0.8102 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.04528, allocations: 8 kB / 0.8102 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002767/0.04556, allocations: 137.9 kB / 0.8103 GB, free: 3.109 MB / 0.7136 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.00159/0.04715, allocations: 0.6359 MB / 0.8109 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005064/0.04765, allocations: 114.5 kB / 0.811 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.701e-05/0.04775, allocations: 44.83 kB / 0.8111 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001706/0.04792, allocations: 31.98 kB / 0.8111 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.878e-05/0.04796, allocations: 38.48 kB / 0.8111 GB, free: 2.195 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=12): time 3.536e-06/0.04796, allocations: 7.984 kB / 0.8111 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12): time 0.0004264/0.04839, allocations: 165.4 kB / 0.8113 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.019e-05/0.04844, allocations: 59.41 kB / 0.8114 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005862/0.04903, allocations: 397.9 kB / 0.8117 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.691e-05/0.04906, allocations: 25.7 kB / 0.8118 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002171/0.04928, allocations: 228.5 kB / 0.812 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.177e-05/0.04932, allocations: 35.69 kB / 0.812 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.04943, allocations: 61.59 kB / 0.8121 GB, free: 1.195 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0004511/0.04988, allocations: 346.8 kB / 0.8124 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.05, allocations: 47.97 kB / 0.8124 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002888/0.05029, allocations: 265.4 kB / 0.8127 GB, free: 500 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002405/0.05053, allocations: 131.3 kB / 0.8128 GB, free: 356 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.05053, allocations: 4 kB / 0.8128 GB, free: 352 kB / 0.7136 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004561/0.05099, allocations: 221.3 kB / 0.813 GB, free: 124 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.05101, allocations: 11.94 kB / 0.813 GB, free: 112 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.05101, allocations: 3.984 kB / 0.8131 GB, free: 108 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.05104, allocations: 4 kB / 0.8131 GB, free: 104 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002341/0.05127, allocations: 39.92 kB / 0.8131 GB, free: 64 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.05128, allocations: 4 kB / 0.8131 GB, free: 60 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003184/0.0516, allocations: 23.88 kB / 0.8131 GB, free: 36 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.709e-05/0.05164, allocations: 11.98 kB / 0.8131 GB, free: 24 kB / 0.7136 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.0002294/0.05187, allocations: 161.7 kB / 0.8133 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.194e-05/0.05196, allocations: 39.7 kB / 0.8133 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004107/0.05237, allocations: 190.8 kB / 0.8135 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/0.05238, allocations: 0 / 0.8135 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.05238, allocations: 3.938 kB / 0.8135 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.05239, allocations: 0 / 0.8135 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009174/0.0533, allocations: 0.5519 MB / 0.814 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.05331, allocations: 4.031 kB / 0.8141 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.05343, allocations: 23.98 kB / 0.8141 GB, free: 15 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.05343, allocations: 0 / 0.8141 GB, free: 15 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.05345, allocations: 4 kB / 0.8141 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-06/0.05345, allocations: 0 / 0.8141 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.05345, allocations: 7.938 kB / 0.8141 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004114/0.05386, allocations: 297.9 kB / 0.8144 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.05398, allocations: 51.73 kB / 0.8144 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.709e-05/0.05403, allocations: 8 kB / 0.8144 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002313/0.05426, allocations: 15.98 kB / 0.8144 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.692e-05/0.0543, allocations: 15.92 kB / 0.8145 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.05431, allocations: 4 kB / 0.8145 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004008/0.05471, allocations: 279.1 kB / 0.8147 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.05471, allocations: 0 / 0.8147 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004903/0.0552, allocations: 111.7 kB / 0.8148 GB, free: 14.19 MB / 0.7292 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.0003926/0.05559, allocations: 203.1 kB / 0.815 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003273/0.05592, allocations: 139.8 kB / 0.8152 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.05592, allocations: 0 / 0.8152 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.05604, allocations: 55.86 kB / 0.8152 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008871/0.05693, allocations: 152.7 kB / 0.8154 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.05841, allocations: 0.6539 MB / 0.816 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.05866, allocations: 203.1 kB / 0.8162 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002304/0.05889, allocations: 59.11 kB / 0.8162 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.735e-05/0.05899, allocations: 28.5 kB / 0.8163 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of SimCode: time 3.2e-07/0.05899, allocations: 0 / 0.8163 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of Templates: time 0.0161/0.07509, allocations: 6.619 MB / 0.8227 GB, free: 6.219 MB / 0.7292 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.800894099986181]