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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 103 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 225.6 MB / 249.9 MB, free: 3.203 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.917/2.917, allocations: 489.7 MB / 0.7761 GB, free: 2.441 MB / 0.6075 GB [Timeout remaining time 86] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,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=502,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: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 63.89 kB / 1.127 GB, free: 5.207 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.15/1.152, allocations: 172.1 MB / 1.295 GB, free: 38.69 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.0134/1.165, allocations: 15.17 MB / 1.31 GB, free: 27.85 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005313/1.171, allocations: 3.89 MB / 1.313 GB, free: 25.12 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000627/1.171, allocations: 21.5 kB / 1.313 GB, free: 25.12 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006597/1.172, allocations: 202 kB / 1.314 GB, free: 24.99 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001755/1.174, allocations: 0.708 MB / 1.314 GB, free: 24.6 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001309/1.175, allocations: 476.2 kB / 1.315 GB, free: 24.38 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001427/1.176, allocations: 1.085 MB / 1.316 GB, free: 23.89 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003632/1.177, allocations: 241.5 kB / 1.316 GB, free: 23.79 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007967/1.178, allocations: 476.1 kB / 1.317 GB, free: 23.58 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002849/1.178, allocations: 268.7 kB / 1.317 GB, free: 23.47 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.462e-05/1.178, allocations: 19.59 kB / 1.317 GB, free: 23.47 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001183/1.179, allocations: 0.72 MB / 1.318 GB, free: 23.23 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.606e-05/1.179, allocations: 78.48 kB / 1.318 GB, free: 23.19 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001668/1.179, allocations: 192.9 kB / 1.318 GB, free: 23.08 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0009881/1.18, allocations: 0.7194 MB / 1.319 GB, free: 22.82 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/1.18, allocations: 0 / 1.319 GB, free: 22.82 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.183e-06/1.18, allocations: 6.312 kB / 1.319 GB, free: 22.81 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.464e-06/1.18, allocations: 0 / 1.319 GB, free: 22.81 MB / 1.061 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.001035/1.181, allocations: 0.7559 MB / 1.319 GB, free: 22.19 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/1.181, allocations: 8.312 kB / 1.319 GB, free: 22.19 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.513e-05/1.181, allocations: 47.44 kB / 1.319 GB, free: 22.17 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009549/1.182, allocations: 0.52 MB / 1.32 GB, free: 21.81 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/1.182, allocations: 16.89 kB / 1.32 GB, free: 21.8 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.02e-05/1.182, allocations: 15.41 kB / 1.32 GB, free: 21.8 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003542/1.183, allocations: 176.4 kB / 1.32 GB, free: 21.72 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/1.183, allocations: 0 / 1.32 GB, free: 21.72 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/1.183, allocations: 6.938 kB / 1.32 GB, free: 21.72 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/1.183, allocations: 6.562 kB / 1.32 GB, free: 21.71 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000301/1.183, allocations: 143.2 kB / 1.32 GB, free: 21.67 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009898/1.184, allocations: 0.8622 MB / 1.321 GB, free: 20.99 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002453/1.184, allocations: 113.2 kB / 1.321 GB, free: 20.94 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001403/1.185, allocations: 69.12 kB / 1.321 GB, free: 20.91 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002275/1.185, allocations: 335.7 kB / 1.321 GB, free: 20.53 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/1.185, allocations: 37.75 kB / 1.322 GB, free: 20.49 MB / 1.061 GB Notification: Performance of pre-optimization done (n=12): time 1.393e-06/1.185, allocations: 4 kB / 1.322 GB, free: 20.48 MB / 1.061 GB Notification: Performance of matching and sorting (n=12): time 0.0005455/1.185, allocations: 215.8 kB / 1.322 GB, free: 20.39 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/1.185, allocations: 58.28 kB / 1.322 GB, free: 20.33 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000311/1.186, allocations: 348 kB / 1.322 GB, free: 20.15 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/1.186, allocations: 25.7 kB / 1.322 GB, free: 20.12 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/1.186, allocations: 195.5 kB / 1.322 GB, free: 19.96 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.129e-05/1.186, allocations: 40.72 kB / 1.322 GB, free: 19.93 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.652e-05/1.186, allocations: 39.39 kB / 1.322 GB, free: 19.9 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.704e-05/1.186, allocations: 345.5 kB / 1.323 GB, free: 19.57 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000131/1.186, allocations: 51.75 kB / 1.323 GB, free: 19.55 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001472/1.186, allocations: 91.22 kB / 1.323 GB, free: 19.49 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002447/1.187, allocations: 122 kB / 1.323 GB, free: 19.44 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/1.187, allocations: 3.938 kB / 1.323 GB, free: 19.43 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003395/1.187, allocations: 168.5 kB / 1.323 GB, free: 19.36 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/1.187, allocations: 11.38 kB / 1.323 GB, free: 19.36 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/1.187, allocations: 3.984 kB / 1.323 GB, free: 19.35 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/1.187, allocations: 0 / 1.323 GB, free: 19.35 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/1.187, allocations: 35.55 kB / 1.323 GB, free: 19.34 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/1.187, allocations: 0 / 1.323 GB, free: 19.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/1.187, allocations: 21.36 kB / 1.323 GB, free: 19.34 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.765e-05/1.187, allocations: 7.172 kB / 1.323 GB, free: 19.34 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001975/1.187, allocations: 153.6 kB / 1.323 GB, free: 19.23 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001346/1.188, allocations: 91.52 kB / 1.323 GB, free: 19.17 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002188/1.188, allocations: 112.3 kB / 1.324 GB, free: 19.12 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.82e-07/1.188, allocations: 2.844 kB / 1.324 GB, free: 19.12 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003076/1.188, allocations: 173.5 kB / 1.324 GB, free: 19.04 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 8.055e-06/1.188, allocations: 6.844 kB / 1.324 GB, free: 19.04 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-06/1.188, allocations: 0 / 1.324 GB, free: 19.04 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.085e-06/1.188, allocations: 10.53 kB / 1.324 GB, free: 19.04 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/1.188, allocations: 28.78 kB / 1.324 GB, free: 19.03 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.703e-06/1.188, allocations: 0 / 1.324 GB, free: 19.03 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001722/1.188, allocations: 18.97 kB / 1.324 GB, free: 19.03 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/1.188, allocations: 4.938 kB / 1.324 GB, free: 19.03 MB / 1.061 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 7.61e-05/1.189, allocations: 185.5 kB / 1.324 GB, free: 18.84 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.513e-05/1.189, allocations: 39.02 kB / 1.324 GB, free: 18.82 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004374/1.189, allocations: 232.1 kB / 1.324 GB, free: 18.72 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/1.189, allocations: 0 / 1.324 GB, free: 18.72 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/1.189, allocations: 6.844 kB / 1.324 GB, free: 18.71 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/1.189, allocations: 3.984 kB / 1.324 GB, free: 18.71 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007725/1.19, allocations: 0.6378 MB / 1.325 GB, free: 18.26 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/1.19, allocations: 7.031 kB / 1.325 GB, free: 18.26 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/1.19, allocations: 30.09 kB / 1.325 GB, free: 18.25 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/1.19, allocations: 0 / 1.325 GB, free: 18.25 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/1.19, allocations: 2.625 kB / 1.325 GB, free: 18.25 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/1.19, allocations: 3.094 kB / 1.325 GB, free: 18.25 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/1.19, allocations: 0 / 1.325 GB, free: 18.25 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003733/1.19, allocations: 325.4 kB / 1.325 GB, free: 18.03 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.932e-05/1.19, allocations: 124.3 kB / 1.325 GB, free: 17.91 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.802e-05/1.19, allocations: 5.766 kB / 1.325 GB, free: 17.91 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001954/1.191, allocations: 14.97 kB / 1.325 GB, free: 17.9 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.869e-05/1.191, allocations: 12.34 kB / 1.325 GB, free: 17.9 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/1.191, allocations: 8.719 kB / 1.325 GB, free: 17.9 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002131/1.191, allocations: 248.6 kB / 1.326 GB, free: 17.77 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.191, allocations: 0 / 1.326 GB, free: 17.77 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000634/1.192, allocations: 196.3 kB / 1.326 GB, free: 17.71 MB / 1.061 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.0005602/1.192, allocations: 262.5 kB / 1.326 GB, free: 17.55 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004925/1.193, allocations: 182.3 kB / 1.326 GB, free: 17.51 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/1.193, allocations: 0 / 1.326 GB, free: 17.51 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001549/1.193, allocations: 71.2 kB / 1.326 GB, free: 17.49 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007617/1.194, allocations: 151.9 kB / 1.326 GB, free: 17.45 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008506/1.194, allocations: 0.604 MB / 1.327 GB, free: 17.04 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/1.195, allocations: 0.7947 MB / 1.328 GB, free: 16.33 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.186e-05/1.195, allocations: 35.33 kB / 1.328 GB, free: 16.32 MB / 1.061 GB Notification: Performance of SimCode: time 3.31e-07/1.195, allocations: 0 / 1.328 GB, free: 16.32 MB / 1.061 GB Notification: Performance of Templates: time 0.01108/1.206, allocations: 5.814 MB / 1.334 GB, free: 15.63 MB / 1.061 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1) [Timeout 400] 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