Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001845/0.001845, allocations: 80.52 kB / 19.18 MB, free: 2.527 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.002356/0.002356, allocations: 164.7 kB / 22.46 MB, free: 5.355 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.576/1.576, allocations: 177.2 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.074/3.074, allocations: 389 MB / 0.633 GB, free: 1 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.936e-06/2.936e-06, allocations: 0 / 1 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.492e-05/3.785e-05, allocations: 2.281 kB / 1 GB, free: 7.312 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries): time 1.044/1.044, allocations: 142.3 MB / 1.139 GB, free: 45.31 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.003598/1.047, allocations: 1.598 MB / 1.141 GB, free: 45.27 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003685/1.048, allocations: 18.09 kB / 1.141 GB, free: 45.27 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0008082/1.048, allocations: 157.7 kB / 1.141 GB, free: 45.27 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001712/1.05, allocations: 0.5269 MB / 1.141 GB, free: 45.25 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001457/1.051, allocations: 445.4 kB / 1.142 GB, free: 45.24 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00276/1.054, allocations: 2.46 MB / 1.144 GB, free: 45.23 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008543/1.055, allocations: 0.6282 MB / 1.145 GB, free: 45.19 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002428/1.058, allocations: 1.411 MB / 1.146 GB, free: 45.05 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009456/1.058, allocations: 0.6903 MB / 1.147 GB, free: 44.96 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001275/1.059, allocations: 55.78 kB / 1.147 GB, free: 44.96 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001369/1.06, allocations: 0.614 MB / 1.147 GB, free: 44.92 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003486/1.06, allocations: 336.6 kB / 1.148 GB, free: 44.86 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0005844/1.061, allocations: 379.2 kB / 1.148 GB, free: 44.8 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001847/1.063, allocations: 1.435 MB / 1.15 GB, free: 44.64 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/1.063, allocations: 1.094 kB / 1.15 GB, free: 44.64 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.805e-06/1.063, allocations: 0 / 1.15 GB, free: 44.64 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.358e-05/1.063, allocations: 0 / 1.15 GB, free: 44.64 MB / 1.076 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.002376/1.065, allocations: 1.39 MB / 1.151 GB, free: 43.87 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 6.431e-05/1.065, allocations: 11.22 kB / 1.151 GB, free: 43.87 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008351/1.066, allocations: 195.6 kB / 1.151 GB, free: 43.8 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001505/1.068, allocations: 0.8392 MB / 1.152 GB, free: 43.47 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.411e-05/1.068, allocations: 43.47 kB / 1.152 GB, free: 43.47 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.546e-05/1.068, allocations: 56.88 kB / 1.152 GB, free: 43.47 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/1.069, allocations: 0.7142 MB / 1.153 GB, free: 43.36 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/1.069, allocations: 0 / 1.153 GB, free: 43.36 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.711e-05/1.069, allocations: 24.31 kB / 1.153 GB, free: 43.36 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/1.069, allocations: 13.56 kB / 1.153 GB, free: 43.36 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000846/1.07, allocations: 0.5158 MB / 1.153 GB, free: 43.36 MB / 1.076 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.002781/1.073, allocations: 1.71 MB / 1.155 GB, free: 42.89 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006085/1.073, allocations: 369.8 kB / 1.155 GB, free: 42.87 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003234/1.073, allocations: 219.5 kB / 1.156 GB, free: 42.86 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002579/1.074, allocations: 40.94 kB / 1.156 GB, free: 42.86 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/1.074, allocations: 41.02 kB / 1.156 GB, free: 42.82 MB / 1.076 GB Notification: Performance of pre-optimization done (n=28): time 1.442e-06/1.074, allocations: 0 / 1.156 GB, free: 42.82 MB / 1.076 GB Notification: Performance of matching and sorting (n=28): time 0.004923/1.079, allocations: 1.41 MB / 1.157 GB, free: 42.7 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/1.079, allocations: 58.56 kB / 1.157 GB, free: 42.63 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001253/1.08, allocations: 0.987 MB / 1.158 GB, free: 42.49 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.742e-05/1.08, allocations: 31.8 kB / 1.158 GB, free: 42.46 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003881/1.08, allocations: 464.6 kB / 1.158 GB, free: 42.3 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/1.081, allocations: 105.2 kB / 1.159 GB, free: 42.23 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/1.081, allocations: 64.5 kB / 1.159 GB, free: 42.22 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001008/1.081, allocations: 318.2 kB / 1.159 GB, free: 41.91 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002883/1.081, allocations: 161.8 kB / 1.159 GB, free: 41.91 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005286/1.082, allocations: 0.9252 MB / 1.16 GB, free: 41 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006011/1.082, allocations: 390 kB / 1.16 GB, free: 40.96 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/1.082, allocations: 0 / 1.16 GB, free: 40.96 MB / 1.076 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001895/1.084, allocations: 0.8046 MB / 1.161 GB, free: 40.84 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/1.084, allocations: 6.438 kB / 1.161 GB, free: 40.84 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/1.084, allocations: 0 / 1.161 GB, free: 40.84 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001404/1.086, allocations: 356.2 kB / 1.161 GB, free: 40.81 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/1.086, allocations: 24.14 kB / 1.161 GB, free: 40.81 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009909/1.087, allocations: 1.01 MB / 1.162 GB, free: 40.28 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000628/1.087, allocations: 42.22 kB / 1.163 GB, free: 40.27 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.6e-05/1.087, allocations: 11.42 kB / 1.163 GB, free: 40.27 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007057/1.088, allocations: 468.8 kB / 1.163 GB, free: 40.18 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005121/1.089, allocations: 0.8875 MB / 1.164 GB, free: 39.28 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004483/1.089, allocations: 315.5 kB / 1.164 GB, free: 39.24 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.183e-06/1.089, allocations: 0 / 1.164 GB, free: 39.24 MB / 1.076 GB Notification: Performance of matching and sorting (n=28) (initialization_lambda0): time 0.001127/1.09, allocations: 0.5854 MB / 1.165 GB, free: 39.14 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/1.09, allocations: 5.938 kB / 1.165 GB, free: 39.14 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/1.09, allocations: 2.625 kB / 1.165 GB, free: 39.14 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000515/1.091, allocations: 206.8 kB / 1.165 GB, free: 39.13 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/1.091, allocations: 20.06 kB / 1.165 GB, free: 39.13 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004687/1.095, allocations: 3.087 MB / 1.168 GB, free: 37.75 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006586/1.096, allocations: 47.27 kB / 1.168 GB, free: 37.74 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.139e-05/1.096, allocations: 9.031 kB / 1.168 GB, free: 37.74 MB / 1.076 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.000182/1.096, allocations: 203.3 kB / 1.168 GB, free: 37.55 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/1.096, allocations: 97.38 kB / 1.168 GB, free: 37.5 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001512/1.098, allocations: 0.6908 MB / 1.169 GB, free: 37.41 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/1.098, allocations: 6.812 kB / 1.169 GB, free: 37.41 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/1.098, allocations: 9.125 kB / 1.169 GB, free: 37.4 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/1.098, allocations: 4.281 kB / 1.169 GB, free: 37.4 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002464/1.1, allocations: 1.374 MB / 1.17 GB, free: 37.05 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/1.1, allocations: 2.281 kB / 1.17 GB, free: 37.05 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/1.101, allocations: 28.09 kB / 1.17 GB, free: 37.05 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005195/1.101, allocations: 225.6 kB / 1.171 GB, free: 37.03 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.591e-05/1.101, allocations: 8.812 kB / 1.171 GB, free: 37.03 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001043/1.102, allocations: 0.9877 MB / 1.172 GB, free: 36.5 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/1.102, allocations: 2.156 kB / 1.172 GB, free: 36.5 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001364/1.104, allocations: 0.7904 MB / 1.172 GB, free: 36.21 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000316/1.104, allocations: 135 kB / 1.172 GB, free: 36.16 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.104e-05/1.104, allocations: 6.969 kB / 1.172 GB, free: 36.16 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003692/1.104, allocations: 20.55 kB / 1.172 GB, free: 36.16 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.763e-05/1.104, allocations: 21.56 kB / 1.173 GB, free: 36.15 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.974e-05/1.104, allocations: 15.38 kB / 1.173 GB, free: 36.15 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001188/1.106, allocations: 0.7072 MB / 1.173 GB, free: 36.04 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.106, allocations: 0 / 1.173 GB, free: 36.04 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001588/1.107, allocations: 424 kB / 1.174 GB, free: 35.99 MB / 1.076 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.0004008/1.108, allocations: 158.9 kB / 1.174 GB, free: 35.9 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001742/1.109, allocations: 0.7478 MB / 1.174 GB, free: 35.75 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/1.109, allocations: 0 / 1.174 GB, free: 35.75 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0004721/1.11, allocations: 201.4 kB / 1.175 GB, free: 35.75 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001848/1.112, allocations: 384.3 kB / 1.175 GB, free: 35.71 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003235/1.115, allocations: 1.744 MB / 1.177 GB, free: 35.02 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001104/1.116, allocations: 0.6069 MB / 1.177 GB, free: 34.91 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0007963/1.117, allocations: 214.4 kB / 1.178 GB, free: 34.89 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/1.117, allocations: 50.58 kB / 1.178 GB, free: 34.89 MB / 1.076 GB Notification: Performance of SimCode: time 7.31e-07/1.117, allocations: 1.031 kB / 1.178 GB, free: 34.89 MB / 1.076 GB Notification: Performance of Templates: time 0.04194/1.159, allocations: 16.95 MB / 1.194 GB, free: 33.32 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.694035459309816]