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.001755/0.001755, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002073/0.002073, allocations: 216.3 kB / 22.25 MB, free: 5.125 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.535/1.535, allocations: 230.6 MB / 256 MB, free: 7.977 MB / 206.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.905/2.905, allocations: 476.7 MB / 0.7706 GB, free: 4.262 MB / 0.6231 GB " [Timeout remaining time 176] 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.002089/0.002089, allocations: 68.45 kB / 1.118 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2943, allocations: 169.9 MB / 1.284 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01875/0.3131, allocations: 15.77 MB / 1.299 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007252/0.3203, allocations: 4.706 MB / 1.304 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000426/0.3207, allocations: 19.81 kB / 1.304 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006338/0.3214, allocations: 198.6 kB / 1.304 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001479/0.3228, allocations: 0.6111 MB / 1.305 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001547/0.3244, allocations: 0.5838 MB / 1.305 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001394/0.3258, allocations: 0.9819 MB / 1.306 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000489/0.3263, allocations: 264.3 kB / 1.306 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000822/0.3271, allocations: 434.3 kB / 1.307 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004873/0.3276, allocations: 326.5 kB / 1.307 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.869e-05/0.3276, allocations: 24 kB / 1.307 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004897/0.3281, allocations: 223.6 kB / 1.307 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001258/0.3283, allocations: 91.59 kB / 1.307 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002114/0.3285, allocations: 206.8 kB / 1.308 GB, free: 2.746 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007546/0.3292, allocations: 0.5096 MB / 1.308 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3292, allocations: 0 / 1.308 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3292, allocations: 0 / 1.308 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.188e-05/0.3292, allocations: 0 / 1.308 GB, free: 2.234 MB / 0.9981 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.001186/0.3304, allocations: 0.6717 MB / 1.309 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.3305, allocations: 8.031 kB / 1.309 GB, free: 1.52 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.442e-05/0.3306, allocations: 52.61 kB / 1.309 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006822/0.3312, allocations: 343.2 kB / 1.309 GB, free: 1.113 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.589e-05/0.3313, allocations: 32.48 kB / 1.309 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.586e-05/0.3313, allocations: 24 kB / 1.309 GB, free: 1.059 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003413/0.3316, allocations: 191.3 kB / 1.309 GB, free: 0.8672 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.3317, allocations: 4 kB / 1.309 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.374e-05/0.3317, allocations: 12 kB / 1.309 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.3317, allocations: 4 kB / 1.309 GB, free: 0.8477 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002382/0.3319, allocations: 133.7 kB / 1.31 GB, free: 0.7188 MB / 0.9981 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.001567/0.3335, allocations: 0.8406 MB / 1.31 GB, free: 15.81 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004849/0.334, allocations: 110.5 kB / 1.311 GB, free: 15.69 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.407e-05/0.3341, allocations: 52.84 kB / 1.311 GB, free: 15.64 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001309/0.3342, allocations: 31.95 kB / 1.311 GB, free: 15.61 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.3342, allocations: 30.56 kB / 1.311 GB, free: 15.57 MB / 1.014 GB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.3342, allocations: 0 / 1.311 GB, free: 15.57 MB / 1.014 GB Notification: Performance of matching and sorting (n=12): time 0.0003777/0.3346, allocations: 177.4 kB / 1.311 GB, free: 15.39 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.3346, allocations: 55.34 kB / 1.311 GB, free: 15.32 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007782/0.3354, allocations: 461.9 kB / 1.311 GB, free: 14.86 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.042e-05/0.3355, allocations: 33.64 kB / 1.311 GB, free: 14.82 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/0.3356, allocations: 216.4 kB / 1.312 GB, free: 14.61 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.706e-05/0.3357, allocations: 43.58 kB / 1.312 GB, free: 14.57 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.486e-05/0.3358, allocations: 49.7 kB / 1.312 GB, free: 14.51 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.3359, allocations: 354.8 kB / 1.312 GB, free: 14.16 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.336, allocations: 43.98 kB / 1.312 GB, free: 14.11 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001665/0.3362, allocations: 120 kB / 1.312 GB, free: 13.98 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002236/0.3364, allocations: 139.2 kB / 1.312 GB, free: 13.83 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.3364, allocations: 0 / 1.312 GB, free: 13.83 MB / 1.014 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003801/0.3368, allocations: 221.2 kB / 1.312 GB, free: 13.61 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.3368, allocations: 6.344 kB / 1.312 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3368, allocations: 0 / 1.312 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.3369, allocations: 4 kB / 1.312 GB, free: 13.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002198/0.3371, allocations: 39.92 kB / 1.312 GB, free: 13.56 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.3371, allocations: 11.98 kB / 1.312 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003063/0.3374, allocations: 35.89 kB / 1.313 GB, free: 13.52 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.018e-05/0.3374, allocations: 12.19 kB / 1.313 GB, free: 13.5 MB / 1.014 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.0001815/0.3376, allocations: 153.7 kB / 1.313 GB, free: 13.34 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.306e-05/0.3377, allocations: 43.66 kB / 1.313 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003626/0.338, allocations: 202.5 kB / 1.313 GB, free: 13.1 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.338, allocations: 7.938 kB / 1.313 GB, free: 13.09 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.338, allocations: 0 / 1.313 GB, free: 13.09 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.338, allocations: 4 kB / 1.313 GB, free: 13.09 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00087/0.3389, allocations: 0.5985 MB / 1.314 GB, free: 12.43 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.3389, allocations: 4 kB / 1.314 GB, free: 12.42 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.339, allocations: 28.11 kB / 1.314 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.339, allocations: 4 kB / 1.314 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.3391, allocations: 4 kB / 1.314 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.3391, allocations: 3.938 kB / 1.314 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.3391, allocations: 3.938 kB / 1.314 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003505/0.3394, allocations: 301.6 kB / 1.314 GB, free: 12.06 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001251/0.3395, allocations: 55.67 kB / 1.314 GB, free: 12 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.819e-05/0.3396, allocations: 0 / 1.314 GB, free: 12 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002347/0.3398, allocations: 15.98 kB / 1.314 GB, free: 11.99 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.205e-05/0.3399, allocations: 15.86 kB / 1.314 GB, free: 11.97 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.3399, allocations: 8 kB / 1.314 GB, free: 11.96 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000421/0.3403, allocations: 323.1 kB / 1.314 GB, free: 11.65 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3403, allocations: 4 kB / 1.314 GB, free: 11.64 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004339/0.3407, allocations: 107.8 kB / 1.314 GB, free: 11.54 MB / 1.014 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.0003176/0.341, allocations: 194.5 kB / 1.315 GB, free: 11.34 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002853/0.3413, allocations: 139.7 kB / 1.315 GB, free: 11.21 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3413, allocations: 0 / 1.315 GB, free: 11.21 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001147/0.3414, allocations: 59.91 kB / 1.315 GB, free: 11.15 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009305/0.3424, allocations: 176.6 kB / 1.315 GB, free: 10.98 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.3437, allocations: 0.6737 MB / 1.316 GB, free: 10.27 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004734/0.3442, allocations: 0.8112 MB / 1.316 GB, free: 9.43 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002036/0.3444, allocations: 70.8 kB / 1.316 GB, free: 9.363 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.681e-05/0.3445, allocations: 35.44 kB / 1.316 GB, free: 9.328 MB / 1.014 GB Notification: Performance of SimCode: time 3.4e-07/0.3445, allocations: 0 / 1.316 GB, free: 9.328 MB / 1.014 GB Notification: Performance of Templates: time 0.01465/0.3591, allocations: 7.265 MB / 1.324 GB, free: 2.188 MB / 1.014 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 -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: 9.462121239863336]