Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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.001809/0.001809, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002351/0.002351, allocations: 212.4 kB / 22.24 MB, free: 5.242 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.677/1.677, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.641/3.641, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop") [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.002209/0.002209, allocations: 68.56 kB / 1.186 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4297/0.4319, allocations: 181.9 MB / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.2115/0.6434, allocations: 142.4 MB / 1.503 GB, free: 14.71 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.00374/0.6472, allocations: 1.603 MB / 1.504 GB, free: 13.11 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004305/0.6476, allocations: 15.81 kB / 1.504 GB, free: 13.09 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.000712/0.6483, allocations: 159 kB / 1.505 GB, free: 12.93 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.001673/0.65, allocations: 0.5212 MB / 1.505 GB, free: 12.41 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001331/0.6513, allocations: 424.5 kB / 1.505 GB, free: 12 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001/0.6523, allocations: 0.5771 MB / 1.506 GB, free: 11.42 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003421/0.6527, allocations: 147.9 kB / 1.506 GB, free: 11.28 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001244/0.6539, allocations: 494.2 kB / 1.507 GB, free: 10.79 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002627/0.6542, allocations: 151.3 kB / 1.507 GB, free: 10.64 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 3.844e-05/0.6542, allocations: 12 kB / 1.507 GB, free: 10.63 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001198/0.6554, allocations: 0.569 MB / 1.507 GB, free: 10.06 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001337/0.6555, allocations: 75.73 kB / 1.507 GB, free: 9.988 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001411/0.6557, allocations: 95.53 kB / 1.508 GB, free: 9.895 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0008624/0.6566, allocations: 494.2 kB / 1.508 GB, free: 9.41 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.6566, allocations: 0 / 1.508 GB, free: 9.41 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.964e-06/0.6566, allocations: 0 / 1.508 GB, free: 9.41 MB / 1.201 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.6566, allocations: 0 / 1.508 GB, free: 9.41 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001031/0.6576, allocations: 0.5197 MB / 1.509 GB, free: 8.859 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.6576, allocations: 8.031 kB / 1.509 GB, free: 8.852 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003983/0.658, allocations: 63.77 kB / 1.509 GB, free: 8.789 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005712/0.6586, allocations: 244.1 kB / 1.509 GB, free: 8.527 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.6586, allocations: 12 kB / 1.509 GB, free: 8.516 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.356e-05/0.6587, allocations: 12 kB / 1.509 GB, free: 8.504 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004571/0.6591, allocations: 221.8 kB / 1.509 GB, free: 8.266 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.6591, allocations: 0 / 1.509 GB, free: 8.266 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.6592, allocations: 8 kB / 1.509 GB, free: 8.258 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.6592, allocations: 7.938 kB / 1.509 GB, free: 8.25 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003299/0.6595, allocations: 136.8 kB / 1.509 GB, free: 8.117 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.6606, allocations: 0.6251 MB / 1.51 GB, free: 7.453 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002984/0.6609, allocations: 82.47 kB / 1.51 GB, free: 7.363 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001706/0.6611, allocations: 76.86 kB / 1.51 GB, free: 7.285 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002148/0.6613, allocations: 23.98 kB / 1.51 GB, free: 7.262 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.6613, allocations: 38.56 kB / 1.51 GB, free: 7.215 MB / 1.201 GB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.6613, allocations: 4 kB / 1.51 GB, free: 7.211 MB / 1.201 GB Notification: Performance of matching and sorting (n=10): time 0.0007278/0.6621, allocations: 209.4 kB / 1.51 GB, free: 7 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/0.6621, allocations: 55.34 kB / 1.51 GB, free: 6.934 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002563/0.6624, allocations: 229.9 kB / 1.51 GB, free: 6.699 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.42e-05/0.6624, allocations: 25.7 kB / 1.511 GB, free: 6.668 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.6625, allocations: 152.3 kB / 1.511 GB, free: 6.516 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 4.652e-05/0.6626, allocations: 35.69 kB / 1.511 GB, free: 6.48 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.187e-05/0.6626, allocations: 33.7 kB / 1.511 GB, free: 6.441 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001865/0.6628, allocations: 330.8 kB / 1.511 GB, free: 6.109 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.663, allocations: 48.75 kB / 1.511 GB, free: 6.059 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002694/0.6632, allocations: 221.6 kB / 1.511 GB, free: 5.793 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002903/0.6635, allocations: 123.3 kB / 1.511 GB, free: 5.66 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.6635, allocations: 0 / 1.511 GB, free: 5.66 MB / 1.201 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003673/0.6639, allocations: 157.4 kB / 1.512 GB, free: 5.5 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.6639, allocations: 7.984 kB / 1.512 GB, free: 5.492 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.6639, allocations: 4 kB / 1.512 GB, free: 5.488 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.6639, allocations: 0 / 1.512 GB, free: 5.488 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.6641, allocations: 31.86 kB / 1.512 GB, free: 5.457 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.6641, allocations: 4.625 kB / 1.512 GB, free: 5.453 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001666/0.6643, allocations: 19.92 kB / 1.512 GB, free: 5.434 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.415e-05/0.6643, allocations: 8.031 kB / 1.512 GB, free: 5.426 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002306/0.6645, allocations: 144.1 kB / 1.512 GB, free: 5.281 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002675/0.6648, allocations: 225.5 kB / 1.512 GB, free: 5.012 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002662/0.665, allocations: 119.3 kB / 1.512 GB, free: 4.883 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.343e-06/0.665, allocations: 0 / 1.512 GB, free: 4.883 MB / 1.201 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003713/0.6654, allocations: 161.5 kB / 1.512 GB, free: 4.719 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.6654, allocations: 8 kB / 1.512 GB, free: 4.711 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-06/0.6654, allocations: 0 / 1.512 GB, free: 4.711 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-06/0.6654, allocations: 0 / 1.512 GB, free: 4.711 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.6655, allocations: 19.98 kB / 1.512 GB, free: 4.691 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.6655, allocations: 11.88 kB / 1.512 GB, free: 4.68 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001596/0.6657, allocations: 19.97 kB / 1.512 GB, free: 4.66 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.6657, allocations: 4 kB / 1.512 GB, free: 4.656 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 10 * 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.0001528/0.6659, allocations: 192.2 kB / 1.513 GB, free: 4.461 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.835e-05/0.6659, allocations: 19.86 kB / 1.513 GB, free: 4.441 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003887/0.6663, allocations: 155.3 kB / 1.513 GB, free: 4.285 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.6663, allocations: 7.938 kB / 1.513 GB, free: 4.277 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.6663, allocations: 0 / 1.513 GB, free: 4.277 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.6663, allocations: 3.938 kB / 1.513 GB, free: 4.273 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009704/0.6673, allocations: 0.5192 MB / 1.513 GB, free: 3.695 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.6673, allocations: 7.984 kB / 1.513 GB, free: 3.688 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.6674, allocations: 19.98 kB / 1.513 GB, free: 3.668 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.651e-05/0.6674, allocations: 4 kB / 1.513 GB, free: 3.664 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.6674, allocations: 0 / 1.513 GB, free: 3.664 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.6675, allocations: 7.938 kB / 1.513 GB, free: 3.656 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.6675, allocations: 4 kB / 1.513 GB, free: 3.652 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004201/0.6679, allocations: 293.5 kB / 1.514 GB, free: 3.328 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 8.787e-05/0.668, allocations: 35.83 kB / 1.514 GB, free: 3.293 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.807e-05/0.668, allocations: 384 / 1.514 GB, free: 3.293 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.6682, allocations: 11.98 kB / 1.514 GB, free: 3.281 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.958e-05/0.6682, allocations: 19.92 kB / 1.514 GB, free: 3.262 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.6682, allocations: 7.938 kB / 1.514 GB, free: 3.254 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0001731/0.6684, allocations: 169.2 kB / 1.514 GB, free: 3.09 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6684, allocations: 4 kB / 1.514 GB, free: 3.086 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004915/0.6689, allocations: 103.7 kB / 1.514 GB, free: 2.984 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.0003222/0.6692, allocations: 147.1 kB / 1.514 GB, free: 2.828 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0005109/0.6697, allocations: 168 kB / 1.514 GB, free: 2.664 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.6697, allocations: 3.938 kB / 1.514 GB, free: 2.66 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.6699, allocations: 60.39 kB / 1.514 GB, free: 2.602 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006818/0.6706, allocations: 98.05 kB / 1.514 GB, free: 2.508 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008034/0.6714, allocations: 429.3 kB / 1.515 GB, free: 2.039 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001715/0.6716, allocations: 150.2 kB / 1.515 GB, free: 1.871 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0001994/0.6718, allocations: 61.83 kB / 1.515 GB, free: 1.812 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.825e-05/0.6718, allocations: 19.44 kB / 1.515 GB, free: 1.793 MB / 1.201 GB Notification: Performance of SimCode: time 4.71e-07/0.6718, allocations: 0 / 1.515 GB, free: 1.793 MB / 1.201 GB Notification: Performance of Templates: time 0.01009/0.6819, allocations: 4.248 MB / 1.519 GB, free: 13.64 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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.55651431158185]