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.001362/0.001362, allocations: 100.1 kB / 15.88 MB, free: 12 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.001487/0.001487, allocations: 198.2 kB / 16.79 MB, free: 6.809 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.41/1.41, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.707/2.707, allocations: 461.9 MB / 0.7348 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 63.09 kB / 0.899 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3412, allocations: 157.4 MB / 1.053 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries): time 0.1762/0.5175, allocations: 159.3 MB / 1.208 GB, free: 8.391 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003194/0.5207, allocations: 1.726 MB / 1.21 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004616/0.5212, allocations: 11.88 kB / 1.21 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006447/0.5219, allocations: 131.2 kB / 1.21 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001401/0.5234, allocations: 496.9 kB / 1.211 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.5246, allocations: 384.5 kB / 1.211 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00325/0.5278, allocations: 3.402 MB / 1.214 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00127/0.5291, allocations: 0.7587 MB / 1.215 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001775/0.5309, allocations: 0.8168 MB / 1.216 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00121/0.5321, allocations: 0.7273 MB / 1.217 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002159/0.5324, allocations: 40 kB / 1.217 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002297/0.5347, allocations: 0.8068 MB / 1.217 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0006468/0.5353, allocations: 294.8 kB / 1.218 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001251/0.5366, allocations: 0.5089 MB / 1.218 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001441/0.538, allocations: 1.029 MB / 1.219 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.5381, allocations: 0 / 1.219 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.763e-06/0.5381, allocations: 4 kB / 1.219 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.836e-05/0.5381, allocations: 0 / 1.219 GB, free: 13.25 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.002783/0.5409, allocations: 1.392 MB / 1.22 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.541, allocations: 15.97 kB / 1.221 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009164/0.5419, allocations: 178.5 kB / 1.221 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001328/0.5432, allocations: 0.8059 MB / 1.221 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.638e-05/0.5433, allocations: 44.94 kB / 1.222 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.672e-05/0.5434, allocations: 56 kB / 1.222 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/0.5446, allocations: 0.6862 MB / 1.222 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.5446, allocations: 0 / 1.222 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.954e-05/0.5447, allocations: 20 kB / 1.222 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/0.5447, allocations: 12 kB / 1.222 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008762/0.5456, allocations: 0.519 MB / 1.223 GB, free: 9.402 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.0038/0.5494, allocations: 3.241 MB / 1.226 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005906/0.55, allocations: 386.5 kB / 1.226 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003565/0.5504, allocations: 242.7 kB / 1.227 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003/0.5507, allocations: 194.2 kB / 1.227 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.5507, allocations: 34.56 kB / 1.227 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=28): time 1.914e-06/0.5507, allocations: 0 / 1.227 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of matching and sorting (n=28): time 0.005053/0.5558, allocations: 1.492 MB / 1.228 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.5558, allocations: 55.41 kB / 1.228 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001454/0.5573, allocations: 1.069 MB / 1.229 GB, free: 2.219 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.858e-05/0.5574, allocations: 33.7 kB / 1.229 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003509/0.5577, allocations: 448.4 kB / 1.23 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.625e-05/0.5578, allocations: 98.58 kB / 1.23 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.558, allocations: 73.61 kB / 1.23 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.5581, allocations: 318 kB / 1.23 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002953/0.5584, allocations: 164.6 kB / 1.23 GB, free: 1.082 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004383/0.5588, allocations: 356.3 kB / 1.231 GB, free: 0.6602 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005961/0.5594, allocations: 384.4 kB / 1.231 GB, free: 280 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.5594, allocations: 4 kB / 1.231 GB, free: 276 kB / 0.9825 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.002114/0.5616, allocations: 0.7993 MB / 1.232 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.5616, allocations: 8 kB / 1.232 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.5616, allocations: 432 / 1.232 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00155/0.5632, allocations: 370.1 kB / 1.232 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.5633, allocations: 31.92 kB / 1.232 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001062/0.5644, allocations: 1.009 MB / 1.233 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006548/0.5651, allocations: 71.69 kB / 1.233 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-05/0.5651, allocations: 19.98 kB / 1.233 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006587/0.5658, allocations: 447.8 kB / 1.234 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003936/0.5662, allocations: 317.8 kB / 1.234 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004863/0.5667, allocations: 301.6 kB / 1.234 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.054e-06/0.5667, allocations: 0 / 1.234 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28) (initialization_lambda0): time 0.001299/0.568, allocations: 0.6007 MB / 1.235 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.568, allocations: 4 kB / 1.235 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.568, allocations: 4 kB / 1.235 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005741/0.5686, allocations: 205.5 kB / 1.235 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.5687, allocations: 19.98 kB / 1.235 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003736/0.5725, allocations: 3.022 MB / 1.238 GB, free: 8.801 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007086/0.5732, allocations: 76.19 kB / 1.238 GB, free: 8.727 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.404e-05/0.5733, allocations: 8 kB / 1.238 GB, free: 8.719 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.0001779/0.5734, allocations: 200.2 kB / 1.238 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002523/0.5737, allocations: 102.7 kB / 1.238 GB, free: 8.414 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001336/0.5751, allocations: 0.7065 MB / 1.239 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.5751, allocations: 0 / 1.239 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.5751, allocations: 4 kB / 1.239 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.5751, allocations: 96 / 1.239 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00262/0.5777, allocations: 1.509 MB / 1.241 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.5777, allocations: 0 / 1.241 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.5778, allocations: 27.86 kB / 1.241 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004776/0.5783, allocations: 220.6 kB / 1.241 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.628e-05/0.5784, allocations: 8 kB / 1.241 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009005/0.5793, allocations: 0.9802 MB / 1.242 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.5793, allocations: 4.031 kB / 1.242 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.5805, allocations: 0.8036 MB / 1.243 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000414/0.581, allocations: 215.8 kB / 1.243 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001602/0.5811, allocations: 11.98 kB / 1.243 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005042/0.5816, allocations: 43.95 kB / 1.243 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.328e-05/0.5817, allocations: 23.91 kB / 1.243 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.238e-05/0.5818, allocations: 12 kB / 1.243 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001107/0.5829, allocations: 0.7669 MB / 1.244 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.573e-06/0.5829, allocations: 0 / 1.244 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001264/0.5842, allocations: 411.2 kB / 1.244 GB, free: 2.492 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.0004946/0.5847, allocations: 173.2 kB / 1.244 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001546/0.5862, allocations: 0.7497 MB / 1.245 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.5862, allocations: 0 / 1.245 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004242/0.5867, allocations: 213.5 kB / 1.245 GB, free: 1.352 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002336/0.589, allocations: 495.5 kB / 1.246 GB, free: 0.8672 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5378/1.127, allocations: 2.022 MB / 1.248 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007805/1.128, allocations: 1.18 MB / 1.249 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002061/1.128, allocations: 53.73 kB / 1.249 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of SimCode: time 1.132e-06/1.128, allocations: 4.859 kB / 1.249 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.03175/1.16, allocations: 19.94 MB / 1.268 GB, free: 187.9 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