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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001074/0.001074, allocations: 92.16 kB / 16.02 MB, free: 80 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.001475/0.001475, allocations: 172.2 kB / 16.92 MB, free: 6.652 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.327/1.327, allocations: 223.3 MB / 241 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.422/2.422, allocations: 390.9 MB / 0.667 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005182/0.0005182, allocations: 8 kB / 0.8166 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8857/0.8862, allocations: 142.4 MB / 0.9557 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries): time 0.1746/1.061, allocations: 157.2 MB / 1.109 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003195/1.064, allocations: 1.713 MB / 1.111 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00042/1.065, allocations: 11.94 kB / 1.111 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0006166/1.065, allocations: 127.2 kB / 1.111 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00145/1.067, allocations: 498 kB / 1.112 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00119/1.068, allocations: 371.1 kB / 1.112 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003414/1.071, allocations: 3.413 MB / 1.115 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00141/1.073, allocations: 0.7465 MB / 1.116 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001869/1.075, allocations: 0.8011 MB / 1.117 GB, free: 9.926 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00125/1.076, allocations: 0.7233 MB / 1.117 GB, free: 9.199 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002023/1.076, allocations: 36 kB / 1.117 GB, free: 9.164 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001818/1.078, allocations: 0.8029 MB / 1.118 GB, free: 8.359 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004439/1.078, allocations: 278.9 kB / 1.119 GB, free: 8.086 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001094/1.08, allocations: 0.5262 MB / 1.119 GB, free: 7.551 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001541/1.081, allocations: 1.017 MB / 1.12 GB, free: 6.531 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/1.081, allocations: 0 / 1.12 GB, free: 6.531 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.736e-06/1.081, allocations: 3.938 kB / 1.12 GB, free: 6.527 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.21e-05/1.081, allocations: 0 / 1.12 GB, free: 6.527 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.002352/1.084, allocations: 1.217 MB / 1.121 GB, free: 5.258 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/1.084, allocations: 8.031 kB / 1.121 GB, free: 5.25 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009352/1.085, allocations: 186.5 kB / 1.121 GB, free: 5.066 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00145/1.086, allocations: 0.8059 MB / 1.122 GB, free: 4.215 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.224e-05/1.086, allocations: 41 kB / 1.122 GB, free: 4.172 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/1.086, allocations: 56 kB / 1.122 GB, free: 4.117 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/1.087, allocations: 0.6862 MB / 1.123 GB, free: 3.418 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/1.087, allocations: 4 kB / 1.123 GB, free: 3.414 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.478e-05/1.088, allocations: 23.98 kB / 1.123 GB, free: 3.391 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/1.088, allocations: 12 kB / 1.123 GB, free: 3.379 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009388/1.088, allocations: 0.5269 MB / 1.123 GB, free: 2.852 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.003882/1.092, allocations: 3.253 MB / 1.127 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006254/1.093, allocations: 392.8 kB / 1.127 GB, free: 14.84 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000399/1.093, allocations: 248.9 kB / 1.127 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003114/1.094, allocations: 190.2 kB / 1.127 GB, free: 14.37 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/1.094, allocations: 42.5 kB / 1.127 GB, free: 14.32 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=28): time 2.775e-06/1.094, allocations: 0 / 1.127 GB, free: 14.32 MB / 0.8887 GB Notification: Performance of matching and sorting (n=28): time 0.005551/1.099, allocations: 1.513 MB / 1.129 GB, free: 12.78 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.176e-05/1.099, allocations: 55.41 kB / 1.129 GB, free: 12.71 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001859/1.101, allocations: 1.069 MB / 1.13 GB, free: 11.62 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 7.269e-05/1.101, allocations: 33.7 kB / 1.13 GB, free: 11.58 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003908/1.102, allocations: 444.4 kB / 1.131 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/1.102, allocations: 106.5 kB / 1.131 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.269e-05/1.102, allocations: 29.7 kB / 1.131 GB, free: 11 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001218/1.102, allocations: 314 kB / 1.131 GB, free: 10.69 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002985/1.102, allocations: 163.9 kB / 1.131 GB, free: 10.53 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004618/1.103, allocations: 361.3 kB / 1.131 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006477/1.104, allocations: 401.9 kB / 1.132 GB, free: 9.703 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/1.104, allocations: 4 kB / 1.132 GB, free: 9.699 MB / 0.8887 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.002144/1.106, allocations: 0.8251 MB / 1.133 GB, free: 8.863 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 7.986e-05/1.106, allocations: 111.8 kB / 1.133 GB, free: 8.738 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/1.106, allocations: 4 kB / 1.133 GB, free: 8.734 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001512/1.107, allocations: 360.3 kB / 1.133 GB, free: 8.379 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/1.108, allocations: 19.98 kB / 1.133 GB, free: 8.359 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001036/1.109, allocations: 1.009 MB / 1.134 GB, free: 7.328 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007262/1.109, allocations: 75.78 kB / 1.134 GB, free: 7.254 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.254e-05/1.109, allocations: 19.98 kB / 1.134 GB, free: 7.234 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 8.636e-06/1.109, allocations: 4 kB / 1.134 GB, free: 7.23 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001072/1.11, allocations: 496 kB / 1.135 GB, free: 6.742 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/1.11, allocations: 4 kB / 1.135 GB, free: 6.738 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005551/1.111, allocations: 202.2 kB / 1.135 GB, free: 6.539 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/1.111, allocations: 27.86 kB / 1.135 GB, free: 6.512 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003725/1.115, allocations: 3.033 MB / 1.138 GB, free: 3.336 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006912/1.116, allocations: 75.73 kB / 1.138 GB, free: 3.262 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.013e-05/1.116, allocations: 12 kB / 1.138 GB, free: 3.25 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.000578/1.116, allocations: 450.7 kB / 1.138 GB, free: 2.801 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002202/1.116, allocations: 94.98 kB / 1.138 GB, free: 2.707 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001415/1.118, allocations: 0.7255 MB / 1.139 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.421e-05/1.118, allocations: 11.92 kB / 1.139 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/1.118, allocations: 0 / 1.139 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/1.118, allocations: 3.984 kB / 1.139 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002515/1.12, allocations: 1.507 MB / 1.141 GB, free: 372 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/1.12, allocations: 0 / 1.141 GB, free: 372 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/1.121, allocations: 19.98 kB / 1.141 GB, free: 352 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004863/1.121, allocations: 244.7 kB / 1.141 GB, free: 104 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.646e-05/1.121, allocations: 8 kB / 1.141 GB, free: 96 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009287/1.122, allocations: 0.9796 MB / 1.142 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.291e-06/1.122, allocations: 7.969 kB / 1.142 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/1.123, allocations: 0.8172 MB / 1.143 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003734/1.124, allocations: 207.9 kB / 1.143 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/1.124, allocations: 8 kB / 1.143 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005352/1.124, allocations: 59.78 kB / 1.143 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.376e-05/1.124, allocations: 23.86 kB / 1.143 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.748e-05/1.125, allocations: 15.98 kB / 1.143 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001078/1.126, allocations: 0.7669 MB / 1.144 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.91e-07/1.126, allocations: 4 kB / 1.144 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001147/1.127, allocations: 403.4 kB / 1.144 GB, free: 12.72 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.0004302/1.127, allocations: 162 kB / 1.144 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001553/1.129, allocations: 0.7795 MB / 1.145 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/1.129, allocations: 4 kB / 1.145 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0004549/1.129, allocations: 215 kB / 1.145 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002547/1.132, allocations: 491.8 kB / 1.146 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002911/1.135, allocations: 2.04 MB / 1.148 GB, free: 8.977 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007809/1.136, allocations: 1.181 MB / 1.149 GB, free: 7.77 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/1.136, allocations: 55.44 kB / 1.149 GB, free: 7.715 MB / 0.9044 GB Notification: Performance of SimCode: time 5.01e-07/1.136, allocations: 0 / 1.149 GB, free: 7.715 MB / 0.9044 GB Notification: Performance of Templates: time 0.02919/1.165, allocations: 19.78 MB / 1.168 GB, free: 4.035 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches