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.001453/0.001453, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001652/0.001652, allocations: 215.4 kB / 22.99 MB, free: 4.945 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.507/1.507, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.409/3.409, allocations: 0.5107 GB / 0.8166 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.002137/0.002137, allocations: 72.17 kB / 1.187 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.418/0.4201, allocations: 181.9 MB / 1.365 GB, free: 13.58 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.199/0.6191, allocations: 142.3 MB / 1.504 GB, free: 14.68 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.003558/0.6227, allocations: 1.6 MB / 1.505 GB, free: 13.08 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004713/0.6231, allocations: 15.81 kB / 1.505 GB, free: 13.07 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0007455/0.6239, allocations: 163 kB / 1.505 GB, free: 12.91 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002049/0.6259, allocations: 0.5134 MB / 1.506 GB, free: 12.39 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001849/0.6278, allocations: 427.6 kB / 1.506 GB, free: 11.98 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001396/0.6292, allocations: 0.5802 MB / 1.507 GB, free: 11.4 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005237/0.6297, allocations: 148.7 kB / 1.507 GB, free: 11.25 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001469/0.6312, allocations: 494.2 kB / 1.507 GB, free: 10.77 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003572/0.6315, allocations: 155.2 kB / 1.508 GB, free: 10.61 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 5.575e-05/0.6316, allocations: 16 kB / 1.508 GB, free: 10.6 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001271/0.6328, allocations: 0.5612 MB / 1.508 GB, free: 10.04 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001554/0.633, allocations: 83.72 kB / 1.508 GB, free: 9.953 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001857/0.6332, allocations: 95.53 kB / 1.508 GB, free: 9.859 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001103/0.6343, allocations: 490.2 kB / 1.509 GB, free: 9.379 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.6343, allocations: 0 / 1.509 GB, free: 9.379 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.134e-06/0.6343, allocations: 0 / 1.509 GB, free: 9.379 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.122e-05/0.6343, allocations: 0 / 1.509 GB, free: 9.379 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.001091/0.6354, allocations: 0.5196 MB / 1.509 GB, free: 8.828 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.6354, allocations: 8.031 kB / 1.509 GB, free: 8.82 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004149/0.6359, allocations: 67.77 kB / 1.509 GB, free: 8.754 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005886/0.6364, allocations: 240.1 kB / 1.51 GB, free: 8.496 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/0.6365, allocations: 12 kB / 1.51 GB, free: 8.484 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.22e-05/0.6365, allocations: 12 kB / 1.51 GB, free: 8.473 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004559/0.637, allocations: 225.8 kB / 1.51 GB, free: 8.23 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.637, allocations: 0 / 1.51 GB, free: 8.23 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.209e-05/0.637, allocations: 8 kB / 1.51 GB, free: 8.223 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.637, allocations: 4 kB / 1.51 GB, free: 8.219 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003851/0.6374, allocations: 132.9 kB / 1.51 GB, free: 8.09 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001116/0.6385, allocations: 0.6252 MB / 1.511 GB, free: 7.426 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000272/0.6388, allocations: 78.47 kB / 1.511 GB, free: 7.34 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/0.6389, allocations: 76.84 kB / 1.511 GB, free: 7.262 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002201/0.6392, allocations: 31.98 kB / 1.511 GB, free: 7.23 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.999e-05/0.6392, allocations: 38.55 kB / 1.511 GB, free: 7.184 MB / 1.201 GB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.6392, allocations: 4 kB / 1.511 GB, free: 7.18 MB / 1.201 GB Notification: Performance of matching and sorting (n=10): time 0.0007141/0.6399, allocations: 209.4 kB / 1.511 GB, free: 6.969 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.64, allocations: 55.34 kB / 1.511 GB, free: 6.902 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002512/0.6402, allocations: 225.9 kB / 1.511 GB, free: 6.672 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.915e-05/0.6402, allocations: 30.08 kB / 1.511 GB, free: 6.637 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.6404, allocations: 152.3 kB / 1.511 GB, free: 6.484 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 4.235e-05/0.6404, allocations: 39.7 kB / 1.511 GB, free: 6.445 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.204e-05/0.6405, allocations: 25.7 kB / 1.511 GB, free: 6.414 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.6406, allocations: 334.8 kB / 1.512 GB, free: 6.078 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.6408, allocations: 48.81 kB / 1.512 GB, free: 6.027 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002634/0.641, allocations: 221.6 kB / 1.512 GB, free: 5.762 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002792/0.6413, allocations: 127.3 kB / 1.512 GB, free: 5.625 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.6413, allocations: 0 / 1.512 GB, free: 5.625 MB / 1.201 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003664/0.6417, allocations: 165.3 kB / 1.512 GB, free: 5.457 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.6417, allocations: 4 kB / 1.512 GB, free: 5.453 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.6417, allocations: 4 kB / 1.512 GB, free: 5.449 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.6417, allocations: 0 / 1.512 GB, free: 5.449 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.6419, allocations: 23.92 kB / 1.512 GB, free: 5.426 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.6419, allocations: 7.938 kB / 1.512 GB, free: 5.418 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001744/0.642, allocations: 15.92 kB / 1.512 GB, free: 5.402 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.468e-05/0.6421, allocations: 12.03 kB / 1.512 GB, free: 5.391 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002193/0.6423, allocations: 144.1 kB / 1.513 GB, free: 5.246 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002398/0.6425, allocations: 221.6 kB / 1.513 GB, free: 4.98 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002747/0.6428, allocations: 119.3 kB / 1.513 GB, free: 4.852 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.513e-06/0.6428, allocations: 0 / 1.513 GB, free: 4.852 MB / 1.201 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003418/0.6432, allocations: 153.7 kB / 1.513 GB, free: 4.695 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.6432, allocations: 4 kB / 1.513 GB, free: 4.691 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.304e-06/0.6432, allocations: 4 kB / 1.513 GB, free: 4.688 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.276e-06/0.6432, allocations: 0 / 1.513 GB, free: 4.688 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.6433, allocations: 28.05 kB / 1.513 GB, free: 4.66 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.6433, allocations: 7.938 kB / 1.513 GB, free: 4.652 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001718/0.6435, allocations: 19.95 kB / 1.513 GB, free: 4.633 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.6435, allocations: 8 kB / 1.513 GB, free: 4.625 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.0001286/0.6436, allocations: 188.3 kB / 1.513 GB, free: 4.434 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.803e-05/0.6437, allocations: 19.86 kB / 1.513 GB, free: 4.414 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003844/0.644, allocations: 155.6 kB / 1.513 GB, free: 4.258 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.644, allocations: 8.031 kB / 1.513 GB, free: 4.25 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.6441, allocations: 3.938 kB / 1.513 GB, free: 4.246 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.6441, allocations: 0 / 1.513 GB, free: 4.246 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009404/0.645, allocations: 0.5269 MB / 1.514 GB, free: 3.66 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.645, allocations: 4 kB / 1.514 GB, free: 3.656 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/0.6451, allocations: 19.98 kB / 1.514 GB, free: 3.637 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/0.6451, allocations: 4 kB / 1.514 GB, free: 3.633 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.6451, allocations: 4 kB / 1.514 GB, free: 3.629 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.6451, allocations: 4 kB / 1.514 GB, free: 3.625 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.6451, allocations: 8.156 kB / 1.514 GB, free: 3.617 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004315/0.6456, allocations: 293.3 kB / 1.514 GB, free: 3.293 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 8.848e-05/0.6457, allocations: 31.84 kB / 1.514 GB, free: 3.262 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.331e-05/0.6457, allocations: 7.938 kB / 1.514 GB, free: 3.254 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.6459, allocations: 11.98 kB / 1.514 GB, free: 3.242 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.919e-05/0.6459, allocations: 11.98 kB / 1.514 GB, free: 3.23 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.6459, allocations: 11.94 kB / 1.514 GB, free: 3.219 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0001611/0.6461, allocations: 161.2 kB / 1.515 GB, free: 3.062 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6461, allocations: 4 kB / 1.515 GB, free: 3.059 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0005053/0.6466, allocations: 107.7 kB / 1.515 GB, free: 2.953 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.0002918/0.6469, allocations: 143.1 kB / 1.515 GB, free: 2.801 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.000501/0.6474, allocations: 168.2 kB / 1.515 GB, free: 2.637 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.6474, allocations: 0 / 1.515 GB, free: 2.637 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0001602/0.6476, allocations: 68.39 kB / 1.515 GB, free: 2.57 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000673/0.6482, allocations: 103.5 kB / 1.515 GB, free: 2.473 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008334/0.6491, allocations: 455 kB / 1.516 GB, free: 1.973 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001766/0.6493, allocations: 150.2 kB / 1.516 GB, free: 1.805 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.281e-05/0.6493, allocations: 19.44 kB / 1.516 GB, free: 1.785 MB / 1.201 GB Notification: Performance of SimCode: time 8.42e-07/0.6493, allocations: 4 kB / 1.516 GB, free: 1.781 MB / 1.201 GB Notification: Performance of Templates: time 0.007552/0.6569, allocations: 3.488 MB / 1.519 GB, free: 14.32 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.94921623589471]