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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0008222/0.0008221, allocations: 99.42 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009037/0.0009038, allocations: 184.4 kB / 16.92 MB, free: 6.918 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.489/1.489, allocations: 223.3 MB / 241 MB, free: 5.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.818/2.818, allocations: 462.7 MB / 0.7371 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003368/0.0003368, allocations: 9.188 kB / 0.9034 GB, free: 36.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3562, allocations: 159.6 MB / 1.059 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries): time 0.1777/0.534, allocations: 157.2 MB / 1.213 GB, free: 7.121 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003213/0.5373, allocations: 1.704 MB / 1.215 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004271/0.5377, allocations: 11.94 kB / 1.215 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005914/0.5383, allocations: 131.2 kB / 1.215 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001486/0.5398, allocations: 494 kB / 1.215 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001255/0.5411, allocations: 376.6 kB / 1.215 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003624/0.5447, allocations: 3.402 MB / 1.219 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00129/0.546, allocations: 0.7543 MB / 1.22 GB, free: 256 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001869/0.5479, allocations: 0.8012 MB / 1.22 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001312/0.5492, allocations: 0.7194 MB / 1.221 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002094/0.5495, allocations: 36 kB / 1.221 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001872/0.5513, allocations: 0.8029 MB / 1.222 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005123/0.5519, allocations: 286.8 kB / 1.222 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001121/0.553, allocations: 0.5223 MB / 1.223 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001511/0.5545, allocations: 1.009 MB / 1.224 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.5545, allocations: 0 / 1.224 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5546, allocations: 0 / 1.224 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.446e-05/0.5546, allocations: 0 / 1.224 GB, free: 12.06 MB / 0.9825 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.002363/0.557, allocations: 1.225 MB / 1.225 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.557, allocations: 11.97 kB / 1.225 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009446/0.558, allocations: 182.5 kB / 1.225 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00146/0.5595, allocations: 0.7943 MB / 1.226 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.657e-05/0.5595, allocations: 45 kB / 1.226 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/0.5596, allocations: 59.94 kB / 1.226 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.5609, allocations: 0.6862 MB / 1.227 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.5609, allocations: 4 kB / 1.227 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.331e-05/0.561, allocations: 20 kB / 1.227 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.561, allocations: 12 kB / 1.227 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008794/0.5619, allocations: 0.5269 MB / 1.227 GB, free: 8.379 MB / 0.9825 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.003596/0.5655, allocations: 3.26 MB / 1.23 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005915/0.5661, allocations: 394.5 kB / 1.231 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003746/0.5665, allocations: 242.2 kB / 1.231 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003128/0.5668, allocations: 194.2 kB / 1.231 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.5668, allocations: 38.5 kB / 1.231 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=28): time 2.294e-06/0.5668, allocations: 0 / 1.231 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of matching and sorting (n=28): time 0.00505/0.5719, allocations: 1.52 MB / 1.233 GB, free: 2.293 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.513e-05/0.572, allocations: 59.39 kB / 1.233 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001548/0.5735, allocations: 1.065 MB / 1.234 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.568e-05/0.5736, allocations: 37.7 kB / 1.234 GB, free: 1.094 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003868/0.574, allocations: 444.4 kB / 1.234 GB, free: 0.6562 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.5741, allocations: 98.59 kB / 1.234 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.152e-05/0.5742, allocations: 21.72 kB / 1.234 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.5743, allocations: 314 kB / 1.235 GB, free: 224 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003006/0.5746, allocations: 163.9 kB / 1.235 GB, free: 60 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004971/0.5751, allocations: 372.2 kB / 1.235 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006492/0.5758, allocations: 394.9 kB / 1.235 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.5758, allocations: 0 / 1.235 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0021/0.5779, allocations: 0.8247 MB / 1.236 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.475e-05/0.578, allocations: 107.8 kB / 1.236 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.578, allocations: 0 / 1.236 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001514/0.5795, allocations: 380.3 kB / 1.237 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.5797, allocations: 23.92 kB / 1.237 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001074/0.5808, allocations: 1.002 MB / 1.238 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00073/0.5815, allocations: 83.72 kB / 1.238 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.305e-05/0.5816, allocations: 12 kB / 1.238 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.5816, allocations: 4 kB / 1.238 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001089/0.5827, allocations: 0.4902 MB / 1.238 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.5827, allocations: 4 kB / 1.238 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005444/0.5833, allocations: 201.7 kB / 1.239 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.5834, allocations: 27.86 kB / 1.239 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003969/0.5874, allocations: 3.036 MB / 1.241 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007385/0.5882, allocations: 75.69 kB / 1.242 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-05/0.5882, allocations: 12 kB / 1.242 GB, free: 8.758 MB / 0.9981 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.0006404/0.5888, allocations: 448.8 kB / 1.242 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002221/0.5891, allocations: 102.8 kB / 1.242 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0014/0.5905, allocations: 0.7113 MB / 1.243 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.5905, allocations: 7.938 kB / 1.243 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.5905, allocations: 0 / 1.243 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.5905, allocations: 0 / 1.243 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002661/0.5932, allocations: 1.511 MB / 1.244 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/0.5932, allocations: 7.984 kB / 1.244 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.5933, allocations: 24.2 kB / 1.244 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004836/0.5938, allocations: 226.2 kB / 1.245 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.035e-05/0.5939, allocations: 8 kB / 1.245 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009538/0.5948, allocations: 0.9738 MB / 1.245 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.5948, allocations: 12 kB / 1.245 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001316/0.5962, allocations: 0.8134 MB / 1.246 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004464/0.5966, allocations: 215.8 kB / 1.246 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001627/0.5968, allocations: 8 kB / 1.247 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000565/0.5974, allocations: 51.86 kB / 1.247 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.352e-05/0.5975, allocations: 31.84 kB / 1.247 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.429e-05/0.5975, allocations: 8 kB / 1.247 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001161/0.5987, allocations: 0.7708 MB / 1.247 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5987, allocations: 0 / 1.247 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00127/0.5999, allocations: 399.4 kB / 1.248 GB, free: 2.254 MB / 0.9981 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.0004952/0.6004, allocations: 182.3 kB / 1.248 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001649/0.6021, allocations: 0.7674 MB / 1.249 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.6021, allocations: 0 / 1.249 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004617/0.6026, allocations: 227 kB / 1.249 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002851/0.6055, allocations: 494.7 kB / 1.249 GB, free: 0.5977 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5626/1.168, allocations: 2.044 MB / 1.251 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008041/1.169, allocations: 1.178 MB / 1.252 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000192/1.169, allocations: 54.48 kB / 1.253 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.062e-06/1.169, allocations: 1.062 kB / 1.253 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.03503/1.204, allocations: 19.78 MB / 1.272 GB, free: 185 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) "" Variables in the reference:time,res[1].m_flow,res[1].m_flow_turbulent Variables in the result:res[1].m_flow,res[1].m_flow_turbulent,time