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.001866/0.001866, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002276/0.002276, allocations: 214.1 kB / 22.99 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.47/1.47, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.745/2.745, allocations: 476 MB / 0.7707 GB, free: 4.703 MB / 0.6231 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.002061/0.002061, allocations: 65.41 kB / 1.118 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3435, allocations: 170 MB / 1.284 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01889/0.3624, allocations: 14.37 MB / 1.298 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00736/0.3697, allocations: 4.314 MB / 1.302 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006677/0.3704, allocations: 23.75 kB / 1.302 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007116/0.3711, allocations: 190.6 kB / 1.302 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001725/0.3728, allocations: 0.6024 MB / 1.303 GB, free: 8.371 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001645/0.3745, allocations: 0.5791 MB / 1.303 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001433/0.3759, allocations: 0.978 MB / 1.304 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004676/0.3764, allocations: 252.4 kB / 1.305 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008191/0.3772, allocations: 450.1 kB / 1.305 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004693/0.3777, allocations: 302.6 kB / 1.305 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.473e-05/0.3777, allocations: 24 kB / 1.305 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004922/0.3782, allocations: 187.6 kB / 1.306 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.3783, allocations: 87.55 kB / 1.306 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002019/0.3785, allocations: 163.1 kB / 1.306 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007704/0.3793, allocations: 0.5096 MB / 1.306 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.3793, allocations: 3.984 kB / 1.306 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3793, allocations: 3.938 kB / 1.306 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.937e-06/0.3793, allocations: 0 / 1.306 GB, free: 4.848 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.001225/0.3806, allocations: 0.6601 MB / 1.307 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.3806, allocations: 15.97 kB / 1.307 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.3807, allocations: 52.61 kB / 1.307 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007414/0.3814, allocations: 339.2 kB / 1.307 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.024e-05/0.3815, allocations: 20.56 kB / 1.307 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.112e-05/0.3815, allocations: 28 kB / 1.307 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003627/0.3819, allocations: 191.3 kB / 1.308 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.3819, allocations: 0 / 1.308 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.371e-05/0.3819, allocations: 16 kB / 1.308 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.3819, allocations: 8 kB / 1.308 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002487/0.3822, allocations: 129.7 kB / 1.308 GB, free: 3.344 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.001435/0.3836, allocations: 0.6356 MB / 1.308 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004719/0.3841, allocations: 114.5 kB / 1.308 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.541e-05/0.3842, allocations: 44.83 kB / 1.308 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001496/0.3843, allocations: 31.97 kB / 1.308 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.446e-05/0.3844, allocations: 34.56 kB / 1.309 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=12): time 1.413e-06/0.3844, allocations: 0 / 1.309 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12): time 0.0003897/0.3848, allocations: 173.4 kB / 1.309 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.071e-05/0.3848, allocations: 59.33 kB / 1.309 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005205/0.3853, allocations: 390 kB / 1.309 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/0.3854, allocations: 29.7 kB / 1.309 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002031/0.3856, allocations: 224.5 kB / 1.309 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.736e-05/0.3856, allocations: 43.64 kB / 1.309 GB, free: 1.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.353e-05/0.3857, allocations: 53.7 kB / 1.309 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001851/0.3859, allocations: 342.8 kB / 1.31 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.386, allocations: 51.97 kB / 1.31 GB, free: 1.047 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002828/0.3863, allocations: 263.2 kB / 1.31 GB, free: 0.7344 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002152/0.3865, allocations: 135.3 kB / 1.31 GB, free: 0.5898 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3865, allocations: 0 / 1.31 GB, free: 0.5898 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003861/0.3869, allocations: 217.2 kB / 1.31 GB, free: 380 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.3869, allocations: 4 kB / 1.31 GB, free: 376 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.3869, allocations: 0 / 1.31 GB, free: 376 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.3869, allocations: 7.938 kB / 1.31 GB, free: 368 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002333/0.3872, allocations: 43.97 kB / 1.31 GB, free: 324 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.3872, allocations: 4 kB / 1.31 GB, free: 320 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002767/0.3874, allocations: 27.75 kB / 1.31 GB, free: 292 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.973e-05/0.3875, allocations: 16 kB / 1.31 GB, free: 276 kB / 0.9981 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.0001811/0.3877, allocations: 157.7 kB / 1.311 GB, free: 108 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.142e-05/0.3877, allocations: 43.7 kB / 1.311 GB, free: 64 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003963/0.3881, allocations: 188.2 kB / 1.311 GB, free: 15.87 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.3881, allocations: 4 kB / 1.311 GB, free: 15.87 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3881, allocations: 192 / 1.311 GB, free: 15.87 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.3881, allocations: 0 / 1.311 GB, free: 15.87 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008387/0.389, allocations: 0.5441 MB / 1.311 GB, free: 15.27 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.389, allocations: 0 / 1.311 GB, free: 15.27 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.3891, allocations: 23.98 kB / 1.311 GB, free: 15.25 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.3891, allocations: 4 kB / 1.311 GB, free: 15.25 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.3891, allocations: 4 kB / 1.311 GB, free: 15.24 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.673e-06/0.3891, allocations: 7.938 kB / 1.311 GB, free: 15.23 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3891, allocations: 0 / 1.311 GB, free: 15.23 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003686/0.3895, allocations: 302.6 kB / 1.312 GB, free: 14.91 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.3896, allocations: 51.73 kB / 1.312 GB, free: 14.86 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.745e-05/0.3897, allocations: 8.125 kB / 1.312 GB, free: 14.85 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/0.3899, allocations: 11.98 kB / 1.312 GB, free: 14.84 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.222e-05/0.3899, allocations: 19.86 kB / 1.312 GB, free: 14.82 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.3899, allocations: 7.938 kB / 1.312 GB, free: 14.81 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003616/0.3903, allocations: 275.1 kB / 1.312 GB, free: 14.55 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.3903, allocations: 0 / 1.312 GB, free: 14.55 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004743/0.3907, allocations: 107.8 kB / 1.312 GB, free: 14.44 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.0003776/0.3911, allocations: 205.8 kB / 1.312 GB, free: 14.24 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002996/0.3914, allocations: 123.8 kB / 1.313 GB, free: 14.12 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3914, allocations: 0 / 1.313 GB, free: 14.12 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.3915, allocations: 59.84 kB / 1.313 GB, free: 14.06 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008311/0.3924, allocations: 146.7 kB / 1.313 GB, free: 13.92 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.3938, allocations: 0.6877 MB / 1.313 GB, free: 13.19 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002249/0.394, allocations: 211 kB / 1.314 GB, free: 12.96 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.849e-05/0.3941, allocations: 27.44 kB / 1.314 GB, free: 12.93 MB / 1.014 GB Notification: Performance of SimCode: time 6.01e-07/0.3941, allocations: 3.938 kB / 1.314 GB, free: 12.93 MB / 1.014 GB Notification: Performance of Templates: time 0.01066/0.4048, allocations: 6.026 MB / 1.319 GB, free: 6.965 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/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: 12.186789616011083]