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.001835/0.001835, allocations: 79.03 kB / 19.76 MB, free: 2.031 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.002278/0.002278, allocations: 157.2 kB / 23.01 MB, free: 4.945 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.435/1.435, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.673/2.673, allocations: 359.1 MB / 0.6044 GB, free: 14.86 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002142/0.002142, allocations: 65.94 kB / 0.9515 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2796, allocations: 169.9 MB / 1.117 GB, free: 2.547 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01779/0.2974, allocations: 14.38 MB / 1.131 GB, free: 4.109 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.5024/0.7998, allocations: 4.307 MB / 1.136 GB, free: 43.88 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000569/0.8004, allocations: 24.78 kB / 1.136 GB, free: 43.88 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005334/0.8009, allocations: 189.6 kB / 1.136 GB, free: 43.88 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00124/0.8022, allocations: 0.5981 MB / 1.136 GB, free: 43.88 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001227/0.8034, allocations: 0.5785 MB / 1.137 GB, free: 43.88 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0008192/0.8042, allocations: 0.9725 MB / 1.138 GB, free: 43.88 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000307/0.8045, allocations: 254.6 kB / 1.138 GB, free: 43.87 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005455/0.805, allocations: 433.1 kB / 1.139 GB, free: 43.87 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003504/0.8054, allocations: 309.7 kB / 1.139 GB, free: 43.81 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.817e-05/0.8054, allocations: 23.88 kB / 1.139 GB, free: 43.81 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003338/0.8058, allocations: 186.8 kB / 1.139 GB, free: 43.8 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 8.135e-05/0.8059, allocations: 91.64 kB / 1.139 GB, free: 43.79 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001313/0.806, allocations: 163.3 kB / 1.139 GB, free: 43.74 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00047/0.8065, allocations: 0.5096 MB / 1.14 GB, free: 43.65 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.8065, allocations: 0 / 1.14 GB, free: 43.65 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.142e-06/0.8065, allocations: 0 / 1.14 GB, free: 43.65 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.8065, allocations: 2.625 kB / 1.14 GB, free: 43.65 MB / 1.076 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.0008857/0.8074, allocations: 0.667 MB / 1.141 GB, free: 43.21 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.756e-05/0.8074, allocations: 8.844 kB / 1.141 GB, free: 43.21 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.997e-05/0.8075, allocations: 56.92 kB / 1.141 GB, free: 43.18 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005163/0.808, allocations: 335.3 kB / 1.141 GB, free: 43 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.808, allocations: 15.94 kB / 1.141 GB, free: 43 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.252e-05/0.808, allocations: 28.38 kB / 1.141 GB, free: 43 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000273/0.8083, allocations: 198.1 kB / 1.141 GB, free: 42.97 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.8083, allocations: 4 kB / 1.141 GB, free: 42.96 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.8083, allocations: 9.188 kB / 1.141 GB, free: 42.96 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.8083, allocations: 5.562 kB / 1.141 GB, free: 42.96 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000198/0.8085, allocations: 131.9 kB / 1.141 GB, free: 42.96 MB / 1.076 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.001107/0.8097, allocations: 0.6458 MB / 1.142 GB, free: 42.71 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004186/0.8101, allocations: 106 kB / 1.142 GB, free: 42.69 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.348e-05/0.8101, allocations: 53.98 kB / 1.142 GB, free: 42.68 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001125/0.8102, allocations: 25.27 kB / 1.142 GB, free: 42.68 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.34e-05/0.8103, allocations: 49.77 kB / 1.142 GB, free: 42.63 MB / 1.076 GB Notification: Performance of pre-optimization done (n=12): time 1.272e-06/0.8103, allocations: 2.875 kB / 1.142 GB, free: 42.63 MB / 1.076 GB Notification: Performance of matching and sorting (n=12): time 0.0002865/0.8105, allocations: 162.2 kB / 1.142 GB, free: 42.58 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.822e-05/0.8106, allocations: 57.42 kB / 1.142 GB, free: 42.52 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003367/0.8109, allocations: 389.7 kB / 1.143 GB, free: 42.41 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.8109, allocations: 25.7 kB / 1.143 GB, free: 42.38 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 9.571e-05/0.811, allocations: 225.2 kB / 1.143 GB, free: 42.26 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.811, allocations: 51.27 kB / 1.143 GB, free: 42.23 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.513e-05/0.8111, allocations: 54.3 kB / 1.143 GB, free: 42.21 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.983e-05/0.8112, allocations: 343.4 kB / 1.143 GB, free: 41.9 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.255e-05/0.8112, allocations: 56.64 kB / 1.143 GB, free: 41.89 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.8114, allocations: 257.7 kB / 1.144 GB, free: 41.66 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.8115, allocations: 131.6 kB / 1.144 GB, free: 41.63 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.8115, allocations: 1.219 kB / 1.144 GB, free: 41.63 MB / 1.076 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002867/0.8118, allocations: 219.8 kB / 1.144 GB, free: 41.57 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.8118, allocations: 5.719 kB / 1.144 GB, free: 41.57 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.8118, allocations: 2.844 kB / 1.144 GB, free: 41.57 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.8118, allocations: 0 / 1.144 GB, free: 41.57 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000198/0.812, allocations: 46.92 kB / 1.144 GB, free: 41.57 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.8121, allocations: 2.531 kB / 1.144 GB, free: 41.57 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002698/0.8123, allocations: 33.39 kB / 1.144 GB, free: 41.56 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.8123, allocations: 9.156 kB / 1.144 GB, free: 41.56 MB / 1.076 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.0001012/0.8124, allocations: 150.2 kB / 1.144 GB, free: 41.45 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.549e-05/0.8125, allocations: 43.34 kB / 1.144 GB, free: 41.42 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002675/0.8128, allocations: 193.9 kB / 1.145 GB, free: 41.38 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-06/0.8128, allocations: 2.875 kB / 1.145 GB, free: 41.38 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.8128, allocations: 0 / 1.145 GB, free: 41.38 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.8128, allocations: 4 kB / 1.145 GB, free: 41.38 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000558/0.8133, allocations: 0.5423 MB / 1.145 GB, free: 41.11 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.8133, allocations: 1.938 kB / 1.145 GB, free: 41.11 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.8135, allocations: 25.31 kB / 1.145 GB, free: 41.11 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.8135, allocations: 2.875 kB / 1.145 GB, free: 41.11 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.8135, allocations: 5.062 kB / 1.145 GB, free: 41.11 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.8135, allocations: 0 / 1.145 GB, free: 41.11 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.8135, allocations: 5 kB / 1.145 GB, free: 41.11 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002212/0.8137, allocations: 307.5 kB / 1.145 GB, free: 40.91 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.749e-05/0.8138, allocations: 51 kB / 1.145 GB, free: 40.89 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.078e-05/0.8138, allocations: 4.391 kB / 1.145 GB, free: 40.89 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002168/0.814, allocations: 10.83 kB / 1.145 GB, free: 40.89 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.201e-05/0.8141, allocations: 14.38 kB / 1.145 GB, free: 40.89 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.8141, allocations: 6.625 kB / 1.145 GB, free: 40.88 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002433/0.8143, allocations: 279.1 kB / 1.146 GB, free: 40.8 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8143, allocations: 0 / 1.146 GB, free: 40.8 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003835/0.8147, allocations: 111 kB / 1.146 GB, free: 40.79 MB / 1.076 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.0002331/0.8149, allocations: 202.5 kB / 1.146 GB, free: 40.68 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002293/0.8152, allocations: 136.6 kB / 1.146 GB, free: 40.68 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.8152, allocations: 0 / 1.146 GB, free: 40.68 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 7.692e-05/0.8152, allocations: 58.5 kB / 1.146 GB, free: 40.68 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007612/0.816, allocations: 150.9 kB / 1.146 GB, free: 40.67 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009964/0.817, allocations: 0.6638 MB / 1.147 GB, free: 40.32 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000126/0.8171, allocations: 215 kB / 1.147 GB, free: 40.23 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001649/0.8173, allocations: 52.92 kB / 1.147 GB, free: 40.22 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.002e-05/0.8173, allocations: 30.09 kB / 1.147 GB, free: 40.21 MB / 1.076 GB Notification: Performance of SimCode: time 3.61e-07/0.8173, allocations: 4 kB / 1.147 GB, free: 40.21 MB / 1.076 GB Notification: Performance of Templates: time 0.0104/0.8277, allocations: 6.603 MB / 1.154 GB, free: 39.43 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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.50537741696462]