Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00179/0.00179, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 225.6 MB / 249.4 MB, free: 3.312 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.598/2.598, allocations: 443.4 MB / 0.7304 GB, free: 14.04 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y1|y2",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing") translateModel(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y1|y2",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 64.12 kB / 1.059 GB, free: 412 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2801, allocations: 160.7 MB / 1.216 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01807/0.2982, allocations: 15.66 MB / 1.231 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006622/0.3048, allocations: 4.709 MB / 1.236 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003528/0.3051, allocations: 15.88 kB / 1.236 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005696/0.3057, allocations: 198.6 kB / 1.236 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001345/0.3071, allocations: 0.5908 MB / 1.237 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001467/0.3085, allocations: 0.5873 MB / 1.237 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001228/0.3098, allocations: 0.9626 MB / 1.238 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003983/0.3102, allocations: 263.8 kB / 1.239 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000671/0.3108, allocations: 422.3 kB / 1.239 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004221/0.3112, allocations: 314.6 kB / 1.239 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.957e-05/0.3113, allocations: 24 kB / 1.239 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004486/0.3117, allocations: 219.6 kB / 1.24 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.3119, allocations: 91.53 kB / 1.24 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002113/0.3121, allocations: 202.8 kB / 1.24 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006862/0.3128, allocations: 0.5057 MB / 1.24 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3128, allocations: 4 kB / 1.24 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3128, allocations: 0 / 1.24 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.3128, allocations: 0 / 1.24 GB, free: 6.527 MB / 0.9825 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.001202/0.314, allocations: 0.7491 MB / 1.241 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.314, allocations: 12.03 kB / 1.241 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/0.3141, allocations: 48.66 kB / 1.241 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006781/0.3148, allocations: 418.2 kB / 1.241 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/0.3148, allocations: 24.56 kB / 1.242 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.79e-05/0.3149, allocations: 24 kB / 1.242 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000345/0.3152, allocations: 191.3 kB / 1.242 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.3152, allocations: 4 kB / 1.242 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.234e-05/0.3152, allocations: 8 kB / 1.242 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.3152, allocations: 4 kB / 1.242 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002396/0.3155, allocations: 133.7 kB / 1.242 GB, free: 4.836 MB / 0.9825 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.001511/0.317, allocations: 0.8832 MB / 1.243 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004692/0.3175, allocations: 118.5 kB / 1.243 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.076e-05/0.3175, allocations: 40.84 kB / 1.243 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003103/0.3178, allocations: 340.3 kB / 1.243 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.3179, allocations: 34.55 kB / 1.243 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.403e-06/0.3179, allocations: 4 kB / 1.243 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.0003874/0.3183, allocations: 181.3 kB / 1.243 GB, free: 3.07 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.3183, allocations: 51.41 kB / 1.243 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005775/0.3189, allocations: 453.9 kB / 1.244 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/0.3189, allocations: 33.64 kB / 1.244 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001759/0.3191, allocations: 212.4 kB / 1.244 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.064e-05/0.3191, allocations: 43.64 kB / 1.244 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.443e-05/0.3192, allocations: 57.64 kB / 1.244 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.3194, allocations: 350.8 kB / 1.245 GB, free: 1.848 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.3195, allocations: 47.98 kB / 1.245 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/0.3196, allocations: 102.7 kB / 1.245 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002181/0.3199, allocations: 139.3 kB / 1.245 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3199, allocations: 0 / 1.245 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003797/0.3202, allocations: 225.2 kB / 1.245 GB, free: 1.309 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.3203, allocations: 8 kB / 1.245 GB, free: 1.301 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.3203, allocations: 0 / 1.245 GB, free: 1.301 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.3203, allocations: 4 kB / 1.245 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.3205, allocations: 40.03 kB / 1.245 GB, free: 1.258 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.3205, allocations: 11.94 kB / 1.245 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00031/0.3208, allocations: 35.77 kB / 1.245 GB, free: 1.211 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.244e-05/0.3209, allocations: 12 kB / 1.245 GB, free: 1.199 MB / 0.9825 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.0001573/0.321, allocations: 149.8 kB / 1.245 GB, free: 1.043 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.484e-05/0.3211, allocations: 47.72 kB / 1.245 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003575/0.3214, allocations: 202 kB / 1.246 GB, free: 0.7969 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.3215, allocations: 0 / 1.246 GB, free: 0.7969 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.3215, allocations: 0 / 1.246 GB, free: 0.7969 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3215, allocations: 4 kB / 1.246 GB, free: 0.793 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008231/0.3223, allocations: 0.6225 MB / 1.246 GB, free: 104 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.3223, allocations: 0 / 1.246 GB, free: 104 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.3224, allocations: 27.92 kB / 1.246 GB, free: 76 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.3224, allocations: 4 kB / 1.246 GB, free: 72 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.3224, allocations: 0 / 1.246 GB, free: 72 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.3224, allocations: 4 kB / 1.246 GB, free: 68 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.3224, allocations: 3.938 kB / 1.246 GB, free: 64 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003477/0.3228, allocations: 308.3 kB / 1.246 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001406/0.3229, allocations: 136.8 kB / 1.247 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.199e-05/0.323, allocations: 4 kB / 1.247 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000236/0.3232, allocations: 11.98 kB / 1.247 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.517e-05/0.3232, allocations: 19.92 kB / 1.247 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.3232, allocations: 4 kB / 1.247 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004173/0.3237, allocations: 327.1 kB / 1.247 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.3237, allocations: 0 / 1.247 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004181/0.3241, allocations: 99.81 kB / 1.247 GB, free: 15.13 MB / 0.9981 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.000439/0.3245, allocations: 226.5 kB / 1.247 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002871/0.3248, allocations: 127.9 kB / 1.247 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3248, allocations: 3.938 kB / 1.247 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.3249, allocations: 55.86 kB / 1.247 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009297/0.3258, allocations: 184.7 kB / 1.248 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.3271, allocations: 0.6763 MB / 1.248 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004155/0.3275, allocations: 0.8113 MB / 1.249 GB, free: 13 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002027/0.3277, allocations: 68.16 kB / 1.249 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.055e-05/0.3278, allocations: 35.42 kB / 1.249 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of SimCode: time 3.41e-07/0.3278, allocations: 0 / 1.249 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of Templates: time 0.01387/0.3417, allocations: 7.305 MB / 1.256 GB, free: 5.754 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.sim & ./Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.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.454896392300725]