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.001361/0.001361, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001526/0.001526, allocations: 213 kB / 23.01 MB, free: 4.566 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.552/1.552, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.288/3.288, allocations: 0.49 GB / 0.7958 GB, free: 33.32 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.002051/0.002051, allocations: 65.75 kB / 1.155 GB, free: 25.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4157/0.4177, allocations: 176.1 MB / 1.327 GB, free: 1.465 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01944/0.4372, allocations: 15.43 MB / 1.342 GB, free: 1.969 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.006605/0.4438, allocations: 3.963 MB / 1.346 GB, free: 14 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005894/0.4444, allocations: 31.75 kB / 1.346 GB, free: 13.96 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006945/0.4451, allocations: 194.7 kB / 1.346 GB, free: 13.77 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001887/0.4469, allocations: 0.7154 MB / 1.347 GB, free: 13.05 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00147/0.4484, allocations: 498.2 kB / 1.347 GB, free: 12.57 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001707/0.4501, allocations: 1.13 MB / 1.349 GB, free: 11.44 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004317/0.4506, allocations: 237.7 kB / 1.349 GB, free: 11.2 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009575/0.4515, allocations: 494.1 kB / 1.349 GB, free: 10.72 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003842/0.4519, allocations: 266.8 kB / 1.35 GB, free: 10.46 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.639e-05/0.4519, allocations: 24 kB / 1.35 GB, free: 10.43 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001349/0.4533, allocations: 0.733 MB / 1.35 GB, free: 9.699 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.4534, allocations: 83.56 kB / 1.35 GB, free: 9.617 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000207/0.4536, allocations: 194.9 kB / 1.351 GB, free: 9.426 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001133/0.4547, allocations: 0.7318 MB / 1.351 GB, free: 8.691 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.4548, allocations: 0 / 1.351 GB, free: 8.691 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.204e-06/0.4548, allocations: 0 / 1.351 GB, free: 8.691 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.4548, allocations: 0 / 1.351 GB, free: 8.691 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.00128/0.456, allocations: 0.6984 MB / 1.352 GB, free: 7.961 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.4561, allocations: 8.031 kB / 1.352 GB, free: 7.953 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.4562, allocations: 60.53 kB / 1.352 GB, free: 7.895 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.4573, allocations: 459 kB / 1.352 GB, free: 7.418 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/0.4573, allocations: 12.33 kB / 1.352 GB, free: 7.406 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.442e-05/0.4574, allocations: 20 kB / 1.352 GB, free: 7.387 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000392/0.4578, allocations: 183.2 kB / 1.353 GB, free: 7.203 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.4578, allocations: 3.938 kB / 1.353 GB, free: 7.199 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/0.4578, allocations: 8 kB / 1.353 GB, free: 7.191 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.4578, allocations: 4 kB / 1.353 GB, free: 7.188 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000327/0.4581, allocations: 139.8 kB / 1.353 GB, free: 7.051 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001278/0.4594, allocations: 0.8287 MB / 1.354 GB, free: 6.129 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002677/0.4597, allocations: 110.6 kB / 1.354 GB, free: 6.012 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001623/0.4598, allocations: 68.81 kB / 1.354 GB, free: 5.941 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001564/0.46, allocations: 31.98 kB / 1.354 GB, free: 5.91 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/0.46, allocations: 34.56 kB / 1.354 GB, free: 5.867 MB / 1.045 GB Notification: Performance of pre-optimization done (n=12): time 1.323e-06/0.46, allocations: 0 / 1.354 GB, free: 5.867 MB / 1.045 GB Notification: Performance of matching and sorting (n=12): time 0.0005848/0.4606, allocations: 229.2 kB / 1.354 GB, free: 5.637 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.4607, allocations: 55.34 kB / 1.354 GB, free: 5.57 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003949/0.4611, allocations: 357.7 kB / 1.354 GB, free: 5.211 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.4611, allocations: 25.7 kB / 1.354 GB, free: 5.18 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/0.4613, allocations: 204.3 kB / 1.355 GB, free: 4.977 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.728e-05/0.4613, allocations: 43.62 kB / 1.355 GB, free: 4.934 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.675e-05/0.4614, allocations: 33.72 kB / 1.355 GB, free: 4.895 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.4615, allocations: 342.8 kB / 1.355 GB, free: 4.551 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.4617, allocations: 56.81 kB / 1.355 GB, free: 4.492 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000175/0.4619, allocations: 84.31 kB / 1.355 GB, free: 4.395 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002674/0.4621, allocations: 121.6 kB / 1.355 GB, free: 4.27 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.4621, allocations: 0 / 1.355 GB, free: 4.27 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003747/0.4625, allocations: 193.2 kB / 1.355 GB, free: 4.074 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.4625, allocations: 7.938 kB / 1.355 GB, free: 4.066 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.4625, allocations: 0 / 1.355 GB, free: 4.066 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.4626, allocations: 0 / 1.355 GB, free: 4.066 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.4627, allocations: 27.98 kB / 1.356 GB, free: 4.039 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.4627, allocations: 4 kB / 1.356 GB, free: 4.035 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001908/0.4629, allocations: 19.88 kB / 1.356 GB, free: 4.016 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.748e-05/0.4629, allocations: 7.984 kB / 1.356 GB, free: 4.008 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002421/0.4632, allocations: 160.1 kB / 1.356 GB, free: 3.848 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001649/0.4633, allocations: 92.12 kB / 1.356 GB, free: 3.742 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002549/0.4636, allocations: 105.7 kB / 1.356 GB, free: 3.633 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.597e-06/0.4636, allocations: 7.984 kB / 1.356 GB, free: 3.625 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003438/0.4639, allocations: 173.3 kB / 1.356 GB, free: 3.449 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.464, allocations: 8 kB / 1.356 GB, free: 3.441 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.464, allocations: 3.984 kB / 1.356 GB, free: 3.438 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.767e-06/0.464, allocations: 3.938 kB / 1.356 GB, free: 3.434 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.4641, allocations: 23.98 kB / 1.356 GB, free: 3.41 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.713e-06/0.4641, allocations: 0 / 1.356 GB, free: 3.41 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001651/0.4642, allocations: 19.94 kB / 1.356 GB, free: 3.391 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.4643, allocations: 8 kB / 1.356 GB, free: 3.383 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.0001577/0.4644, allocations: 188.2 kB / 1.356 GB, free: 3.191 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.538e-05/0.4645, allocations: 43.7 kB / 1.356 GB, free: 3.148 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005254/0.465, allocations: 237.3 kB / 1.357 GB, free: 2.91 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.465, allocations: 0 / 1.357 GB, free: 2.91 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.465, allocations: 0 / 1.357 GB, free: 2.91 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.465, allocations: 192 / 1.357 GB, free: 2.91 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009663/0.466, allocations: 0.6169 MB / 1.357 GB, free: 2.234 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.466, allocations: 3.938 kB / 1.357 GB, free: 2.23 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.4661, allocations: 23.98 kB / 1.357 GB, free: 2.207 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.4661, allocations: 4 kB / 1.357 GB, free: 2.203 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.4661, allocations: 0 / 1.357 GB, free: 2.203 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.4661, allocations: 8.094 kB / 1.357 GB, free: 2.195 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.4661, allocations: 3.984 kB / 1.357 GB, free: 2.191 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004729/0.4666, allocations: 327.5 kB / 1.358 GB, free: 1.848 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.4667, allocations: 55.73 kB / 1.358 GB, free: 1.793 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.521e-05/0.4668, allocations: 8.062 kB / 1.358 GB, free: 1.785 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/0.467, allocations: 11.98 kB / 1.358 GB, free: 1.773 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.975e-05/0.467, allocations: 11.98 kB / 1.358 GB, free: 1.762 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.467, allocations: 11.98 kB / 1.358 GB, free: 1.75 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002796/0.4673, allocations: 247.2 kB / 1.358 GB, free: 1.512 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4673, allocations: 0 / 1.358 GB, free: 1.512 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0006632/0.468, allocations: 207.3 kB / 1.358 GB, free: 1.309 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.0004659/0.4684, allocations: 242.7 kB / 1.358 GB, free: 1.062 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005175/0.4689, allocations: 179.8 kB / 1.358 GB, free: 0.8867 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4689, allocations: 0 / 1.358 GB, free: 0.8867 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001807/0.4691, allocations: 84.06 kB / 1.359 GB, free: 0.8047 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008208/0.47, allocations: 151.2 kB / 1.359 GB, free: 0.6641 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.4711, allocations: 0.6082 MB / 1.359 GB, free: 16 kB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004721/0.4715, allocations: 0.7957 MB / 1.36 GB, free: 15.19 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.994e-05/0.4716, allocations: 35.42 kB / 1.36 GB, free: 15.16 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/0.4716, allocations: 0 / 1.36 GB, free: 15.16 MB / 1.061 GB Notification: Performance of Templates: time 0.01029/0.4819, allocations: 5.989 MB / 1.366 GB, free: 9.223 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: 13.110657765995711]