Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001776/0.001776, allocations: 100.4 kB / 19.7 MB, free: 2.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002223/0.002223, allocations: 219.4 kB / 22.99 MB, free: 4.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.488/1.488, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.379/3.379, allocations: 0.5107 GB / 0.8166 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow_nominal|res.m_flow|res.m_flow_turbulent|resLarPip.m_flow_nominal|resLarPip.m_flow|resLarPip.m_flow_turbulent|res.v|resLarPip.v|res.dh|resLarPip.dh",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow_nominal|res.m_flow|res.m_flow_turbulent|resLarPip.m_flow_nominal|resLarPip.m_flow|resLarPip.m_flow_turbulent|res.v|resLarPip.v|res.dh|resLarPip.dh",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002139/0.002139, allocations: 70.78 kB / 1.187 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4279/0.43, allocations: 181.9 MB / 1.365 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.02202/0.452, allocations: 14.09 MB / 1.378 GB, free: 15.43 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.007087/0.4591, allocations: 3.628 MB / 1.382 GB, free: 11.8 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007903/0.4599, allocations: 27.75 kB / 1.382 GB, free: 11.77 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0008725/0.4608, allocations: 194.7 kB / 1.382 GB, free: 11.58 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002602/0.4634, allocations: 0.7028 MB / 1.383 GB, free: 10.88 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001635/0.465, allocations: 498.8 kB / 1.383 GB, free: 10.39 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001941/0.467, allocations: 1.13 MB / 1.384 GB, free: 9.262 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004502/0.4674, allocations: 237.8 kB / 1.385 GB, free: 9.027 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001166/0.4686, allocations: 0.5722 MB / 1.385 GB, free: 8.453 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003453/0.4689, allocations: 230.8 kB / 1.385 GB, free: 8.227 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.986e-05/0.469, allocations: 19.94 kB / 1.385 GB, free: 8.207 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009427/0.4699, allocations: 431.2 kB / 1.386 GB, free: 7.785 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.47, allocations: 67.64 kB / 1.386 GB, free: 7.719 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001728/0.4702, allocations: 143.2 kB / 1.386 GB, free: 7.578 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0008685/0.4711, allocations: 0.5642 MB / 1.387 GB, free: 7.012 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.4711, allocations: 0 / 1.387 GB, free: 7.012 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.175e-06/0.4711, allocations: 0 / 1.387 GB, free: 7.012 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.4711, allocations: 4 kB / 1.387 GB, free: 7.008 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001167/0.4722, allocations: 0.6441 MB / 1.387 GB, free: 6.332 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.501e-05/0.4723, allocations: 12.03 kB / 1.387 GB, free: 6.32 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.4724, allocations: 44.66 kB / 1.387 GB, free: 6.277 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.4735, allocations: 392.3 kB / 1.388 GB, free: 5.867 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.842e-05/0.4735, allocations: 16.33 kB / 1.388 GB, free: 5.852 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.188e-05/0.4735, allocations: 20 kB / 1.388 GB, free: 5.832 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004706/0.474, allocations: 200.9 kB / 1.388 GB, free: 5.625 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.474, allocations: 0 / 1.388 GB, free: 5.625 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.184e-05/0.4741, allocations: 12 kB / 1.388 GB, free: 5.613 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.4741, allocations: 4 kB / 1.388 GB, free: 5.609 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003576/0.4744, allocations: 139.9 kB / 1.388 GB, free: 5.473 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/0.4755, allocations: 0.5309 MB / 1.389 GB, free: 4.91 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003115/0.4759, allocations: 106.6 kB / 1.389 GB, free: 4.797 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001715/0.476, allocations: 72.81 kB / 1.389 GB, free: 4.723 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001806/0.4762, allocations: 31.97 kB / 1.389 GB, free: 4.691 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.732e-05/0.4763, allocations: 38.5 kB / 1.389 GB, free: 4.645 MB / 1.076 GB Notification: Performance of pre-optimization done (n=12): time 1.483e-06/0.4763, allocations: 0 / 1.389 GB, free: 4.645 MB / 1.076 GB Notification: Performance of matching and sorting (n=12): time 0.0006234/0.4769, allocations: 221.2 kB / 1.389 GB, free: 4.422 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/0.4769, allocations: 51.41 kB / 1.389 GB, free: 4.359 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003785/0.4773, allocations: 321.7 kB / 1.389 GB, free: 4.035 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/0.4773, allocations: 33.7 kB / 1.389 GB, free: 3.996 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001954/0.4775, allocations: 196.4 kB / 1.39 GB, free: 3.801 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.407e-05/0.4776, allocations: 39.62 kB / 1.39 GB, free: 3.762 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.301e-05/0.4777, allocations: 37.66 kB / 1.39 GB, free: 3.719 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001957/0.4779, allocations: 342.8 kB / 1.39 GB, free: 3.375 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.478, allocations: 48.81 kB / 1.39 GB, free: 3.324 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002671/0.4783, allocations: 246.4 kB / 1.39 GB, free: 3.031 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000279/0.4786, allocations: 117.6 kB / 1.39 GB, free: 2.91 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4786, allocations: 4 kB / 1.39 GB, free: 2.906 MB / 1.076 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003802/0.4789, allocations: 177.4 kB / 1.391 GB, free: 2.727 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.479, allocations: 4 kB / 1.391 GB, free: 2.723 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.479, allocations: 4 kB / 1.391 GB, free: 2.719 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.479, allocations: 3.938 kB / 1.391 GB, free: 2.715 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.4791, allocations: 27.92 kB / 1.391 GB, free: 2.688 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.4791, allocations: 3.938 kB / 1.391 GB, free: 2.684 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.4793, allocations: 19.94 kB / 1.391 GB, free: 2.664 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.835e-05/0.4793, allocations: 11.98 kB / 1.391 GB, free: 2.652 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002457/0.4796, allocations: 152.1 kB / 1.391 GB, free: 2.5 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002557/0.4798, allocations: 238.5 kB / 1.391 GB, free: 2.215 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002536/0.4801, allocations: 109.6 kB / 1.391 GB, free: 2.102 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.82e-07/0.4801, allocations: 4 kB / 1.391 GB, free: 2.098 MB / 1.076 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003501/0.4804, allocations: 169.4 kB / 1.391 GB, free: 1.926 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 9.168e-06/0.4804, allocations: 7.984 kB / 1.391 GB, free: 1.918 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-06/0.4804, allocations: 0 / 1.391 GB, free: 1.918 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.641e-06/0.4804, allocations: 4.188 kB / 1.391 GB, free: 1.914 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.4805, allocations: 27.92 kB / 1.391 GB, free: 1.887 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.4805, allocations: 11.88 kB / 1.391 GB, free: 1.875 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.4807, allocations: 11.94 kB / 1.391 GB, free: 1.863 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.4807, allocations: 8 kB / 1.391 GB, free: 1.855 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001557/0.4808, allocations: 184.3 kB / 1.391 GB, free: 1.668 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.577e-05/0.4809, allocations: 39.94 kB / 1.392 GB, free: 1.629 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005766/0.4815, allocations: 237.2 kB / 1.392 GB, free: 1.395 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.4815, allocations: 4 kB / 1.392 GB, free: 1.391 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.4815, allocations: 3.938 kB / 1.392 GB, free: 1.387 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.4815, allocations: 0 / 1.392 GB, free: 1.387 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009444/0.4825, allocations: 0.5535 MB / 1.392 GB, free: 0.7891 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.4825, allocations: 4.094 kB / 1.392 GB, free: 0.7852 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.4826, allocations: 27.92 kB / 1.392 GB, free: 0.7578 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.4826, allocations: 3.938 kB / 1.392 GB, free: 0.7539 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.4826, allocations: 4 kB / 1.392 GB, free: 0.75 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.82e-06/0.4826, allocations: 3.984 kB / 1.392 GB, free: 0.7461 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.4826, allocations: 0 / 1.392 GB, free: 0.7461 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005075/0.4831, allocations: 321.7 kB / 1.393 GB, free: 416 kB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.4832, allocations: 51.69 kB / 1.393 GB, free: 364 kB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.345e-05/0.4832, allocations: 4 kB / 1.393 GB, free: 360 kB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001531/0.4834, allocations: 15.98 kB / 1.393 GB, free: 344 kB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.838e-05/0.4834, allocations: 12.06 kB / 1.393 GB, free: 332 kB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.4835, allocations: 11.98 kB / 1.393 GB, free: 320 kB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002442/0.4837, allocations: 227.2 kB / 1.393 GB, free: 92 kB / 1.076 GB Notification: Performance of sort global known variables: time 6e-08/0.4837, allocations: 0 / 1.393 GB, free: 92 kB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005658/0.4843, allocations: 147.7 kB / 1.393 GB, free: 15.94 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003613/0.4846, allocations: 175 kB / 1.393 GB, free: 15.77 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005229/0.4852, allocations: 179.8 kB / 1.393 GB, free: 15.59 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4852, allocations: 0 / 1.393 GB, free: 15.59 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001858/0.4853, allocations: 79.94 kB / 1.393 GB, free: 15.51 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007844/0.4861, allocations: 142.7 kB / 1.394 GB, free: 15.38 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.4872, allocations: 0.6121 MB / 1.394 GB, free: 14.72 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002103/0.4874, allocations: 197.7 kB / 1.394 GB, free: 14.51 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.117e-05/0.4874, allocations: 27.44 kB / 1.394 GB, free: 14.48 MB / 1.092 GB Notification: Performance of SimCode: time 3.2e-07/0.4874, allocations: 0 / 1.394 GB, free: 14.48 MB / 1.092 GB Notification: Performance of Templates: time 0.009226/0.4967, allocations: 5.458 MB / 1.4 GB, free: 9.074 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.772244776133448]