Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.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.001494/0.001494, allocations: 112.4 kB / 17.13 MB, free: 6.008 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.001558/0.001558, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.55/1.55, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.986/2.986, allocations: 0.49 GB / 0.7923 GB, free: 1.293 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Fluid.FixedResistances.Validation.PressureDropsSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.1..m_flow|res.1..m_flow_turbulent",fileNamePrefix="Buildings_12_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries") translateModel(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.1..m_flow|res.1..m_flow_turbulent",fileNamePrefix="Buildings_12_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries") [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.002039/0.002039, allocations: 70.08 kB / 1.15 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9668/0.9688, allocations: 176.1 MB / 1.322 GB, free: 25.08 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries): time 0.2136/1.182, allocations: 165 MB / 1.483 GB, free: 15.66 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.003368/1.186, allocations: 1.722 MB / 1.485 GB, free: 14.27 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000464/1.186, allocations: 18.66 kB / 1.485 GB, free: 14.26 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006534/1.187, allocations: 166.3 kB / 1.485 GB, free: 14.12 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001508/1.188, allocations: 0.5301 MB / 1.485 GB, free: 13.72 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001296/1.19, allocations: 438 kB / 1.486 GB, free: 13.42 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0029/1.193, allocations: 2.429 MB / 1.488 GB, free: 12.05 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001671/1.194, allocations: 0.7972 MB / 1.489 GB, free: 11.61 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003648/1.198, allocations: 1.104 MB / 1.49 GB, free: 11 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00177/1.2, allocations: 0.7338 MB / 1.491 GB, free: 10.57 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001584/1.2, allocations: 56.81 kB / 1.491 GB, free: 10.57 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001919/1.202, allocations: 0.7567 MB / 1.492 GB, free: 10.16 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0004129/1.202, allocations: 315.2 kB / 1.492 GB, free: 9.949 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0008143/1.203, allocations: 0.5441 MB / 1.492 GB, free: 9.617 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002184/1.205, allocations: 1.422 MB / 1.494 GB, free: 8.77 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/1.205, allocations: 3.984 kB / 1.494 GB, free: 8.766 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.603e-06/1.205, allocations: 1.312 kB / 1.494 GB, free: 8.766 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.221e-05/1.205, allocations: 0 / 1.494 GB, free: 8.766 MB / 1.17 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.002814/1.208, allocations: 1.469 MB / 1.495 GB, free: 7.633 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/1.208, allocations: 14.42 kB / 1.495 GB, free: 7.629 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009209/1.209, allocations: 188.1 kB / 1.495 GB, free: 7.539 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001663/1.211, allocations: 0.8872 MB / 1.496 GB, free: 6.672 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.27e-05/1.211, allocations: 45 kB / 1.496 GB, free: 6.629 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.953e-05/1.211, allocations: 56 kB / 1.496 GB, free: 6.574 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/1.212, allocations: 0.6861 MB / 1.497 GB, free: 5.875 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/1.212, allocations: 0 / 1.497 GB, free: 5.875 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.139e-05/1.212, allocations: 20 kB / 1.497 GB, free: 5.855 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/1.212, allocations: 15.94 kB / 1.497 GB, free: 5.84 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009653/1.213, allocations: 0.523 MB / 1.498 GB, free: 5.316 MB / 1.17 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.004482/1.218, allocations: 3.254 MB / 1.501 GB, free: 1.691 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006525/1.218, allocations: 374.2 kB / 1.501 GB, free: 1.316 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003876/1.219, allocations: 234.1 kB / 1.501 GB, free: 1.086 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003382/1.219, allocations: 190.2 kB / 1.502 GB, free: 0.8633 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/1.219, allocations: 38.56 kB / 1.502 GB, free: 0.8164 MB / 1.17 GB Notification: Performance of pre-optimization done (n=28): time 1.804e-06/1.219, allocations: 0 / 1.502 GB, free: 0.8164 MB / 1.17 GB Notification: Performance of matching and sorting (n=28): time 0.005238/1.224, allocations: 1.483 MB / 1.503 GB, free: 15.3 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/1.224, allocations: 59.41 kB / 1.503 GB, free: 15.23 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001703/1.226, allocations: 1.098 MB / 1.504 GB, free: 14.12 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 7.461e-05/1.226, allocations: 38.03 kB / 1.504 GB, free: 14.07 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004317/1.227, allocations: 445 kB / 1.505 GB, free: 13.64 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/1.227, allocations: 103.1 kB / 1.505 GB, free: 13.54 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001469/1.227, allocations: 77.62 kB / 1.505 GB, free: 13.45 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001482/1.227, allocations: 317.9 kB / 1.505 GB, free: 13.14 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003292/1.227, allocations: 172.7 kB / 1.505 GB, free: 12.96 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000496/1.228, allocations: 354.3 kB / 1.506 GB, free: 12.55 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006695/1.228, allocations: 381.2 kB / 1.506 GB, free: 12.16 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/1.228, allocations: 0 / 1.506 GB, free: 12.16 MB / 1.186 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.002166/1.231, allocations: 0.8131 MB / 1.507 GB, free: 11.34 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/1.231, allocations: 8 kB / 1.507 GB, free: 11.33 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/1.231, allocations: 0 / 1.507 GB, free: 11.33 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001529/1.232, allocations: 356.4 kB / 1.507 GB, free: 10.98 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/1.232, allocations: 19.98 kB / 1.507 GB, free: 10.96 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001163/1.234, allocations: 1.007 MB / 1.508 GB, free: 9.93 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000703/1.234, allocations: 47.81 kB / 1.508 GB, free: 9.883 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.2e-05/1.234, allocations: 16 kB / 1.508 GB, free: 9.867 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007536/1.235, allocations: 459.8 kB / 1.509 GB, free: 9.414 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000423/1.235, allocations: 312.9 kB / 1.509 GB, free: 9.035 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005238/1.236, allocations: 311.5 kB / 1.509 GB, free: 8.719 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.506e-06/1.236, allocations: 3.984 kB / 1.509 GB, free: 8.715 MB / 1.186 GB Notification: Performance of matching and sorting (n=28) (initialization_lambda0): time 0.001284/1.237, allocations: 0.5963 MB / 1.51 GB, free: 8.109 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/1.237, allocations: 4 kB / 1.51 GB, free: 8.105 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/1.237, allocations: 4 kB / 1.51 GB, free: 8.102 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005446/1.238, allocations: 202.5 kB / 1.51 GB, free: 7.902 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/1.238, allocations: 19.98 kB / 1.51 GB, free: 7.883 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004145/1.242, allocations: 3.311 MB / 1.513 GB, free: 4.422 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007323/1.243, allocations: 44.27 kB / 1.513 GB, free: 4.379 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.914e-05/1.243, allocations: 12 kB / 1.513 GB, free: 4.367 MB / 1.186 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.000201/1.243, allocations: 192.3 kB / 1.513 GB, free: 4.172 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/1.243, allocations: 107.3 kB / 1.514 GB, free: 4.066 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001442/1.245, allocations: 0.7023 MB / 1.514 GB, free: 3.352 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/1.245, allocations: 4 kB / 1.514 GB, free: 3.348 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/1.245, allocations: 0 / 1.514 GB, free: 3.348 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/1.245, allocations: 3.984 kB / 1.514 GB, free: 3.344 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002599/1.247, allocations: 1.511 MB / 1.516 GB, free: 1.754 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/1.247, allocations: 4 kB / 1.516 GB, free: 1.75 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/1.247, allocations: 19.98 kB / 1.516 GB, free: 1.73 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005086/1.248, allocations: 216.5 kB / 1.516 GB, free: 1.516 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.347e-05/1.248, allocations: 15.94 kB / 1.516 GB, free: 1.5 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009919/1.249, allocations: 0.9826 MB / 1.517 GB, free: 0.4961 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/1.249, allocations: 7.969 kB / 1.517 GB, free: 500 kB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/1.25, allocations: 0.7983 MB / 1.518 GB, free: 15.65 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000374/1.251, allocations: 212.4 kB / 1.518 GB, free: 15.42 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/1.251, allocations: 11.98 kB / 1.518 GB, free: 15.41 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003849/1.251, allocations: 15.98 kB / 1.518 GB, free: 15.39 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.412e-05/1.251, allocations: 19.91 kB / 1.518 GB, free: 15.38 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.432e-05/1.251, allocations: 16 kB / 1.518 GB, free: 15.36 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001142/1.252, allocations: 0.7951 MB / 1.519 GB, free: 14.55 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.1e-07/1.252, allocations: 0 / 1.519 GB, free: 14.55 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001231/1.253, allocations: 399.5 kB / 1.519 GB, free: 14.16 MB / 1.201 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.0003558/1.254, allocations: 167 kB / 1.519 GB, free: 13.99 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001642/1.255, allocations: 0.7418 MB / 1.52 GB, free: 13.24 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.255, allocations: 0 / 1.52 GB, free: 13.24 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0004616/1.256, allocations: 207 kB / 1.52 GB, free: 13.04 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002321/1.258, allocations: 486.4 kB / 1.521 GB, free: 12.56 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002971/1.261, allocations: 1.797 MB / 1.522 GB, free: 10.7 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008557/1.262, allocations: 1.188 MB / 1.524 GB, free: 9.484 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/1.262, allocations: 55.44 kB / 1.524 GB, free: 9.43 MB / 1.201 GB Notification: Performance of SimCode: time 9.72e-07/1.262, allocations: 0 / 1.524 GB, free: 9.43 MB / 1.201 GB Notification: Performance of Templates: time 0.0309/1.293, allocations: 20.43 MB / 1.544 GB, free: 5.098 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; mkfifo Buildings_12_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe >> ../files/Buildings_12_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.sim & ./Buildings_12_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.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: 15.66859912298969]