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.001697/0.001697, allocations: 110.1 kB / 19.7 MB, free: 2.262 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.002026/0.002026, allocations: 213.3 kB / 23 MB, free: 5.113 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.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 8.031 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.799/2.799, allocations: 476.7 MB / 0.7714 GB, free: 4.289 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.00203/0.00203, allocations: 60.19 kB / 1.119 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.363/0.3651, allocations: 169.9 MB / 1.285 GB, free: 3.289 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01854/0.3836, allocations: 15.76 MB / 1.3 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007251/0.3909, allocations: 4.714 MB / 1.305 GB, free: 14.73 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006158/0.3915, allocations: 23.75 kB / 1.305 GB, free: 14.71 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0007255/0.3922, allocations: 198.6 kB / 1.305 GB, free: 14.52 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001734/0.3939, allocations: 0.6025 MB / 1.305 GB, free: 13.91 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001664/0.3956, allocations: 0.588 MB / 1.306 GB, free: 13.33 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001517/0.3971, allocations: 0.9818 MB / 1.307 GB, free: 12.34 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004809/0.3976, allocations: 260.4 kB / 1.307 GB, free: 12.08 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008853/0.3985, allocations: 434.2 kB / 1.308 GB, free: 11.65 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005282/0.399, allocations: 318.6 kB / 1.308 GB, free: 11.34 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.411e-05/0.3991, allocations: 24 kB / 1.308 GB, free: 11.32 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006258/0.3997, allocations: 227.6 kB / 1.308 GB, free: 11.09 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001296/0.3998, allocations: 87.55 kB / 1.308 GB, free: 11.01 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002404/0.4001, allocations: 198.8 kB / 1.308 GB, free: 10.81 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0008463/0.4009, allocations: 0.5174 MB / 1.309 GB, free: 10.29 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.4009, allocations: 4 kB / 1.309 GB, free: 10.29 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4009, allocations: 0 / 1.309 GB, free: 10.29 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.375e-06/0.4009, allocations: 0 / 1.309 GB, free: 10.29 MB / 1.014 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.001244/0.4022, allocations: 0.6717 MB / 1.31 GB, free: 9.586 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.4022, allocations: 12.03 kB / 1.31 GB, free: 9.574 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001092/0.4023, allocations: 48.61 kB / 1.31 GB, free: 9.527 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007308/0.403, allocations: 351.2 kB / 1.31 GB, free: 9.164 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.972e-05/0.4031, allocations: 20.56 kB / 1.31 GB, free: 9.145 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.954e-05/0.4031, allocations: 31.98 kB / 1.31 GB, free: 9.113 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003486/0.4035, allocations: 191.3 kB / 1.31 GB, free: 8.922 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.4035, allocations: 4 kB / 1.31 GB, free: 8.918 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/0.4035, allocations: 8 kB / 1.31 GB, free: 8.91 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.4035, allocations: 7.938 kB / 1.31 GB, free: 8.902 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000255/0.4038, allocations: 133.7 kB / 1.31 GB, free: 8.773 MB / 1.014 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.001534/0.4053, allocations: 0.8406 MB / 1.311 GB, free: 7.859 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004773/0.4058, allocations: 106.6 kB / 1.311 GB, free: 7.746 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.826e-05/0.4059, allocations: 64.77 kB / 1.311 GB, free: 7.68 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001457/0.406, allocations: 27.97 kB / 1.311 GB, free: 7.652 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.406, allocations: 38.55 kB / 1.311 GB, free: 7.605 MB / 1.014 GB Notification: Performance of pre-optimization done (n=12): time 1.703e-06/0.406, allocations: 3.938 kB / 1.311 GB, free: 7.602 MB / 1.014 GB Notification: Performance of matching and sorting (n=12): time 0.0003997/0.4064, allocations: 177.3 kB / 1.312 GB, free: 7.422 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.4065, allocations: 51.41 kB / 1.312 GB, free: 7.359 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000578/0.4071, allocations: 461.9 kB / 1.312 GB, free: 6.902 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/0.4071, allocations: 33.7 kB / 1.312 GB, free: 6.863 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/0.4073, allocations: 212.4 kB / 1.312 GB, free: 6.652 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.097e-05/0.4073, allocations: 43.58 kB / 1.312 GB, free: 6.609 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.4074, allocations: 53.7 kB / 1.312 GB, free: 6.551 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.4076, allocations: 346.8 kB / 1.313 GB, free: 6.203 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.4077, allocations: 51.97 kB / 1.313 GB, free: 6.152 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001733/0.4079, allocations: 115.8 kB / 1.313 GB, free: 6.023 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002162/0.4081, allocations: 131.3 kB / 1.313 GB, free: 5.883 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.4081, allocations: 3.938 kB / 1.313 GB, free: 5.879 MB / 1.014 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003958/0.4085, allocations: 229.2 kB / 1.313 GB, free: 5.648 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.4085, allocations: 7.984 kB / 1.313 GB, free: 5.641 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.547e-06/0.4085, allocations: 4 kB / 1.313 GB, free: 5.637 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.4085, allocations: 0 / 1.313 GB, free: 5.637 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000223/0.4087, allocations: 47.92 kB / 1.313 GB, free: 5.59 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.4088, allocations: 0 / 1.313 GB, free: 5.59 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003062/0.4091, allocations: 31.83 kB / 1.313 GB, free: 5.559 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.564e-05/0.4091, allocations: 15.98 kB / 1.313 GB, free: 5.543 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.0001709/0.4093, allocations: 153.7 kB / 1.313 GB, free: 5.383 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.897e-05/0.4093, allocations: 39.72 kB / 1.314 GB, free: 5.344 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000372/0.4097, allocations: 198.9 kB / 1.314 GB, free: 5.145 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.4097, allocations: 4 kB / 1.314 GB, free: 5.141 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4097, allocations: 0 / 1.314 GB, free: 5.141 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.4097, allocations: 3.984 kB / 1.314 GB, free: 5.137 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000847/0.4106, allocations: 0.5943 MB / 1.314 GB, free: 4.48 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.4106, allocations: 3.938 kB / 1.314 GB, free: 4.477 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.4107, allocations: 28.11 kB / 1.314 GB, free: 4.449 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.4107, allocations: 0 / 1.314 GB, free: 4.449 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.4107, allocations: 8 kB / 1.314 GB, free: 4.441 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.4107, allocations: 0 / 1.314 GB, free: 4.441 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.765e-06/0.4107, allocations: 11.92 kB / 1.314 GB, free: 4.43 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003378/0.4111, allocations: 304.6 kB / 1.315 GB, free: 4.105 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.4112, allocations: 55.67 kB / 1.315 GB, free: 4.051 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.682e-05/0.4112, allocations: 3.984 kB / 1.315 GB, free: 4.047 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002242/0.4115, allocations: 12 kB / 1.315 GB, free: 4.035 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.653e-05/0.4115, allocations: 15.91 kB / 1.315 GB, free: 4.02 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.4115, allocations: 8.062 kB / 1.315 GB, free: 4.012 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004085/0.4119, allocations: 331.1 kB / 1.315 GB, free: 3.688 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.4119, allocations: 0 / 1.315 GB, free: 3.688 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004526/0.4124, allocations: 99.83 kB / 1.315 GB, free: 3.59 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.0003389/0.4127, allocations: 203.6 kB / 1.315 GB, free: 3.383 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000297/0.413, allocations: 136.2 kB / 1.315 GB, free: 3.25 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.413, allocations: 192 / 1.315 GB, free: 3.25 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 9.942e-05/0.4131, allocations: 63.86 kB / 1.316 GB, free: 3.188 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009253/0.414, allocations: 172.9 kB / 1.316 GB, free: 3.023 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.4155, allocations: 0.6982 MB / 1.316 GB, free: 2.281 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004506/0.4159, allocations: 0.8112 MB / 1.317 GB, free: 1.445 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.864e-05/0.416, allocations: 39.42 kB / 1.317 GB, free: 1.41 MB / 1.014 GB Notification: Performance of SimCode: time 4.61e-07/0.416, allocations: 0 / 1.317 GB, free: 1.41 MB / 1.014 GB Notification: Performance of Templates: time 0.01076/0.4268, allocations: 6.328 MB / 1.323 GB, free: 11.16 MB / 1.029 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/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.228676485974574]