Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Fluid.FixedResistances.Validation.PressureDropsSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.1..m_flow|res.1..m_flow_turbulent",fileNamePrefix="Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries") translateModel(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.1..m_flow|res.1..m_flow_turbulent",fileNamePrefix="Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008198/0.008198, allocations: 98.22 kB / 15.73 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 197.6 kB / 16.67 MB, free: 5.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.669/2.669, allocations: 469.8 MB / 0.7425 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 72.09 kB / 1.065 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8626/0.8638, allocations: 159.1 MB / 1.221 GB, free: 2.133 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries): time 0.1832/1.047, allocations: 162 MB / 1.379 GB, free: 15.54 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.003064/1.05, allocations: 1.715 MB / 1.38 GB, free: 13.82 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004483/1.051, allocations: 7.938 kB / 1.38 GB, free: 13.82 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0006024/1.051, allocations: 166.9 kB / 1.381 GB, free: 13.65 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001354/1.053, allocations: 0.5406 MB / 1.381 GB, free: 13.11 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001187/1.054, allocations: 432.6 kB / 1.382 GB, free: 12.69 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002595/1.056, allocations: 2.452 MB / 1.384 GB, free: 10.23 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001374/1.058, allocations: 0.7962 MB / 1.385 GB, free: 9.426 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001862/1.06, allocations: 0.9458 MB / 1.386 GB, free: 8.477 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001185/1.061, allocations: 0.7078 MB / 1.386 GB, free: 7.766 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001694/1.061, allocations: 60 kB / 1.386 GB, free: 7.707 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001584/1.062, allocations: 0.7445 MB / 1.387 GB, free: 6.961 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003934/1.063, allocations: 318.8 kB / 1.387 GB, free: 6.648 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0009118/1.064, allocations: 0.5324 MB / 1.388 GB, free: 6.113 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002076/1.066, allocations: 1.417 MB / 1.389 GB, free: 4.691 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/1.066, allocations: 0 / 1.389 GB, free: 4.691 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.643e-06/1.066, allocations: 0 / 1.389 GB, free: 4.691 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.447e-05/1.066, allocations: 0 / 1.389 GB, free: 4.691 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.003408/1.069, allocations: 1.454 MB / 1.391 GB, free: 3.184 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/1.069, allocations: 8.625 kB / 1.391 GB, free: 3.176 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001002/1.07, allocations: 191.2 kB / 1.391 GB, free: 2.988 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001505/1.072, allocations: 0.8538 MB / 1.392 GB, free: 2.09 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.375e-05/1.072, allocations: 45 kB / 1.392 GB, free: 2.047 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.036e-05/1.072, allocations: 63.98 kB / 1.392 GB, free: 1.984 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/1.073, allocations: 0.6823 MB / 1.393 GB, free: 1.293 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/1.073, allocations: 0 / 1.393 GB, free: 1.293 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.019e-05/1.073, allocations: 20 kB / 1.393 GB, free: 1.273 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/1.073, allocations: 12 kB / 1.393 GB, free: 1.262 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009515/1.074, allocations: 0.519 MB / 1.393 GB, free: 0.7383 MB / 1.107 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.004023/1.078, allocations: 3.253 MB / 1.396 GB, free: 13.12 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006163/1.079, allocations: 366.3 kB / 1.397 GB, free: 12.75 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003669/1.079, allocations: 232.6 kB / 1.397 GB, free: 12.52 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003233/1.08, allocations: 202.1 kB / 1.397 GB, free: 12.29 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/1.08, allocations: 34.5 kB / 1.397 GB, free: 12.24 MB / 1.123 GB Notification: Performance of pre-optimization done (n=28): time 1.663e-06/1.08, allocations: 0 / 1.397 GB, free: 12.24 MB / 1.123 GB Notification: Performance of matching and sorting (n=28): time 0.004939/1.085, allocations: 1.478 MB / 1.398 GB, free: 10.73 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/1.085, allocations: 59.41 kB / 1.399 GB, free: 10.66 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001368/1.086, allocations: 1.069 MB / 1.4 GB, free: 9.574 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 5.011e-05/1.086, allocations: 37.7 kB / 1.4 GB, free: 9.531 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003399/1.086, allocations: 440.8 kB / 1.4 GB, free: 9.098 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 9.043e-05/1.086, allocations: 107.1 kB / 1.4 GB, free: 8.992 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/1.087, allocations: 69.64 kB / 1.4 GB, free: 8.918 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001087/1.087, allocations: 317.9 kB / 1.401 GB, free: 8.602 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002977/1.087, allocations: 172.7 kB / 1.401 GB, free: 8.43 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000452/1.087, allocations: 360.6 kB / 1.401 GB, free: 8.004 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006075/1.088, allocations: 377 kB / 1.401 GB, free: 7.625 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/1.088, allocations: 0 / 1.401 GB, free: 7.625 MB / 1.123 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.002208/1.09, allocations: 0.8031 MB / 1.402 GB, free: 6.812 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/1.09, allocations: 6.188 kB / 1.402 GB, free: 6.809 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/1.09, allocations: 0 / 1.402 GB, free: 6.809 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001648/1.092, allocations: 364.4 kB / 1.403 GB, free: 6.449 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/1.092, allocations: 19.92 kB / 1.403 GB, free: 6.43 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001118/1.093, allocations: 1.003 MB / 1.404 GB, free: 5.402 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006062/1.094, allocations: 55.84 kB / 1.404 GB, free: 5.348 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.141e-05/1.094, allocations: 8 kB / 1.404 GB, free: 5.34 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006754/1.095, allocations: 454.2 kB / 1.404 GB, free: 4.895 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003844/1.095, allocations: 319.2 kB / 1.404 GB, free: 4.512 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004725/1.095, allocations: 313.5 kB / 1.405 GB, free: 4.195 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.894e-06/1.095, allocations: 0 / 1.405 GB, free: 4.195 MB / 1.123 GB Notification: Performance of matching and sorting (n=28) (initialization_lambda0): time 0.001271/1.097, allocations: 0.6051 MB / 1.405 GB, free: 3.582 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/1.097, allocations: 8 kB / 1.405 GB, free: 3.574 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-06/1.097, allocations: 0 / 1.405 GB, free: 3.574 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005673/1.097, allocations: 200.7 kB / 1.405 GB, free: 3.375 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/1.097, allocations: 19.98 kB / 1.405 GB, free: 3.355 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00383/1.101, allocations: 3.307 MB / 1.409 GB, free: 15.89 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005412/1.102, allocations: 44.28 kB / 1.409 GB, free: 15.85 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.93e-05/1.102, allocations: 8 kB / 1.409 GB, free: 15.84 MB / 1.139 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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0001605/1.102, allocations: 204.2 kB / 1.409 GB, free: 15.64 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001762/1.102, allocations: 103.3 kB / 1.409 GB, free: 15.54 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001252/1.103, allocations: 0.6982 MB / 1.41 GB, free: 14.82 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/1.103, allocations: 7.984 kB / 1.41 GB, free: 14.82 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/1.103, allocations: 4 kB / 1.41 GB, free: 14.81 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/1.103, allocations: 0 / 1.41 GB, free: 14.81 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00231/1.106, allocations: 1.49 MB / 1.411 GB, free: 13.24 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/1.106, allocations: 4.219 kB / 1.411 GB, free: 13.24 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/1.106, allocations: 23.92 kB / 1.411 GB, free: 13.21 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004613/1.106, allocations: 218.4 kB / 1.411 GB, free: 13 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.176e-05/1.106, allocations: 8 kB / 1.411 GB, free: 12.99 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008931/1.107, allocations: 0.9834 MB / 1.412 GB, free: 11.98 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/1.107, allocations: 3.938 kB / 1.412 GB, free: 11.98 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/1.108, allocations: 0.8032 MB / 1.413 GB, free: 11.14 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003196/1.109, allocations: 216.4 kB / 1.413 GB, free: 10.91 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/1.109, allocations: 8 kB / 1.413 GB, free: 10.9 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003995/1.109, allocations: 19.97 kB / 1.413 GB, free: 10.88 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.592e-05/1.109, allocations: 19.97 kB / 1.413 GB, free: 10.86 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.268e-05/1.109, allocations: 11.94 kB / 1.413 GB, free: 10.85 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001001/1.11, allocations: 0.7786 MB / 1.414 GB, free: 10.06 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/1.11, allocations: 0 / 1.414 GB, free: 10.06 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001073/1.111, allocations: 403.4 kB / 1.415 GB, free: 9.664 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004227/1.112, allocations: 167.5 kB / 1.415 GB, free: 9.496 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001485/1.113, allocations: 0.7411 MB / 1.415 GB, free: 8.746 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.113, allocations: 0 / 1.415 GB, free: 8.746 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0004226/1.114, allocations: 210.9 kB / 1.416 GB, free: 8.539 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001942/1.116, allocations: 487.5 kB / 1.416 GB, free: 8.066 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00241/1.118, allocations: 1.717 MB / 1.418 GB, free: 6.293 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007343/1.119, allocations: 1.18 MB / 1.419 GB, free: 5.086 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0005255/1.119, allocations: 211.3 kB / 1.419 GB, free: 4.875 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/1.119, allocations: 55.44 kB / 1.419 GB, free: 4.82 MB / 1.139 GB Notification: Performance of SimCode: time 4.91e-07/1.119, allocations: 0 / 1.419 GB, free: 4.82 MB / 1.139 GB Notification: Performance of Templates: time 0.03501/1.154, allocations: 19.97 MB / 1.439 GB, free: 1.102 MB / 1.154 GB make -j1 -f Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.makefile (rm -f Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; mkfifo Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe >> ../files/Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.sim & ./Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches