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.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001497/0.001497, allocations: 104.6 kB / 16.27 MB, free: 6.414 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.001637/0.001637, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.368/1.368, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.888/2.888, allocations: 469.4 MB / 0.7427 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 64.41 kB / 0.9088 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2966, allocations: 159.1 MB / 1.064 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries): time 0.6848/0.9814, allocations: 161.5 MB / 1.222 GB, free: 4.434 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003069/0.9845, allocations: 1.719 MB / 1.224 GB, free: 3.043 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003949/0.985, allocations: 11.66 kB / 1.224 GB, free: 3.039 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005897/0.9856, allocations: 159.9 kB / 1.224 GB, free: 2.906 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001354/0.987, allocations: 0.5049 MB / 1.224 GB, free: 2.523 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.9882, allocations: 425.5 kB / 1.225 GB, free: 2.23 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002452/0.9907, allocations: 2.452 MB / 1.227 GB, free: 0.8828 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001168/0.9919, allocations: 0.9353 MB / 1.228 GB, free: 368 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001601/0.9935, allocations: 0.9188 MB / 1.229 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008109/0.9943, allocations: 0.7136 MB / 1.23 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001093/0.9944, allocations: 57.53 kB / 1.23 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001497/0.9959, allocations: 0.7378 MB / 1.23 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003144/0.9963, allocations: 310.9 kB / 1.231 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000609/0.9969, allocations: 0.5324 MB / 1.231 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001475/0.9984, allocations: 1.398 MB / 1.233 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.9984, allocations: 0 / 1.233 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9984, allocations: 0 / 1.233 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.866e-05/0.9984, allocations: 4 kB / 1.233 GB, free: 12.79 MB / 0.9512 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.001984/1, allocations: 1.401 MB / 1.234 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/1, allocations: 8.031 kB / 1.234 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007478/1.001, allocations: 182.5 kB / 1.234 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/1.002, allocations: 0.802 MB / 1.235 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.581e-05/1.002, allocations: 41 kB / 1.235 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.824e-05/1.002, allocations: 60 kB / 1.235 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009944/1.003, allocations: 0.6822 MB / 1.236 GB, free: 9.512 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/1.003, allocations: 4 kB / 1.236 GB, free: 9.508 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.687e-05/1.004, allocations: 23.98 kB / 1.236 GB, free: 9.484 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/1.004, allocations: 12 kB / 1.236 GB, free: 9.473 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008201/1.004, allocations: 0.5268 MB / 1.236 GB, free: 8.945 MB / 0.9512 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.003346/1.008, allocations: 3.249 MB / 1.239 GB, free: 5.32 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005924/1.008, allocations: 404.5 kB / 1.24 GB, free: 4.918 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003423/1.009, allocations: 236.7 kB / 1.24 GB, free: 4.684 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000294/1.009, allocations: 198.1 kB / 1.24 GB, free: 4.453 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/1.009, allocations: 34.56 kB / 1.24 GB, free: 4.41 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=28): time 2.254e-06/1.009, allocations: 8 kB / 1.24 GB, free: 4.402 MB / 0.9512 GB Notification: Performance of matching and sorting (n=28): time 0.004822/1.014, allocations: 1.479 MB / 1.242 GB, free: 2.895 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/1.014, allocations: 55.41 kB / 1.242 GB, free: 2.828 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001336/1.015, allocations: 1.073 MB / 1.243 GB, free: 1.734 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.183e-05/1.015, allocations: 33.7 kB / 1.243 GB, free: 1.695 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000345/1.016, allocations: 444.3 kB / 1.243 GB, free: 1.258 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.832e-05/1.016, allocations: 98.91 kB / 1.243 GB, free: 1.16 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/1.016, allocations: 77.59 kB / 1.243 GB, free: 1.078 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001051/1.016, allocations: 321.9 kB / 1.244 GB, free: 0.7578 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002826/1.016, allocations: 164.7 kB / 1.244 GB, free: 0.5938 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004133/1.017, allocations: 356.3 kB / 1.244 GB, free: 176 kB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005956/1.017, allocations: 384.5 kB / 1.245 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/1.017, allocations: 3.938 kB / 1.245 GB, free: 15.78 MB / 0.9669 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001933/1.019, allocations: 0.8074 MB / 1.245 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/1.019, allocations: 8 kB / 1.245 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.892e-06/1.019, allocations: 0 / 1.245 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001436/1.021, allocations: 360.4 kB / 1.246 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/1.021, allocations: 19.98 kB / 1.246 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009596/1.022, allocations: 1.005 MB / 1.247 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005073/1.022, allocations: 47.75 kB / 1.247 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.822e-05/1.022, allocations: 11.98 kB / 1.247 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005752/1.023, allocations: 451.8 kB / 1.247 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000362/1.023, allocations: 317.9 kB / 1.247 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004579/1.024, allocations: 307.5 kB / 1.248 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.723e-06/1.024, allocations: 0 / 1.248 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of matching and sorting (n=28) (initialization_lambda0): time 0.001144/1.025, allocations: 0.597 MB / 1.248 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/1.025, allocations: 4 kB / 1.248 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.065e-06/1.025, allocations: 0 / 1.248 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005104/1.026, allocations: 202.4 kB / 1.249 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/1.026, allocations: 27.92 kB / 1.249 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00368/1.029, allocations: 3.301 MB / 1.252 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005594/1.03, allocations: 44.38 kB / 1.252 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.063e-05/1.03, allocations: 8 kB / 1.252 GB, free: 8.016 MB / 0.9669 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.0001748/1.03, allocations: 204.8 kB / 1.252 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001933/1.03, allocations: 94.78 kB / 1.252 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00129/1.032, allocations: 0.7142 MB / 1.253 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/1.032, allocations: 0 / 1.253 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/1.032, allocations: 4 kB / 1.253 GB, free: 6.988 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/1.032, allocations: 0 / 1.253 GB, free: 6.988 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00233/1.034, allocations: 1.509 MB / 1.254 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/1.034, allocations: 0 / 1.254 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/1.034, allocations: 19.98 kB / 1.254 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000456/1.035, allocations: 230.9 kB / 1.255 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.374e-05/1.035, allocations: 8 kB / 1.255 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008764/1.036, allocations: 0.9764 MB / 1.256 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.86e-06/1.036, allocations: 15.84 kB / 1.256 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/1.037, allocations: 0.7977 MB / 1.256 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003146/1.037, allocations: 207.9 kB / 1.257 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001288/1.037, allocations: 11.98 kB / 1.257 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003904/1.038, allocations: 19.98 kB / 1.257 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.733e-05/1.038, allocations: 23.91 kB / 1.257 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-05/1.038, allocations: 15.88 kB / 1.257 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001033/1.039, allocations: 0.7708 MB / 1.257 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.9e-07/1.039, allocations: 0 / 1.257 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001124/1.04, allocations: 395.4 kB / 1.258 GB, free: 1.828 MB / 0.9669 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.0004687/1.04, allocations: 175.2 kB / 1.258 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001534/1.042, allocations: 0.7617 MB / 1.259 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/1.042, allocations: 0 / 1.259 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0004468/1.042, allocations: 211 kB / 1.259 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002074/1.045, allocations: 488.6 kB / 1.259 GB, free: 208 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002683/1.047, allocations: 1.771 MB / 1.261 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000753/1.048, allocations: 1.176 MB / 1.262 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/1.048, allocations: 59.44 kB / 1.262 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of SimCode: time 5.51e-07/1.048, allocations: 0 / 1.262 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of Templates: time 0.02798/1.076, allocations: 19.87 MB / 1.282 GB, free: 9.336 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches