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.001201/0.001201, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001449/0.001449, allocations: 192.1 kB / 16.25 MB, free: 6.621 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.553/1.553, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.545/2.545, allocations: 390.2 MB / 0.6643 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 63.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8462/0.8478, allocations: 140.4 MB / 0.9491 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries): time 0.1871/1.035, allocations: 159.3 MB / 1.105 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003844/1.039, allocations: 1.713 MB / 1.106 GB, free: 480 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006159/1.04, allocations: 11.94 kB / 1.106 GB, free: 468 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006778/1.04, allocations: 139.2 kB / 1.106 GB, free: 328 kB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001658/1.042, allocations: 498 kB / 1.107 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001527/1.043, allocations: 381.9 kB / 1.107 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002991/1.046, allocations: 2.482 MB / 1.11 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001346/1.048, allocations: 0.8942 MB / 1.111 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00188/1.05, allocations: 0.9534 MB / 1.112 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009322/1.051, allocations: 0.7468 MB / 1.112 GB, free: 10.36 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.000111/1.051, allocations: 63.98 kB / 1.112 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002016/1.053, allocations: 0.76 MB / 1.113 GB, free: 9.535 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003834/1.053, allocations: 306.9 kB / 1.113 GB, free: 9.234 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0007555/1.054, allocations: 0.5363 MB / 1.114 GB, free: 8.695 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001799/1.056, allocations: 1.429 MB / 1.115 GB, free: 7.262 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/1.056, allocations: 0 / 1.115 GB, free: 7.262 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.333e-06/1.056, allocations: 3.938 kB / 1.115 GB, free: 7.258 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.843e-05/1.056, allocations: 0 / 1.115 GB, free: 7.258 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.002163/1.058, allocations: 1.404 MB / 1.117 GB, free: 5.801 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/1.058, allocations: 12.03 kB / 1.117 GB, free: 5.789 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007709/1.059, allocations: 178.5 kB / 1.117 GB, free: 5.613 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/1.06, allocations: 0.7943 MB / 1.118 GB, free: 4.777 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.849e-05/1.06, allocations: 45 kB / 1.118 GB, free: 4.734 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.628e-05/1.06, allocations: 59.94 kB / 1.118 GB, free: 4.676 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/1.061, allocations: 0.6861 MB / 1.118 GB, free: 3.973 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/1.061, allocations: 0 / 1.118 GB, free: 3.973 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.093e-05/1.061, allocations: 20 kB / 1.118 GB, free: 3.953 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.489e-05/1.061, allocations: 12 kB / 1.118 GB, free: 3.941 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008908/1.062, allocations: 0.5191 MB / 1.119 GB, free: 3.426 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.003778/1.066, allocations: 3.233 MB / 1.122 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005807/1.067, allocations: 392.8 kB / 1.122 GB, free: 15.43 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003504/1.067, allocations: 244.9 kB / 1.123 GB, free: 15.18 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003796/1.067, allocations: 194.2 kB / 1.123 GB, free: 14.96 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/1.067, allocations: 38.5 kB / 1.123 GB, free: 14.91 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=28): time 1.783e-06/1.067, allocations: 0 / 1.123 GB, free: 14.91 MB / 0.8887 GB Notification: Performance of matching and sorting (n=28): time 0.005258/1.073, allocations: 1.486 MB / 1.124 GB, free: 13.4 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/1.073, allocations: 51.41 kB / 1.124 GB, free: 13.34 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001374/1.074, allocations: 1.073 MB / 1.125 GB, free: 12.24 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 5.488e-05/1.074, allocations: 37.7 kB / 1.126 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003786/1.075, allocations: 444.4 kB / 1.126 GB, free: 11.76 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000156/1.075, allocations: 102.5 kB / 1.126 GB, free: 11.66 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/1.075, allocations: 65.7 kB / 1.126 GB, free: 11.59 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001694/1.075, allocations: 322 kB / 1.126 GB, free: 11.27 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003944/1.076, allocations: 160.7 kB / 1.127 GB, free: 11.11 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005287/1.076, allocations: 357.3 kB / 1.127 GB, free: 10.68 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007053/1.077, allocations: 387.7 kB / 1.127 GB, free: 10.29 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/1.077, allocations: 0 / 1.127 GB, free: 10.29 MB / 0.8887 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.002001/1.079, allocations: 0.8135 MB / 1.128 GB, free: 9.469 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/1.079, allocations: 8 kB / 1.128 GB, free: 9.461 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/1.079, allocations: 0 / 1.128 GB, free: 9.461 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001599/1.08, allocations: 357.5 kB / 1.128 GB, free: 9.109 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/1.081, allocations: 19.98 kB / 1.128 GB, free: 9.09 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009911/1.082, allocations: 1.01 MB / 1.129 GB, free: 8.055 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006377/1.082, allocations: 71.75 kB / 1.129 GB, free: 7.984 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.042e-05/1.082, allocations: 15.98 kB / 1.129 GB, free: 7.969 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000609/1.083, allocations: 457.7 kB / 1.13 GB, free: 7.52 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004046/1.083, allocations: 312.5 kB / 1.13 GB, free: 7.141 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005072/1.084, allocations: 307.8 kB / 1.131 GB, free: 6.832 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.523e-06/1.084, allocations: 0 / 1.131 GB, free: 6.832 MB / 0.8887 GB Notification: Performance of matching and sorting (n=28) (initialization_lambda0): time 0.001255/1.085, allocations: 0.6022 MB / 1.131 GB, free: 6.219 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/1.085, allocations: 8 kB / 1.131 GB, free: 6.211 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.725e-06/1.085, allocations: 0 / 1.131 GB, free: 6.211 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005224/1.086, allocations: 208.6 kB / 1.131 GB, free: 6.004 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/1.086, allocations: 15.98 kB / 1.131 GB, free: 5.988 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004002/1.09, allocations: 3.299 MB / 1.135 GB, free: 2.543 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000634/1.09, allocations: 68.23 kB / 1.135 GB, free: 2.477 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.114e-05/1.091, allocations: 15.98 kB / 1.135 GB, free: 2.461 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.0001703/1.091, allocations: 207.9 kB / 1.135 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/1.091, allocations: 90.88 kB / 1.135 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001276/1.092, allocations: 0.7059 MB / 1.136 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/1.092, allocations: 4 kB / 1.136 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/1.092, allocations: 4 kB / 1.136 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/1.092, allocations: 0 / 1.136 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002447/1.095, allocations: 1.51 MB / 1.137 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/1.095, allocations: 8.031 kB / 1.137 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/1.095, allocations: 15.98 kB / 1.137 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004647/1.095, allocations: 224.5 kB / 1.137 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.355e-05/1.095, allocations: 8 kB / 1.137 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009102/1.096, allocations: 0.9795 MB / 1.138 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.096, allocations: 0 / 1.138 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/1.097, allocations: 0.8104 MB / 1.139 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003053/1.098, allocations: 207.9 kB / 1.139 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/1.098, allocations: 8 kB / 1.139 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004341/1.098, allocations: 55.88 kB / 1.139 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/1.098, allocations: 19.92 kB / 1.139 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.508e-05/1.098, allocations: 15.98 kB / 1.139 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0009776/1.099, allocations: 0.7669 MB / 1.14 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/1.099, allocations: 3.938 kB / 1.14 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001059/1.1, allocations: 407.3 kB / 1.141 GB, free: 12.23 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.0004568/1.101, allocations: 163.5 kB / 1.141 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001638/1.103, allocations: 0.7521 MB / 1.141 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.103, allocations: 0 / 1.141 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0004408/1.103, allocations: 223 kB / 1.142 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002102/1.105, allocations: 487.3 kB / 1.142 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003091/1.108, allocations: 1.988 MB / 1.144 GB, free: 8.578 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009826/1.109, allocations: 1.18 MB / 1.145 GB, free: 7.371 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007336/1.11, allocations: 203.3 kB / 1.145 GB, free: 7.168 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/1.11, allocations: 51.44 kB / 1.145 GB, free: 7.121 MB / 0.9044 GB Notification: Performance of SimCode: time 1.192e-06/1.11, allocations: 0 / 1.145 GB, free: 7.121 MB / 0.9044 GB Notification: Performance of Templates: time 0.03491/1.145, allocations: 19.61 MB / 1.165 GB, free: 3.75 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