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.001937/0.001937, allocations: 110.5 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.002914/0.002914, allocations: 217.6 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.503/1.503, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.39/3.39, allocations: 0.505 GB / 0.8108 GB, free: 21.99 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.002057/0.002057, allocations: 69.12 kB / 1.178 GB, free: 16.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4003/0.4023, allocations: 180.2 MB / 1.354 GB, free: 7.93 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.2133/0.6156, allocations: 165.1 MB / 1.515 GB, free: 2.23 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.003548/0.6192, allocations: 1.722 MB / 1.517 GB, free: 0.5039 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004189/0.6196, allocations: 15.81 kB / 1.517 GB, free: 500 kB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0006786/0.6203, allocations: 163 kB / 1.517 GB, free: 336 kB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.001544/0.6218, allocations: 0.5406 MB / 1.518 GB, free: 15.79 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.6231, allocations: 440.1 kB / 1.518 GB, free: 15.36 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.0009123/0.624, allocations: 0.5831 MB / 1.519 GB, free: 14.78 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000306/0.6243, allocations: 136.7 kB / 1.519 GB, free: 14.64 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001126/0.6254, allocations: 494.2 kB / 1.519 GB, free: 14.16 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002484/0.6257, allocations: 159.3 kB / 1.519 GB, free: 14 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 3.571e-05/0.6257, allocations: 15.98 kB / 1.519 GB, free: 13.98 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001261/0.627, allocations: 0.721 MB / 1.52 GB, free: 13.26 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.6271, allocations: 75.8 kB / 1.52 GB, free: 13.19 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0001359/0.6272, allocations: 127.3 kB / 1.52 GB, free: 13.06 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.0008289/0.6281, allocations: 0.4944 MB / 1.521 GB, free: 12.57 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.6281, allocations: 0 / 1.521 GB, free: 12.57 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.873e-06/0.6281, allocations: 0 / 1.521 GB, free: 12.57 MB / 1.217 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.6281, allocations: 0 / 1.521 GB, free: 12.57 MB / 1.217 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.0009164/0.629, allocations: 0.5235 MB / 1.521 GB, free: 12.01 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.629, allocations: 8.031 kB / 1.521 GB, free: 12 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000342/0.6294, allocations: 55.78 kB / 1.521 GB, free: 11.95 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005077/0.6299, allocations: 248.1 kB / 1.522 GB, free: 11.68 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.6299, allocations: 8 kB / 1.522 GB, free: 11.67 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.864e-05/0.6299, allocations: 19.98 kB / 1.522 GB, free: 11.65 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000398/0.6303, allocations: 196.1 kB / 1.522 GB, free: 11.44 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.6303, allocations: 0 / 1.522 GB, free: 11.44 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.362e-05/0.6304, allocations: 4 kB / 1.522 GB, free: 11.44 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.6304, allocations: 4 kB / 1.522 GB, free: 11.43 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000313/0.6307, allocations: 135.8 kB / 1.522 GB, free: 11.3 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001088/0.6318, allocations: 0.741 MB / 1.523 GB, free: 10.5 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000254/0.632, allocations: 78.53 kB / 1.523 GB, free: 10.41 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/0.6322, allocations: 80.86 kB / 1.523 GB, free: 10.33 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002182/0.6324, allocations: 31.98 kB / 1.523 GB, free: 10.3 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/0.6324, allocations: 30.56 kB / 1.523 GB, free: 10.26 MB / 1.217 GB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.6324, allocations: 0 / 1.523 GB, free: 10.26 MB / 1.217 GB Notification: Performance of matching and sorting (n=10): time 0.0007058/0.6332, allocations: 229.5 kB / 1.523 GB, free: 10.03 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.6332, allocations: 63.28 kB / 1.523 GB, free: 9.953 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002911/0.6335, allocations: 272.2 kB / 1.523 GB, free: 9.68 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.6335, allocations: 25.7 kB / 1.523 GB, free: 9.648 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.6336, allocations: 148 kB / 1.524 GB, free: 9.5 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 3.963e-05/0.6337, allocations: 39.67 kB / 1.524 GB, free: 9.461 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.935e-05/0.6337, allocations: 29.72 kB / 1.524 GB, free: 9.426 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001828/0.6339, allocations: 338.8 kB / 1.524 GB, free: 9.086 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.634, allocations: 44.81 kB / 1.524 GB, free: 9.039 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/0.6342, allocations: 93.11 kB / 1.524 GB, free: 8.93 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002637/0.6345, allocations: 123.3 kB / 1.524 GB, free: 8.797 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.6345, allocations: 0 / 1.524 GB, free: 8.797 MB / 1.217 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003423/0.6348, allocations: 161.4 kB / 1.524 GB, free: 8.633 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.6348, allocations: 4 kB / 1.524 GB, free: 8.629 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.088e-06/0.6348, allocations: 8.031 kB / 1.524 GB, free: 8.621 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.6349, allocations: 7.938 kB / 1.524 GB, free: 8.613 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.635, allocations: 19.98 kB / 1.524 GB, free: 8.594 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.635, allocations: 3.984 kB / 1.524 GB, free: 8.59 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001704/0.6352, allocations: 27.88 kB / 1.524 GB, free: 8.562 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.262e-05/0.6352, allocations: 4 kB / 1.524 GB, free: 8.559 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002003/0.6354, allocations: 144.1 kB / 1.525 GB, free: 8.414 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001707/0.6356, allocations: 97.05 kB / 1.525 GB, free: 8.301 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002419/0.6358, allocations: 111.4 kB / 1.525 GB, free: 8.18 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.62e-07/0.6358, allocations: 0 / 1.525 GB, free: 8.18 MB / 1.217 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003343/0.6361, allocations: 165.3 kB / 1.525 GB, free: 8.012 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.6362, allocations: 5.406 kB / 1.525 GB, free: 8.008 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.6362, allocations: 4 kB / 1.525 GB, free: 8.004 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-06/0.6362, allocations: 0 / 1.525 GB, free: 8.004 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.6363, allocations: 23.92 kB / 1.525 GB, free: 7.98 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.289e-06/0.6363, allocations: 4 kB / 1.525 GB, free: 7.977 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.6364, allocations: 16.45 kB / 1.525 GB, free: 7.961 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.6365, allocations: 4 kB / 1.525 GB, free: 7.957 MB / 1.217 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.0001263/0.6366, allocations: 196.2 kB / 1.525 GB, free: 7.758 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.469e-05/0.6366, allocations: 31.8 kB / 1.525 GB, free: 7.727 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003784/0.637, allocations: 163.4 kB / 1.525 GB, free: 7.559 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.637, allocations: 0 / 1.525 GB, free: 7.559 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.637, allocations: 3.938 kB / 1.525 GB, free: 7.555 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.637, allocations: 3.984 kB / 1.525 GB, free: 7.551 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009588/0.638, allocations: 0.5616 MB / 1.526 GB, free: 6.918 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.638, allocations: 4.219 kB / 1.526 GB, free: 6.914 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.6381, allocations: 27.92 kB / 1.526 GB, free: 6.887 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.6381, allocations: 4 kB / 1.526 GB, free: 6.883 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.6381, allocations: 4 kB / 1.526 GB, free: 6.879 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.6381, allocations: 0 / 1.526 GB, free: 6.879 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.6381, allocations: 4 kB / 1.526 GB, free: 6.875 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004073/0.6385, allocations: 297.2 kB / 1.526 GB, free: 6.547 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 8.807e-05/0.6386, allocations: 35.8 kB / 1.526 GB, free: 6.512 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.802e-05/0.6387, allocations: 8 kB / 1.526 GB, free: 6.504 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001802/0.6388, allocations: 11.98 kB / 1.526 GB, free: 6.492 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.447e-05/0.6389, allocations: 23.92 kB / 1.526 GB, free: 6.469 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.6389, allocations: 8 kB / 1.526 GB, free: 6.461 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002057/0.6391, allocations: 199.1 kB / 1.527 GB, free: 6.266 MB / 1.217 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6391, allocations: 0 / 1.527 GB, free: 6.266 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004582/0.6396, allocations: 91.83 kB / 1.527 GB, free: 6.176 MB / 1.217 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.0002824/0.6399, allocations: 147.1 kB / 1.527 GB, free: 6.023 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0004881/0.6403, allocations: 171.7 kB / 1.527 GB, free: 5.855 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.6403, allocations: 0 / 1.527 GB, free: 5.855 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.000153/0.6405, allocations: 59.89 kB / 1.527 GB, free: 5.797 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007232/0.6412, allocations: 123.5 kB / 1.527 GB, free: 5.684 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008394/0.6421, allocations: 486.7 kB / 1.528 GB, free: 5.156 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004144/0.6425, allocations: 0.7519 MB / 1.528 GB, free: 4.379 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.955e-05/0.6425, allocations: 19.44 kB / 1.528 GB, free: 4.359 MB / 1.217 GB Notification: Performance of SimCode: time 5.61e-07/0.6425, allocations: 0 / 1.528 GB, free: 4.359 MB / 1.217 GB Notification: Performance of Templates: time 0.006707/0.6492, allocations: 3.754 MB / 1.532 GB, free: 0.6289 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/jenkins1/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: 12.802734588010935]