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.001784/0.001784, allocations: 80.2 kB / 19.18 MB, free: 2.527 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.00242/0.00242, allocations: 173.8 kB / 22.46 MB, free: 5.355 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.489/1.489, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 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.789/2.789, allocations: 359 MB / 0.6037 GB, free: 14.99 MB / 0.5762 GB " [Timeout remaining time 176] 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.883e-06/1.883e-06, allocations: 0 / 0.951 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.271e-05/3.459e-05, allocations: 5.234 kB / 0.951 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01948/0.01951, allocations: 14.29 MB / 0.9649 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.008215/0.02773, allocations: 4.313 MB / 0.9691 GB, free: 8.926 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007753/0.0285, allocations: 19.81 kB / 0.9692 GB, free: 8.906 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0007971/0.0293, allocations: 194.5 kB / 0.9693 GB, free: 8.715 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001933/0.03123, allocations: 0.6204 MB / 0.97 GB, free: 8.094 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001976/0.03321, allocations: 0.6127 MB / 0.9706 GB, free: 7.484 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.00168/0.03489, allocations: 0.9776 MB / 0.9715 GB, free: 6.504 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005274/0.03542, allocations: 256.4 kB / 0.9717 GB, free: 6.25 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00102/0.03644, allocations: 0.5334 MB / 0.9723 GB, free: 5.715 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004889/0.03693, allocations: 263.2 kB / 0.9725 GB, free: 5.457 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 6.728e-05/0.03699, allocations: 24 kB / 0.9725 GB, free: 5.434 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005583/0.03755, allocations: 195.5 kB / 0.9727 GB, free: 5.242 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001396/0.03769, allocations: 87.58 kB / 0.9728 GB, free: 5.156 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002332/0.03792, allocations: 135.6 kB / 0.9729 GB, free: 5.023 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0008923/0.03882, allocations: 0.5061 MB / 0.9734 GB, free: 4.516 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.03882, allocations: 0 / 0.9734 GB, free: 4.516 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.563e-06/0.03882, allocations: 0 / 0.9734 GB, free: 4.516 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.347e-05/0.03884, allocations: 0 / 0.9734 GB, free: 4.516 MB / 0.8731 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.001341/0.04018, allocations: 0.664 MB / 0.9741 GB, free: 3.82 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.04022, allocations: 11.97 kB / 0.9741 GB, free: 3.809 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.04033, allocations: 48.66 kB / 0.9741 GB, free: 3.762 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007479/0.04108, allocations: 342.4 kB / 0.9745 GB, free: 3.398 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/0.04111, allocations: 24.86 kB / 0.9745 GB, free: 3.375 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.006e-05/0.04116, allocations: 24.38 kB / 0.9745 GB, free: 3.352 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003824/0.04154, allocations: 196.2 kB / 0.9747 GB, free: 3.156 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.04155, allocations: 0 / 0.9747 GB, free: 3.156 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.487e-05/0.04158, allocations: 8 kB / 0.9747 GB, free: 3.148 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.04159, allocations: 4 kB / 0.9747 GB, free: 3.145 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002604/0.04185, allocations: 141.9 kB / 0.9749 GB, free: 3.004 MB / 0.8731 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.001458/0.0433, allocations: 0.6204 MB / 0.9755 GB, free: 2.355 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000524/0.04383, allocations: 126.5 kB / 0.9756 GB, free: 2.223 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.146e-05/0.04392, allocations: 44.84 kB / 0.9756 GB, free: 2.176 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001506/0.04407, allocations: 31.95 kB / 0.9757 GB, free: 2.145 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.0441, allocations: 38.5 kB / 0.9757 GB, free: 2.098 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=12): time 1.503e-06/0.0441, allocations: 0 / 0.9757 GB, free: 2.098 MB / 0.8731 GB Notification: Performance of matching and sorting (n=12): time 0.0004173/0.04452, allocations: 169.4 kB / 0.9758 GB, free: 1.926 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.882e-05/0.04458, allocations: 59.34 kB / 0.9759 GB, free: 1.855 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000532/0.04511, allocations: 397.9 kB / 0.9763 GB, free: 1.453 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/0.04514, allocations: 29.7 kB / 0.9763 GB, free: 1.418 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001872/0.04533, allocations: 216.6 kB / 0.9765 GB, free: 1.203 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.707e-05/0.04538, allocations: 47.62 kB / 0.9766 GB, free: 1.156 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.429e-05/0.04547, allocations: 53.66 kB / 0.9766 GB, free: 1.098 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001903/0.04566, allocations: 346.8 kB / 0.9769 GB, free: 0.75 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.04577, allocations: 51.97 kB / 0.977 GB, free: 0.6992 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002834/0.04605, allocations: 259.2 kB / 0.9772 GB, free: 400 kB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002495/0.0463, allocations: 135.3 kB / 0.9774 GB, free: 252 kB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.0463, allocations: 0 / 0.9774 GB, free: 252 kB / 0.8731 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003873/0.04669, allocations: 221.2 kB / 0.9776 GB, free: 24 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.04671, allocations: 7.938 kB / 0.9776 GB, free: 16 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.04672, allocations: 4 kB / 0.9776 GB, free: 12 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.04674, allocations: 0 / 0.9776 GB, free: 12 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002431/0.04698, allocations: 39.98 kB / 0.9776 GB, free: 15.97 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.04699, allocations: 0 / 0.9776 GB, free: 15.97 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002915/0.04728, allocations: 31.83 kB / 0.9777 GB, free: 15.94 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.608e-05/0.04731, allocations: 15.92 kB / 0.9777 GB, free: 15.93 MB / 0.8887 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.0001762/0.04749, allocations: 153.8 kB / 0.9778 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.192e-05/0.04756, allocations: 39.7 kB / 0.9779 GB, free: 15.73 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003659/0.04793, allocations: 189.1 kB / 0.978 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.04794, allocations: 4 kB / 0.978 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.04794, allocations: 0 / 0.978 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.04795, allocations: 0 / 0.978 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007905/0.04874, allocations: 0.544 MB / 0.9786 GB, free: 14.95 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.04874, allocations: 4.125 kB / 0.9786 GB, free: 14.94 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.04886, allocations: 27.98 kB / 0.9786 GB, free: 14.91 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.04886, allocations: 0 / 0.9786 GB, free: 14.91 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.04888, allocations: 7.938 kB / 0.9786 GB, free: 14.91 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.04888, allocations: 0 / 0.9786 GB, free: 14.91 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.04888, allocations: 0 / 0.9786 GB, free: 14.91 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004152/0.04929, allocations: 298.6 kB / 0.9789 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.04941, allocations: 59.59 kB / 0.979 GB, free: 14.53 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.208e-05/0.04946, allocations: 8.281 kB / 0.979 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.04967, allocations: 8.047 kB / 0.979 GB, free: 14.51 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/0.04972, allocations: 19.98 kB / 0.979 GB, free: 14.49 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.442e-05/0.04974, allocations: 11.94 kB / 0.979 GB, free: 14.48 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004419/0.05018, allocations: 271.1 kB / 0.9793 GB, free: 14.22 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1e-07/0.05018, allocations: 0 / 0.9793 GB, free: 14.22 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005131/0.0507, allocations: 111.7 kB / 0.9794 GB, free: 14.11 MB / 0.8887 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.0004167/0.05111, allocations: 205.6 kB / 0.9796 GB, free: 13.9 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0003198/0.05143, allocations: 137.6 kB / 0.9797 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.05143, allocations: 0 / 0.9797 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.05154, allocations: 55.86 kB / 0.9798 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008843/0.05242, allocations: 146.2 kB / 0.9799 GB, free: 13.58 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/0.05395, allocations: 0.6451 MB / 0.9805 GB, free: 12.89 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.05418, allocations: 207 kB / 0.9807 GB, free: 12.67 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002075/0.05439, allocations: 62.73 kB / 0.9808 GB, free: 12.61 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.126e-05/0.05447, allocations: 28.5 kB / 0.9808 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of SimCode: time 2.71e-07/0.05447, allocations: 0 / 0.9808 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of Templates: time 0.01439/0.06886, allocations: 6.576 MB / 0.9872 GB, free: 6.195 MB / 0.8887 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: 8.57158499956131]