Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001959/0.001959, allocations: 110.2 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.002345/0.002345, allocations: 215 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.572/1.572, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.308/3.308, allocations: 0.49 GB / 0.7958 GB, free: 33.44 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002058/0.002058, allocations: 68.25 kB / 1.155 GB, free: 25.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3938/0.3959, allocations: 176.1 MB / 1.327 GB, free: 1.43 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.2119/0.6078, allocations: 165.1 MB / 1.488 GB, free: 11.74 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.003262/0.611, allocations: 1.74 MB / 1.49 GB, free: 9.996 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00029/0.6113, allocations: 15.81 kB / 1.49 GB, free: 9.98 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0005601/0.6119, allocations: 159 kB / 1.49 GB, free: 9.824 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001317/0.6132, allocations: 0.5329 MB / 1.491 GB, free: 9.289 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001203/0.6144, allocations: 457 kB / 1.491 GB, free: 8.848 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.000841/0.6152, allocations: 0.5771 MB / 1.492 GB, free: 8.27 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000314/0.6156, allocations: 140.7 kB / 1.492 GB, free: 8.129 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001034/0.6166, allocations: 490.2 kB / 1.492 GB, free: 7.648 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002549/0.6168, allocations: 163.2 kB / 1.492 GB, free: 7.488 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 3.048e-05/0.6169, allocations: 12 kB / 1.492 GB, free: 7.477 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001156/0.618, allocations: 0.7132 MB / 1.493 GB, free: 6.762 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.6181, allocations: 91.72 kB / 1.493 GB, free: 6.672 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001444/0.6183, allocations: 111.4 kB / 1.493 GB, free: 6.562 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0008131/0.6191, allocations: 0.5021 MB / 1.494 GB, free: 6.059 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.6191, allocations: 0 / 1.494 GB, free: 6.059 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6191, allocations: 0 / 1.494 GB, free: 6.059 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.523e-06/0.6191, allocations: 0 / 1.494 GB, free: 6.059 MB / 1.186 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.0008809/0.62, allocations: 0.5158 MB / 1.494 GB, free: 5.512 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.62, allocations: 8.031 kB / 1.494 GB, free: 5.504 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003382/0.6204, allocations: 63.78 kB / 1.494 GB, free: 5.441 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004743/0.6208, allocations: 240.1 kB / 1.495 GB, free: 5.18 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.6209, allocations: 16 kB / 1.495 GB, free: 5.164 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.6209, allocations: 12 kB / 1.495 GB, free: 5.152 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003915/0.6213, allocations: 196.1 kB / 1.495 GB, free: 4.945 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.6213, allocations: 0 / 1.495 GB, free: 4.945 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.895e-05/0.6213, allocations: 4 kB / 1.495 GB, free: 4.941 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.6213, allocations: 4 kB / 1.495 GB, free: 4.938 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003217/0.6216, allocations: 135.8 kB / 1.495 GB, free: 4.805 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.6227, allocations: 0.7566 MB / 1.496 GB, free: 3.984 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000258/0.623, allocations: 82.53 kB / 1.496 GB, free: 3.895 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001601/0.6231, allocations: 72.8 kB / 1.496 GB, free: 3.82 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002111/0.6234, allocations: 31.98 kB / 1.496 GB, free: 3.789 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.6234, allocations: 30.56 kB / 1.496 GB, free: 3.75 MB / 1.186 GB Notification: Performance of pre-optimization done (n=10): time 3.477e-06/0.6234, allocations: 4 kB / 1.496 GB, free: 3.746 MB / 1.186 GB Notification: Performance of matching and sorting (n=10): time 0.0006864/0.6241, allocations: 229.2 kB / 1.496 GB, free: 3.516 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/0.6241, allocations: 51.41 kB / 1.496 GB, free: 3.453 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002838/0.6244, allocations: 268.2 kB / 1.496 GB, free: 3.18 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/0.6244, allocations: 29.7 kB / 1.497 GB, free: 3.145 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.6246, allocations: 152 kB / 1.497 GB, free: 2.992 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 3.777e-05/0.6246, allocations: 39.69 kB / 1.497 GB, free: 2.953 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.876e-05/0.6246, allocations: 25.72 kB / 1.497 GB, free: 2.922 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.6248, allocations: 334.8 kB / 1.497 GB, free: 2.586 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.6249, allocations: 48.75 kB / 1.497 GB, free: 2.535 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/0.6251, allocations: 97.11 kB / 1.497 GB, free: 2.422 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002661/0.6254, allocations: 119.3 kB / 1.497 GB, free: 2.293 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.6254, allocations: 0 / 1.497 GB, free: 2.293 MB / 1.186 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003413/0.6257, allocations: 157.5 kB / 1.497 GB, free: 2.133 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.6257, allocations: 4 kB / 1.497 GB, free: 2.129 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.6257, allocations: 4 kB / 1.497 GB, free: 2.125 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.6258, allocations: 3.938 kB / 1.497 GB, free: 2.121 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.6259, allocations: 24.06 kB / 1.497 GB, free: 2.098 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.6259, allocations: 7.984 kB / 1.497 GB, free: 2.09 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/0.6261, allocations: 23.88 kB / 1.498 GB, free: 2.066 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/0.6261, allocations: 7.984 kB / 1.498 GB, free: 2.059 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002018/0.6263, allocations: 148.1 kB / 1.498 GB, free: 1.91 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001626/0.6265, allocations: 89.67 kB / 1.498 GB, free: 1.805 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002426/0.6267, allocations: 115.3 kB / 1.498 GB, free: 1.68 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.11e-07/0.6267, allocations: 4 kB / 1.498 GB, free: 1.676 MB / 1.186 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003374/0.6271, allocations: 157.4 kB / 1.498 GB, free: 1.516 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 9.908e-06/0.6271, allocations: 8 kB / 1.498 GB, free: 1.508 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-06/0.6271, allocations: 128 / 1.498 GB, free: 1.508 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-06/0.6271, allocations: 4.125 kB / 1.498 GB, free: 1.504 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.6272, allocations: 27.92 kB / 1.498 GB, free: 1.477 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.6272, allocations: 7.938 kB / 1.498 GB, free: 1.469 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001654/0.6274, allocations: 23.95 kB / 1.498 GB, free: 1.445 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.6274, allocations: 4 kB / 1.498 GB, free: 1.441 MB / 1.186 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.0001288/0.6275, allocations: 184.3 kB / 1.498 GB, free: 1.254 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.414e-05/0.6276, allocations: 27.84 kB / 1.498 GB, free: 1.227 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000386/0.6279, allocations: 163.2 kB / 1.498 GB, free: 1.059 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.6279, allocations: 0 / 1.498 GB, free: 1.059 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.6279, allocations: 4 kB / 1.498 GB, free: 1.055 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.628, allocations: 4 kB / 1.498 GB, free: 1.051 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009728/0.6289, allocations: 0.5693 MB / 1.499 GB, free: 420 kB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.6289, allocations: 0 / 1.499 GB, free: 420 kB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.629, allocations: 23.98 kB / 1.499 GB, free: 396 kB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.629, allocations: 0 / 1.499 GB, free: 396 kB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.6291, allocations: 4 kB / 1.499 GB, free: 392 kB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.6291, allocations: 4 kB / 1.499 GB, free: 388 kB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.6291, allocations: 3.938 kB / 1.499 GB, free: 384 kB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004115/0.6295, allocations: 301.6 kB / 1.499 GB, free: 44 kB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 9.95e-05/0.6296, allocations: 39.83 kB / 1.499 GB, free: 4 kB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.524e-05/0.6296, allocations: 4 kB / 1.499 GB, free: 0 / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002171/0.6298, allocations: 12.05 kB / 1.499 GB, free: 15.98 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.903e-05/0.6299, allocations: 15.86 kB / 1.499 GB, free: 15.97 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.6299, allocations: 4 kB / 1.499 GB, free: 15.97 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002073/0.6301, allocations: 199.1 kB / 1.5 GB, free: 15.78 MB / 1.201 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6301, allocations: 4 kB / 1.5 GB, free: 15.77 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004579/0.6306, allocations: 99.77 kB / 1.5 GB, free: 15.68 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.0002781/0.6308, allocations: 147.1 kB / 1.5 GB, free: 15.52 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0004622/0.6313, allocations: 159.8 kB / 1.5 GB, free: 15.37 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.6313, allocations: 0 / 1.5 GB, free: 15.37 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0001596/0.6315, allocations: 68.58 kB / 1.5 GB, free: 15.3 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007217/0.6322, allocations: 113.6 kB / 1.5 GB, free: 15.19 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008236/0.633, allocations: 482.7 kB / 1.501 GB, free: 14.66 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004265/0.6334, allocations: 0.7519 MB / 1.501 GB, free: 13.89 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.058e-05/0.6335, allocations: 27.44 kB / 1.501 GB, free: 13.86 MB / 1.201 GB Notification: Performance of SimCode: time 3e-07/0.6335, allocations: 3.938 kB / 1.501 GB, free: 13.86 MB / 1.201 GB Notification: Performance of Templates: time 0.006874/0.6404, allocations: 3.75 MB / 1.505 GB, free: 10.14 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.889898280991474]