Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001749/0.001749, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.002137/0.002137, allocations: 214.9 kB / 23 MB, free: 4.969 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.829/1.829, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.638/3.638, allocations: 0.49 GB / 0.7959 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002076/0.002076, allocations: 65.94 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4502/0.4523, allocations: 176.1 MB / 1.327 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.02011/0.4724, allocations: 14.1 MB / 1.341 GB, free: 2.805 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.008557/0.4809, allocations: 3.628 MB / 1.344 GB, free: 15.17 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008141/0.4818, allocations: 27.81 kB / 1.344 GB, free: 15.14 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0008026/0.4826, allocations: 182.7 kB / 1.345 GB, free: 14.96 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.00278/0.4853, allocations: 0.7153 MB / 1.345 GB, free: 14.24 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001798/0.4871, allocations: 0.4887 MB / 1.346 GB, free: 13.76 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002125/0.4893, allocations: 1.126 MB / 1.347 GB, free: 12.62 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004859/0.4898, allocations: 246.8 kB / 1.347 GB, free: 12.38 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001225/0.491, allocations: 0.5762 MB / 1.348 GB, free: 11.8 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003525/0.4913, allocations: 238.8 kB / 1.348 GB, free: 11.57 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.276e-05/0.4914, allocations: 16 kB / 1.348 GB, free: 11.55 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009964/0.4924, allocations: 447.2 kB / 1.348 GB, free: 11.12 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001234/0.4925, allocations: 67.64 kB / 1.348 GB, free: 11.05 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001868/0.4927, allocations: 143.3 kB / 1.349 GB, free: 10.91 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0009339/0.4936, allocations: 0.5641 MB / 1.349 GB, free: 10.34 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.4936, allocations: 0 / 1.349 GB, free: 10.34 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4936, allocations: 0 / 1.349 GB, free: 10.34 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.086e-06/0.4936, allocations: 0 / 1.349 GB, free: 10.34 MB / 1.045 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.001129/0.4948, allocations: 0.6441 MB / 1.35 GB, free: 9.668 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.4948, allocations: 8.031 kB / 1.35 GB, free: 9.66 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001165/0.4949, allocations: 48.66 kB / 1.35 GB, free: 9.613 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009263/0.4958, allocations: 384.4 kB / 1.35 GB, free: 9.207 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.4959, allocations: 20.27 kB / 1.35 GB, free: 9.188 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.211e-05/0.4959, allocations: 16 kB / 1.35 GB, free: 9.172 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004239/0.4963, allocations: 208.8 kB / 1.35 GB, free: 8.957 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.4963, allocations: 0 / 1.35 GB, free: 8.957 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.321e-05/0.4964, allocations: 8 kB / 1.35 GB, free: 8.949 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.4964, allocations: 4 kB / 1.35 GB, free: 8.945 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003488/0.4967, allocations: 131.9 kB / 1.351 GB, free: 8.816 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.4978, allocations: 0.5465 MB / 1.351 GB, free: 8.238 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002783/0.4981, allocations: 110.6 kB / 1.351 GB, free: 8.121 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00016/0.4982, allocations: 68.8 kB / 1.351 GB, free: 8.051 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001519/0.4984, allocations: 31.98 kB / 1.351 GB, free: 8.02 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.558e-05/0.4984, allocations: 38.55 kB / 1.351 GB, free: 7.973 MB / 1.045 GB Notification: Performance of pre-optimization done (n=12): time 1.233e-06/0.4984, allocations: 0 / 1.351 GB, free: 7.973 MB / 1.045 GB Notification: Performance of matching and sorting (n=12): time 0.0005966/0.499, allocations: 225.2 kB / 1.351 GB, free: 7.746 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.4991, allocations: 55.41 kB / 1.352 GB, free: 7.68 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000349/0.4994, allocations: 321.7 kB / 1.352 GB, free: 7.355 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/0.4994, allocations: 25.7 kB / 1.352 GB, free: 7.324 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001719/0.4996, allocations: 192.5 kB / 1.352 GB, free: 7.133 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.199e-05/0.4997, allocations: 51.58 kB / 1.352 GB, free: 7.082 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.677e-05/0.4997, allocations: 37.7 kB / 1.352 GB, free: 7.039 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001778/0.4999, allocations: 338.8 kB / 1.352 GB, free: 6.699 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.5001, allocations: 52.81 kB / 1.353 GB, free: 6.645 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002838/0.5003, allocations: 238.9 kB / 1.353 GB, free: 6.359 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002789/0.5006, allocations: 117.6 kB / 1.353 GB, free: 6.238 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5006, allocations: 0 / 1.353 GB, free: 6.238 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004262/0.5011, allocations: 181.4 kB / 1.353 GB, free: 6.055 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.5011, allocations: 4.094 kB / 1.353 GB, free: 6.051 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.5011, allocations: 7.938 kB / 1.353 GB, free: 6.043 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.5011, allocations: 3.938 kB / 1.353 GB, free: 6.039 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.5012, allocations: 27.92 kB / 1.353 GB, free: 6.012 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.5013, allocations: 0 / 1.353 GB, free: 6.012 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001351/0.5014, allocations: 19.92 kB / 1.353 GB, free: 5.992 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.377e-05/0.5014, allocations: 4 kB / 1.353 GB, free: 5.988 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002414/0.5017, allocations: 160.1 kB / 1.353 GB, free: 5.828 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002605/0.5019, allocations: 242.6 kB / 1.353 GB, free: 5.539 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000271/0.5022, allocations: 113.6 kB / 1.354 GB, free: 5.422 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.012e-06/0.5022, allocations: 0 / 1.354 GB, free: 5.422 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.000366/0.5026, allocations: 173.3 kB / 1.354 GB, free: 5.246 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/0.5026, allocations: 8 kB / 1.354 GB, free: 5.238 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-06/0.5026, allocations: 0 / 1.354 GB, free: 5.238 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-06/0.5026, allocations: 4 kB / 1.354 GB, free: 5.234 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.5027, allocations: 27.97 kB / 1.354 GB, free: 5.207 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.5027, allocations: 3.938 kB / 1.354 GB, free: 5.203 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.5028, allocations: 8 kB / 1.354 GB, free: 5.195 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.5028, allocations: 11.98 kB / 1.354 GB, free: 5.184 MB / 1.045 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.0001269/0.503, allocations: 196.1 kB / 1.354 GB, free: 4.984 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.046e-05/0.503, allocations: 35.77 kB / 1.354 GB, free: 4.949 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005243/0.5036, allocations: 226.9 kB / 1.354 GB, free: 4.727 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.5036, allocations: 7.922 kB / 1.354 GB, free: 4.719 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.5036, allocations: 0 / 1.354 GB, free: 4.719 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.5037, allocations: 51.67 kB / 1.354 GB, free: 4.668 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.703e-05/0.5037, allocations: 4 kB / 1.354 GB, free: 4.664 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.5039, allocations: 4 kB / 1.354 GB, free: 4.66 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.776e-05/0.5039, allocations: 16.06 kB / 1.354 GB, free: 4.645 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004598/0.5044, allocations: 260.7 kB / 1.355 GB, free: 4.383 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005338/0.5049, allocations: 388.6 kB / 1.355 GB, free: 3.988 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001655/0.5051, allocations: 67.95 kB / 1.355 GB, free: 3.922 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002357/0.5053, allocations: 227.2 kB / 1.355 GB, free: 3.703 MB / 1.045 GB Notification: Performance of Backend: time 4.61e-07/0.5053, allocations: 0 / 1.355 GB, free: 3.703 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001076/0.5064, allocations: 339.3 kB / 1.356 GB, free: 3.367 MB / 1.045 GB Notification: Performance of SimCode: time 0.001556/0.5079, allocations: 1.082 MB / 1.357 GB, free: 2.234 MB / 1.045 GB Notification: Performance of Templates: time 0.01469/0.5226, allocations: 7.215 MB / 1.364 GB, free: 11.16 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_12_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_12_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./Buildings_12_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.660088993994577]