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.001729/0.001729, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002227/0.002227, allocations: 217.3 kB / 22.25 MB, free: 4.855 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.63/1.63, allocations: 230.6 MB / 256 MB, free: 7.789 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.411/3.411, allocations: 0.4892 GB / 0.7943 GB, free: 35.6 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.002077/0.002077, allocations: 71.09 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4628/0.4649, allocations: 176.1 MB / 1.326 GB, free: 1.824 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.2326/0.6976, allocations: 142.3 MB / 1.465 GB, free: 2.949 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.004136/0.7017, allocations: 1.603 MB / 1.466 GB, free: 1.344 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006595/0.7024, allocations: 15.88 kB / 1.466 GB, free: 1.328 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0008853/0.7032, allocations: 158.9 kB / 1.466 GB, free: 1.172 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002052/0.7053, allocations: 0.5173 MB / 1.467 GB, free: 0.6523 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001635/0.7069, allocations: 429.3 kB / 1.467 GB, free: 244 kB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001094/0.708, allocations: 0.5848 MB / 1.468 GB, free: 15.65 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003422/0.7084, allocations: 144.6 kB / 1.468 GB, free: 15.51 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001279/0.7096, allocations: 490.2 kB / 1.468 GB, free: 15.03 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002553/0.7099, allocations: 151.3 kB / 1.468 GB, free: 14.88 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 3.779e-05/0.7099, allocations: 12 kB / 1.469 GB, free: 14.87 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001148/0.7111, allocations: 0.569 MB / 1.469 GB, free: 14.3 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.7112, allocations: 83.73 kB / 1.469 GB, free: 14.21 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001305/0.7113, allocations: 95.48 kB / 1.469 GB, free: 14.12 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0008317/0.7122, allocations: 490.3 kB / 1.47 GB, free: 13.64 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.7122, allocations: 0 / 1.47 GB, free: 13.64 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.405e-06/0.7122, allocations: 0 / 1.47 GB, free: 13.64 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.7122, allocations: 0 / 1.47 GB, free: 13.64 MB / 1.17 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.001061/0.7133, allocations: 0.5235 MB / 1.47 GB, free: 13.09 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.7133, allocations: 8.031 kB / 1.47 GB, free: 13.08 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003943/0.7137, allocations: 59.78 kB / 1.47 GB, free: 13.02 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005844/0.7143, allocations: 240.1 kB / 1.471 GB, free: 12.76 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.7143, allocations: 12 kB / 1.471 GB, free: 12.75 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.502e-05/0.7143, allocations: 16 kB / 1.471 GB, free: 12.73 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004686/0.7148, allocations: 225.8 kB / 1.471 GB, free: 12.49 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.7148, allocations: 3.984 kB / 1.471 GB, free: 12.48 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.219e-05/0.7149, allocations: 4 kB / 1.471 GB, free: 12.48 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.7149, allocations: 4 kB / 1.471 GB, free: 12.48 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003273/0.7152, allocations: 131.8 kB / 1.471 GB, free: 12.35 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.7163, allocations: 0.629 MB / 1.471 GB, free: 11.68 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003036/0.7166, allocations: 78.53 kB / 1.472 GB, free: 11.59 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001733/0.7167, allocations: 72.81 kB / 1.472 GB, free: 11.52 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002384/0.717, allocations: 35.97 kB / 1.472 GB, free: 11.48 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/0.717, allocations: 30.56 kB / 1.472 GB, free: 11.45 MB / 1.17 GB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.717, allocations: 4 kB / 1.472 GB, free: 11.44 MB / 1.17 GB Notification: Performance of matching and sorting (n=10): time 0.0007098/0.7177, allocations: 217.4 kB / 1.472 GB, free: 11.22 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/0.7178, allocations: 59.28 kB / 1.472 GB, free: 11.15 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002768/0.7181, allocations: 229.9 kB / 1.472 GB, free: 10.92 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.112e-05/0.7181, allocations: 29.7 kB / 1.472 GB, free: 10.89 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.7182, allocations: 148.3 kB / 1.472 GB, free: 10.73 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 4.714e-05/0.7183, allocations: 39.69 kB / 1.472 GB, free: 10.7 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-05/0.7183, allocations: 25.72 kB / 1.472 GB, free: 10.66 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.7185, allocations: 330.8 kB / 1.473 GB, free: 10.33 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.7186, allocations: 48.83 kB / 1.473 GB, free: 10.28 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000255/0.7189, allocations: 225.5 kB / 1.473 GB, free: 10.01 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002795/0.7192, allocations: 119.3 kB / 1.473 GB, free: 9.883 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.7192, allocations: 0 / 1.473 GB, free: 9.883 MB / 1.17 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003563/0.7195, allocations: 165.4 kB / 1.473 GB, free: 9.715 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.7195, allocations: 4 kB / 1.473 GB, free: 9.711 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.7196, allocations: 0 / 1.473 GB, free: 9.711 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.7196, allocations: 4 kB / 1.473 GB, free: 9.707 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.7197, allocations: 23.92 kB / 1.473 GB, free: 9.684 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.7197, allocations: 0 / 1.473 GB, free: 9.684 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.7199, allocations: 19.88 kB / 1.473 GB, free: 9.664 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.823e-05/0.7199, allocations: 16.02 kB / 1.473 GB, free: 9.648 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002228/0.7201, allocations: 148.1 kB / 1.473 GB, free: 9.5 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002422/0.7204, allocations: 222.1 kB / 1.474 GB, free: 9.234 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002537/0.7206, allocations: 115.5 kB / 1.474 GB, free: 9.109 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.92e-07/0.7206, allocations: 0 / 1.474 GB, free: 9.109 MB / 1.17 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003218/0.7209, allocations: 165.3 kB / 1.474 GB, free: 8.941 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 7.013e-06/0.7209, allocations: 4 kB / 1.474 GB, free: 8.938 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-06/0.7209, allocations: 0 / 1.474 GB, free: 8.938 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.577e-06/0.7209, allocations: 4 kB / 1.474 GB, free: 8.934 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.7211, allocations: 19.98 kB / 1.474 GB, free: 8.914 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.7211, allocations: 3.938 kB / 1.474 GB, free: 8.91 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/0.7212, allocations: 15.94 kB / 1.474 GB, free: 8.895 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.697e-05/0.7212, allocations: 8 kB / 1.474 GB, free: 8.887 MB / 1.17 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.0001488/0.7214, allocations: 192.2 kB / 1.474 GB, free: 8.691 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.81e-05/0.7214, allocations: 23.86 kB / 1.474 GB, free: 8.668 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003909/0.7218, allocations: 155.2 kB / 1.474 GB, free: 8.512 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.7218, allocations: 3.938 kB / 1.474 GB, free: 8.508 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.7218, allocations: 288 / 1.474 GB, free: 8.508 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.7218, allocations: 4.109 kB / 1.474 GB, free: 8.504 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.7229, allocations: 0.5271 MB / 1.475 GB, free: 7.918 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.7229, allocations: 0 / 1.475 GB, free: 7.918 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.7231, allocations: 27.92 kB / 1.475 GB, free: 7.891 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.7231, allocations: 0 / 1.475 GB, free: 7.891 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.7231, allocations: 8 kB / 1.475 GB, free: 7.883 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.7231, allocations: 4 kB / 1.475 GB, free: 7.879 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.572e-06/0.7231, allocations: 3.938 kB / 1.475 GB, free: 7.875 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004791/0.7236, allocations: 297.4 kB / 1.475 GB, free: 7.547 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 8.87e-05/0.7236, allocations: 31.84 kB / 1.475 GB, free: 7.516 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.484e-05/0.7237, allocations: 8 kB / 1.475 GB, free: 7.508 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.7239, allocations: 11.98 kB / 1.475 GB, free: 7.496 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.54e-05/0.7239, allocations: 11.92 kB / 1.475 GB, free: 7.484 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.7239, allocations: 11.94 kB / 1.475 GB, free: 7.473 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001738/0.7241, allocations: 169.2 kB / 1.475 GB, free: 7.305 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.7241, allocations: 4 kB / 1.475 GB, free: 7.301 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0004984/0.7246, allocations: 103.7 kB / 1.476 GB, free: 7.199 MB / 1.17 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.0003318/0.7249, allocations: 143.3 kB / 1.476 GB, free: 7.047 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0005029/0.7254, allocations: 171.6 kB / 1.476 GB, free: 6.879 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.7255, allocations: 4 kB / 1.476 GB, free: 6.875 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0001494/0.7256, allocations: 56.41 kB / 1.476 GB, free: 6.82 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006908/0.7263, allocations: 89.03 kB / 1.476 GB, free: 6.734 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008766/0.7272, allocations: 444.2 kB / 1.476 GB, free: 6.254 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001868/0.7274, allocations: 150.2 kB / 1.477 GB, free: 6.086 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0001866/0.7275, allocations: 65.81 kB / 1.477 GB, free: 6.023 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.696e-05/0.7276, allocations: 19.44 kB / 1.477 GB, free: 6.004 MB / 1.17 GB Notification: Performance of SimCode: time 2.91e-07/0.7276, allocations: 0 / 1.477 GB, free: 6.004 MB / 1.17 GB Notification: Performance of Templates: time 0.0104/0.738, allocations: 4.247 MB / 1.481 GB, free: 1.859 MB / 1.17 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/jenkins/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: 10.450286949053407]