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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002007/0.002008, allocations: 111.8 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002639/0.002638, allocations: 194.1 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.672/1.672, allocations: 222.9 MB / 245.7 MB, free: 4.324 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.019/3.019, allocations: 489.3 MB / 0.7687 GB, free: 3.77 MB / 0.6075 GB " [Timeout remaining time 176] 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=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: Performance of FrontEnd - loaded program: time 0.002843/0.002843, allocations: 71.89 kB / 1.103 GB, free: 0.8203 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.051/1.054, allocations: 163.8 MB / 1.263 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01709/1.071, allocations: 15.08 MB / 1.277 GB, free: 13.22 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.006664/1.078, allocations: 3.879 MB / 1.281 GB, free: 10.5 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000684/1.079, allocations: 22.28 kB / 1.281 GB, free: 10.49 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0007192/1.079, allocations: 187.4 kB / 1.281 GB, free: 10.37 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002073/1.082, allocations: 0.6778 MB / 1.282 GB, free: 9.992 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001543/1.083, allocations: 471.6 kB / 1.282 GB, free: 9.781 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001849/1.085, allocations: 1.08 MB / 1.283 GB, free: 9.297 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005604/1.086, allocations: 281.6 kB / 1.284 GB, free: 9.176 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001026/1.087, allocations: 459.9 kB / 1.284 GB, free: 8.973 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003683/1.087, allocations: 259.4 kB / 1.284 GB, free: 8.859 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.813e-05/1.087, allocations: 19.12 kB / 1.284 GB, free: 8.859 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001701/1.089, allocations: 0.7146 MB / 1.285 GB, free: 8.629 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000122/1.089, allocations: 68.09 kB / 1.285 GB, free: 8.59 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002392/1.089, allocations: 189 kB / 1.285 GB, free: 8.48 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001453/1.091, allocations: 0.7285 MB / 1.286 GB, free: 8.215 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/1.091, allocations: 0 / 1.286 GB, free: 8.215 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.595e-06/1.091, allocations: 5.188 kB / 1.286 GB, free: 8.211 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.207e-06/1.091, allocations: 0 / 1.286 GB, free: 8.211 MB / 1.014 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.001457/1.092, allocations: 0.759 MB / 1.287 GB, free: 7.586 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/1.092, allocations: 9.391 kB / 1.287 GB, free: 7.586 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/1.092, allocations: 42.11 kB / 1.287 GB, free: 7.566 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/1.093, allocations: 0.5175 MB / 1.287 GB, free: 7.207 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.127e-05/1.094, allocations: 12.64 kB / 1.287 GB, free: 7.203 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.352e-05/1.094, allocations: 20.41 kB / 1.287 GB, free: 7.195 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004549/1.094, allocations: 179 kB / 1.288 GB, free: 7.117 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/1.094, allocations: 0 / 1.288 GB, free: 7.117 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/1.094, allocations: 6.312 kB / 1.288 GB, free: 7.113 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/1.094, allocations: 8.125 kB / 1.288 GB, free: 7.109 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003611/1.094, allocations: 143.1 kB / 1.288 GB, free: 7.066 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001366/1.096, allocations: 0.857 MB / 1.289 GB, free: 6.387 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003004/1.096, allocations: 116.3 kB / 1.289 GB, free: 6.336 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001813/1.096, allocations: 81 kB / 1.289 GB, free: 6.305 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003897/1.097, allocations: 336.2 kB / 1.289 GB, free: 5.922 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.125e-05/1.097, allocations: 32.33 kB / 1.289 GB, free: 5.883 MB / 1.014 GB Notification: Performance of pre-optimization done (n=12): time 4.057e-06/1.097, allocations: 4 kB / 1.289 GB, free: 5.879 MB / 1.014 GB Notification: Performance of matching and sorting (n=12): time 0.0006556/1.097, allocations: 226 kB / 1.289 GB, free: 5.781 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.393e-05/1.098, allocations: 53.59 kB / 1.289 GB, free: 5.719 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004835/1.098, allocations: 344.9 kB / 1.29 GB, free: 5.543 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.247e-05/1.098, allocations: 31.89 kB / 1.29 GB, free: 5.508 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001924/1.098, allocations: 195 kB / 1.29 GB, free: 5.34 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.871e-05/1.098, allocations: 44.69 kB / 1.29 GB, free: 5.305 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.616e-05/1.098, allocations: 34.69 kB / 1.29 GB, free: 5.281 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002063/1.099, allocations: 344.3 kB / 1.29 GB, free: 4.953 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001684/1.099, allocations: 46.98 kB / 1.29 GB, free: 4.938 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000211/1.099, allocations: 96.39 kB / 1.29 GB, free: 4.875 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003112/1.099, allocations: 111.6 kB / 1.291 GB, free: 4.832 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.099, allocations: 3.938 kB / 1.291 GB, free: 4.828 MB / 1.014 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004279/1.1, allocations: 178.5 kB / 1.291 GB, free: 4.746 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/1.1, allocations: 11.59 kB / 1.291 GB, free: 4.742 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/1.1, allocations: 1.578 kB / 1.291 GB, free: 4.742 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/1.1, allocations: 5.219 kB / 1.291 GB, free: 4.738 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/1.1, allocations: 31.5 kB / 1.291 GB, free: 4.73 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/1.1, allocations: 2.375 kB / 1.291 GB, free: 4.73 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/1.1, allocations: 21.7 kB / 1.291 GB, free: 4.723 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.637e-05/1.1, allocations: 4.875 kB / 1.291 GB, free: 4.723 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002442/1.101, allocations: 155.7 kB / 1.291 GB, free: 4.617 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001789/1.101, allocations: 86.52 kB / 1.291 GB, free: 4.562 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002834/1.101, allocations: 113 kB / 1.291 GB, free: 4.516 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.52e-07/1.101, allocations: 1.094 kB / 1.291 GB, free: 4.516 MB / 1.014 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003949/1.101, allocations: 175.4 kB / 1.291 GB, free: 4.434 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 9.117e-06/1.101, allocations: 5.719 kB / 1.291 GB, free: 4.434 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-06/1.101, allocations: 4.562 kB / 1.291 GB, free: 4.43 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.05e-06/1.101, allocations: 5.562 kB / 1.291 GB, free: 4.426 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/1.102, allocations: 23.58 kB / 1.291 GB, free: 4.426 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/1.102, allocations: 1.797 kB / 1.291 GB, free: 4.426 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/1.102, allocations: 25.34 kB / 1.291 GB, free: 4.414 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/1.102, allocations: 5.266 kB / 1.291 GB, free: 4.414 MB / 1.014 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.0001425/1.102, allocations: 189.1 kB / 1.292 GB, free: 4.227 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.218e-05/1.102, allocations: 43.39 kB / 1.292 GB, free: 4.199 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005423/1.103, allocations: 227.2 kB / 1.292 GB, free: 4.102 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.709e-06/1.103, allocations: 1.922 kB / 1.292 GB, free: 4.102 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/1.103, allocations: 1.062 kB / 1.292 GB, free: 4.102 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/1.103, allocations: 0.5625 kB / 1.292 GB, free: 4.102 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/1.104, allocations: 0.635 MB / 1.292 GB, free: 3.652 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/1.104, allocations: 1.406 kB / 1.292 GB, free: 3.652 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/1.104, allocations: 28.12 kB / 1.292 GB, free: 3.648 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/1.104, allocations: 1.156 kB / 1.292 GB, free: 3.648 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/1.104, allocations: 7.406 kB / 1.292 GB, free: 3.645 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/1.104, allocations: 14.52 kB / 1.292 GB, free: 3.633 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.104, allocations: 0 / 1.292 GB, free: 3.633 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005027/1.104, allocations: 319.3 kB / 1.293 GB, free: 3.414 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/1.105, allocations: 131.9 kB / 1.293 GB, free: 3.289 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.447e-05/1.105, allocations: 6.188 kB / 1.293 GB, free: 3.285 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/1.105, allocations: 15.69 kB / 1.293 GB, free: 3.281 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.585e-05/1.105, allocations: 14.36 kB / 1.293 GB, free: 3.277 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/1.105, allocations: 5.344 kB / 1.293 GB, free: 3.277 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002943/1.105, allocations: 246.2 kB / 1.293 GB, free: 3.152 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.105, allocations: 0 / 1.293 GB, free: 3.152 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007245/1.106, allocations: 197.4 kB / 1.293 GB, free: 3.102 MB / 1.014 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.0006115/1.107, allocations: 245.4 kB / 1.294 GB, free: 2.961 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005831/1.107, allocations: 196.9 kB / 1.294 GB, free: 2.906 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.107, allocations: 1.094 kB / 1.294 GB, free: 2.906 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001925/1.107, allocations: 77.25 kB / 1.294 GB, free: 2.887 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008305/1.108, allocations: 154.4 kB / 1.294 GB, free: 2.832 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/1.109, allocations: 0.5966 MB / 1.295 GB, free: 2.438 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004459/1.11, allocations: 0.7915 MB / 1.295 GB, free: 1.734 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.613e-05/1.11, allocations: 29.73 kB / 1.295 GB, free: 1.727 MB / 1.014 GB Notification: Performance of SimCode: time 4.21e-07/1.11, allocations: 1.156 kB / 1.295 GB, free: 1.727 MB / 1.014 GB Notification: Performance of Templates: time 0.01188/1.122, allocations: 5.794 MB / 1.301 GB, free: 1.055 MB / 1.014 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_2/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.976377287879586]