Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00101/0.001009, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.008453/0.008454, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.453/1.453, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.505/2.505, allocations: 390.9 MB / 0.6663 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004109/0.000411, allocations: 8 kB / 0.8159 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8102/0.8107, allocations: 142.4 MB / 0.955 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries): time 0.1985/1.009, allocations: 157.2 MB / 1.109 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003419/1.013, allocations: 1.709 MB / 1.11 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003867/1.013, allocations: 11.88 kB / 1.11 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0006679/1.014, allocations: 127.2 kB / 1.11 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001538/1.015, allocations: 498 kB / 1.111 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001342/1.017, allocations: 377.3 kB / 1.111 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003323/1.02, allocations: 3.41 MB / 1.115 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00126/1.021, allocations: 0.7427 MB / 1.115 GB, free: 10.69 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001896/1.023, allocations: 0.805 MB / 1.116 GB, free: 9.883 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009487/1.024, allocations: 0.7233 MB / 1.117 GB, free: 9.156 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 7.894e-05/1.024, allocations: 32 kB / 1.117 GB, free: 9.125 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001761/1.026, allocations: 0.8029 MB / 1.118 GB, free: 8.32 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003365/1.026, allocations: 282.9 kB / 1.118 GB, free: 8.043 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0006914/1.027, allocations: 0.5223 MB / 1.118 GB, free: 7.512 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001759/1.029, allocations: 1.378 MB / 1.12 GB, free: 6.129 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/1.029, allocations: 4 kB / 1.12 GB, free: 6.125 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.274e-06/1.029, allocations: 0 / 1.12 GB, free: 6.125 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.28e-05/1.029, allocations: 4 kB / 1.12 GB, free: 6.121 MB / 0.8731 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.002059/1.031, allocations: 1.225 MB / 1.121 GB, free: 4.844 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/1.031, allocations: 8.031 kB / 1.121 GB, free: 4.836 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007826/1.032, allocations: 182.5 kB / 1.121 GB, free: 4.656 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/1.033, allocations: 0.7982 MB / 1.122 GB, free: 3.812 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.798e-05/1.033, allocations: 41 kB / 1.122 GB, free: 3.77 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.15e-05/1.033, allocations: 56 kB / 1.122 GB, free: 3.715 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/1.034, allocations: 0.6901 MB / 1.123 GB, free: 3.012 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/1.034, allocations: 3.984 kB / 1.123 GB, free: 3.008 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.946e-05/1.034, allocations: 20 kB / 1.123 GB, free: 2.988 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-05/1.034, allocations: 15.98 kB / 1.123 GB, free: 2.973 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008651/1.035, allocations: 0.5269 MB / 1.123 GB, free: 2.445 MB / 0.8731 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.003773/1.039, allocations: 3.253 MB / 1.126 GB, free: 14.82 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000635/1.04, allocations: 392.7 kB / 1.127 GB, free: 14.43 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003771/1.04, allocations: 248.9 kB / 1.127 GB, free: 14.19 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003221/1.04, allocations: 190.2 kB / 1.127 GB, free: 13.96 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/1.04, allocations: 38.5 kB / 1.127 GB, free: 13.92 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=28): time 2.434e-06/1.04, allocations: 0 / 1.127 GB, free: 13.92 MB / 0.8887 GB Notification: Performance of matching and sorting (n=28): time 0.005169/1.046, allocations: 1.521 MB / 1.129 GB, free: 12.37 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/1.046, allocations: 51.41 kB / 1.129 GB, free: 12.3 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001517/1.047, allocations: 1.069 MB / 1.13 GB, free: 11.21 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 6.438e-05/1.047, allocations: 37.7 kB / 1.13 GB, free: 11.17 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003948/1.048, allocations: 444.4 kB / 1.13 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/1.048, allocations: 98.5 kB / 1.13 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.132e-05/1.048, allocations: 29.7 kB / 1.13 GB, free: 10.6 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000139/1.048, allocations: 314 kB / 1.131 GB, free: 10.29 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002934/1.048, allocations: 163.8 kB / 1.131 GB, free: 10.13 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004828/1.049, allocations: 360.4 kB / 1.131 GB, free: 9.703 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000634/1.049, allocations: 397.3 kB / 1.132 GB, free: 9.305 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/1.049, allocations: 4 kB / 1.132 GB, free: 9.301 MB / 0.8887 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.002079/1.052, allocations: 0.829 MB / 1.132 GB, free: 8.461 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 8.831e-05/1.052, allocations: 118.5 kB / 1.132 GB, free: 8.332 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/1.052, allocations: 0 / 1.132 GB, free: 8.332 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001521/1.053, allocations: 362.6 kB / 1.133 GB, free: 7.977 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/1.053, allocations: 27.92 kB / 1.133 GB, free: 7.949 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001083/1.054, allocations: 1.013 MB / 1.134 GB, free: 6.91 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007683/1.055, allocations: 71.75 kB / 1.134 GB, free: 6.84 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.141e-05/1.055, allocations: 12 kB / 1.134 GB, free: 6.828 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 9.107e-06/1.055, allocations: 0 / 1.134 GB, free: 6.828 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001089/1.056, allocations: 0.4961 MB / 1.134 GB, free: 6.328 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/1.056, allocations: 0 / 1.134 GB, free: 6.328 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000545/1.057, allocations: 200.6 kB / 1.135 GB, free: 6.129 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/1.057, allocations: 35.86 kB / 1.135 GB, free: 6.094 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003783/1.061, allocations: 3.026 MB / 1.138 GB, free: 2.926 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007856/1.062, allocations: 75.78 kB / 1.138 GB, free: 2.852 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.754e-05/1.062, allocations: 8 kB / 1.138 GB, free: 2.844 MB / 0.8887 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.0006459/1.062, allocations: 462.7 kB / 1.138 GB, free: 2.383 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001546/1.063, allocations: 90.88 kB / 1.138 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001315/1.064, allocations: 0.7139 MB / 1.139 GB, free: 1.562 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/1.064, allocations: 7.938 kB / 1.139 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/1.064, allocations: 3.984 kB / 1.139 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/1.064, allocations: 0 / 1.139 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002456/1.066, allocations: 1.514 MB / 1.14 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/1.066, allocations: 4.219 kB / 1.14 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/1.067, allocations: 23.98 kB / 1.14 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004704/1.067, allocations: 232.5 kB / 1.141 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/1.067, allocations: 8 kB / 1.141 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009224/1.068, allocations: 0.9835 MB / 1.142 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/1.068, allocations: 3.938 kB / 1.142 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001184/1.069, allocations: 0.8142 MB / 1.142 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003391/1.07, allocations: 219.9 kB / 1.143 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.391e-05/1.07, allocations: 8 kB / 1.143 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004665/1.07, allocations: 55.8 kB / 1.143 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.221e-05/1.07, allocations: 27.84 kB / 1.143 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.19e-05/1.07, allocations: 12 kB / 1.143 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001029/1.071, allocations: 0.7708 MB / 1.143 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.004e-06/1.071, allocations: 0 / 1.143 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001176/1.072, allocations: 399.3 kB / 1.144 GB, free: 12.32 MB / 0.9044 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.0004699/1.073, allocations: 170.5 kB / 1.144 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001546/1.074, allocations: 0.777 MB / 1.145 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/1.074, allocations: 0 / 1.145 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0004463/1.075, allocations: 215 kB / 1.145 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002489/1.077, allocations: 483.7 kB / 1.145 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002785/1.08, allocations: 1.992 MB / 1.147 GB, free: 8.637 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008042/1.081, allocations: 1.184 MB / 1.148 GB, free: 7.426 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0006716/1.082, allocations: 211.3 kB / 1.149 GB, free: 7.215 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/1.082, allocations: 51.44 kB / 1.149 GB, free: 7.164 MB / 0.9044 GB Notification: Performance of SimCode: time 1.613e-06/1.082, allocations: 3.938 kB / 1.149 GB, free: 7.16 MB / 0.9044 GB Notification: Performance of Templates: time 0.03496/1.117, allocations: 18.92 MB / 1.167 GB, free: 4.457 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches