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.001428/0.001428, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001635/0.001635, allocations: 221.8 kB / 23 MB, free: 4.91 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.522/1.522, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.243/3.243, allocations: 0.4892 GB / 0.7951 GB, free: 35.6 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.002141/0.002141, allocations: 78.86 kB / 1.154 GB, free: 25.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3968/0.3989, allocations: 176.1 MB / 1.326 GB, free: 1.875 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.02003/0.419, allocations: 14.1 MB / 1.34 GB, free: 3.723 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.006612/0.4256, allocations: 3.628 MB / 1.344 GB, free: 88 kB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006174/0.4262, allocations: 27.75 kB / 1.344 GB, free: 60 kB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007026/0.4269, allocations: 190.8 kB / 1.344 GB, free: 15.87 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.00205/0.429, allocations: 0.7046 MB / 1.344 GB, free: 15.16 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001443/0.4304, allocations: 492.2 kB / 1.345 GB, free: 14.68 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0018/0.4322, allocations: 1.137 MB / 1.346 GB, free: 13.55 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004503/0.4327, allocations: 237.7 kB / 1.346 GB, free: 13.31 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001175/0.4338, allocations: 0.5722 MB / 1.347 GB, free: 12.74 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000339/0.4342, allocations: 230.8 kB / 1.347 GB, free: 12.51 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.362e-05/0.4342, allocations: 16 kB / 1.347 GB, free: 12.5 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000893/0.4351, allocations: 431.2 kB / 1.347 GB, free: 12.07 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.4352, allocations: 71.56 kB / 1.348 GB, free: 12 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001748/0.4354, allocations: 139.3 kB / 1.348 GB, free: 11.87 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0009346/0.4363, allocations: 0.5603 MB / 1.348 GB, free: 11.3 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.4363, allocations: 7.938 kB / 1.348 GB, free: 11.3 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4363, allocations: 0 / 1.348 GB, free: 11.3 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.4363, allocations: 0 / 1.348 GB, free: 11.3 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.001158/0.4375, allocations: 0.6481 MB / 1.349 GB, free: 10.62 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.4375, allocations: 11.97 kB / 1.349 GB, free: 10.61 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.45e-05/0.4376, allocations: 44.66 kB / 1.349 GB, free: 10.56 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009205/0.4386, allocations: 384.4 kB / 1.349 GB, free: 10.16 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.749e-05/0.4386, allocations: 16.33 kB / 1.349 GB, free: 10.14 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.033e-05/0.4386, allocations: 16 kB / 1.349 GB, free: 10.13 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004324/0.4391, allocations: 204.8 kB / 1.35 GB, free: 9.918 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.4391, allocations: 4 kB / 1.35 GB, free: 9.914 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.112e-05/0.4391, allocations: 8 kB / 1.35 GB, free: 9.906 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.4391, allocations: 4 kB / 1.35 GB, free: 9.902 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003406/0.4395, allocations: 135.9 kB / 1.35 GB, free: 9.77 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.4405, allocations: 0.5348 MB / 1.35 GB, free: 9.203 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002977/0.4408, allocations: 114.6 kB / 1.35 GB, free: 9.082 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001642/0.441, allocations: 72.81 kB / 1.35 GB, free: 9.008 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002368/0.4412, allocations: 35.97 kB / 1.35 GB, free: 8.973 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.4413, allocations: 30.56 kB / 1.35 GB, free: 8.934 MB / 1.045 GB Notification: Performance of pre-optimization done (n=12): time 1.332e-06/0.4413, allocations: 0 / 1.35 GB, free: 8.934 MB / 1.045 GB Notification: Performance of matching and sorting (n=12): time 0.0006379/0.4419, allocations: 229.2 kB / 1.351 GB, free: 8.703 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.4419, allocations: 51.41 kB / 1.351 GB, free: 8.641 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004347/0.4424, allocations: 329.6 kB / 1.351 GB, free: 8.305 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.039e-05/0.4424, allocations: 25.7 kB / 1.351 GB, free: 8.273 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.4426, allocations: 192.5 kB / 1.351 GB, free: 8.082 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.375e-05/0.4426, allocations: 47.56 kB / 1.351 GB, free: 8.035 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.687e-05/0.4427, allocations: 33.7 kB / 1.351 GB, free: 7.996 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001762/0.4429, allocations: 342.8 kB / 1.352 GB, free: 7.652 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/0.4431, allocations: 52.81 kB / 1.352 GB, free: 7.598 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002628/0.4433, allocations: 242.5 kB / 1.352 GB, free: 7.309 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002866/0.4436, allocations: 121.6 kB / 1.352 GB, free: 7.184 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4436, allocations: 0 / 1.352 GB, free: 7.184 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003801/0.444, allocations: 177.3 kB / 1.352 GB, free: 7.004 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.444, allocations: 8 kB / 1.352 GB, free: 6.996 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.444, allocations: 3.938 kB / 1.352 GB, free: 6.992 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.4441, allocations: 3.938 kB / 1.352 GB, free: 6.988 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.4442, allocations: 27.98 kB / 1.352 GB, free: 6.961 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.4442, allocations: 0 / 1.352 GB, free: 6.961 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/0.4444, allocations: 15.98 kB / 1.352 GB, free: 6.945 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/0.4444, allocations: 4 kB / 1.352 GB, free: 6.941 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002549/0.4446, allocations: 160 kB / 1.352 GB, free: 6.781 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002562/0.4449, allocations: 238.5 kB / 1.353 GB, free: 6.496 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002643/0.4452, allocations: 113.7 kB / 1.353 GB, free: 6.379 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.032e-06/0.4452, allocations: 4 kB / 1.353 GB, free: 6.375 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003614/0.4455, allocations: 173.3 kB / 1.353 GB, free: 6.199 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 8.195e-06/0.4455, allocations: 4 kB / 1.353 GB, free: 6.195 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.4455, allocations: 7.984 kB / 1.353 GB, free: 6.188 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-06/0.4455, allocations: 0 / 1.353 GB, free: 6.188 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.4457, allocations: 31.92 kB / 1.353 GB, free: 6.156 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.4457, allocations: 3.984 kB / 1.353 GB, free: 6.152 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.4458, allocations: 11.98 kB / 1.353 GB, free: 6.141 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.4458, allocations: 12 kB / 1.353 GB, free: 6.129 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.0001382/0.4459, allocations: 192.2 kB / 1.353 GB, free: 5.934 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.467e-05/0.446, allocations: 39.7 kB / 1.353 GB, free: 5.895 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005324/0.4465, allocations: 229.3 kB / 1.353 GB, free: 5.668 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.575e-06/0.4465, allocations: 0 / 1.353 GB, free: 5.668 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.4466, allocations: 0 / 1.353 GB, free: 5.668 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.4466, allocations: 0 / 1.353 GB, free: 5.668 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009398/0.4475, allocations: 0.5549 MB / 1.354 GB, free: 5.066 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.4475, allocations: 0 / 1.354 GB, free: 5.066 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/0.4476, allocations: 28.11 kB / 1.354 GB, free: 5.039 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.4476, allocations: 0 / 1.354 GB, free: 5.039 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.4476, allocations: 4 kB / 1.354 GB, free: 5.035 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.4476, allocations: 0 / 1.354 GB, free: 5.035 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/0.4476, allocations: 11.92 kB / 1.354 GB, free: 5.023 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004831/0.4481, allocations: 324 kB / 1.354 GB, free: 4.684 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.4483, allocations: 59.66 kB / 1.354 GB, free: 4.625 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.605e-05/0.4483, allocations: 0 / 1.354 GB, free: 4.625 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001594/0.4484, allocations: 15.98 kB / 1.354 GB, free: 4.609 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.334e-05/0.4485, allocations: 11.97 kB / 1.354 GB, free: 4.598 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.4485, allocations: 8 kB / 1.354 GB, free: 4.59 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000239/0.4488, allocations: 227.2 kB / 1.355 GB, free: 4.371 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4488, allocations: 0 / 1.355 GB, free: 4.371 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0005576/0.4493, allocations: 151.6 kB / 1.355 GB, free: 4.223 MB / 1.045 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.0003431/0.4497, allocations: 179 kB / 1.355 GB, free: 4.039 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005481/0.4502, allocations: 183.8 kB / 1.355 GB, free: 3.859 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.4502, allocations: 4 kB / 1.355 GB, free: 3.855 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001814/0.4504, allocations: 75.83 kB / 1.355 GB, free: 3.781 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008027/0.4512, allocations: 146.8 kB / 1.355 GB, free: 3.641 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.4522, allocations: 0.6005 MB / 1.356 GB, free: 2.996 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002092/0.4525, allocations: 193.8 kB / 1.356 GB, free: 2.785 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.11e-05/0.4525, allocations: 31.44 kB / 1.356 GB, free: 2.754 MB / 1.045 GB Notification: Performance of SimCode: time 3.2e-07/0.4525, allocations: 0 / 1.356 GB, free: 2.754 MB / 1.045 GB Notification: Performance of Templates: time 0.009496/0.462, allocations: 5.447 MB / 1.361 GB, free: 13.36 MB / 1.061 GB " [Timeout remaining time 300] 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: 12.80055535910651]