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.001405/0.001405, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001503/0.001503, allocations: 203.6 kB / 22.99 MB, free: 4.957 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.534/1.534, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.312/3.312, allocations: 0.49 GB / 0.7959 GB, free: 35.41 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.002121/0.002121, allocations: 63.09 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3904/0.3925, allocations: 176.1 MB / 1.327 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.2018/0.5943, allocations: 142.3 MB / 1.466 GB, free: 2.094 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.003363/0.5977, allocations: 1.615 MB / 1.468 GB, free: 488 kB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002655/0.5979, allocations: 15.88 kB / 1.468 GB, free: 472 kB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006103/0.5985, allocations: 154.9 kB / 1.468 GB, free: 316 kB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001425/0.6, allocations: 0.5173 MB / 1.468 GB, free: 15.79 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001221/0.6012, allocations: 438.6 kB / 1.469 GB, free: 15.36 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0008541/0.602, allocations: 0.5805 MB / 1.469 GB, free: 14.79 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003185/0.6024, allocations: 152.7 kB / 1.469 GB, free: 14.63 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001109/0.6035, allocations: 486.2 kB / 1.47 GB, free: 14.16 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002535/0.6037, allocations: 155.3 kB / 1.47 GB, free: 14 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 3.621e-05/0.6038, allocations: 16 kB / 1.47 GB, free: 13.99 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009374/0.6047, allocations: 0.5768 MB / 1.471 GB, free: 13.41 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.6048, allocations: 83.73 kB / 1.471 GB, free: 13.33 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.6049, allocations: 111.4 kB / 1.471 GB, free: 13.22 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0007513/0.6057, allocations: 482.3 kB / 1.471 GB, free: 12.75 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.6057, allocations: 0 / 1.471 GB, free: 12.75 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.783e-06/0.6057, allocations: 3.938 kB / 1.471 GB, free: 12.74 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.6057, allocations: 0 / 1.471 GB, free: 12.74 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.0009197/0.6066, allocations: 0.5119 MB / 1.472 GB, free: 12.2 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.6067, allocations: 16.03 kB / 1.472 GB, free: 12.18 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003792/0.607, allocations: 63.75 kB / 1.472 GB, free: 12.12 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005332/0.6076, allocations: 232.1 kB / 1.472 GB, free: 11.87 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/0.6076, allocations: 15.94 kB / 1.472 GB, free: 11.85 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.103e-05/0.6076, allocations: 20 kB / 1.472 GB, free: 11.83 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004408/0.6081, allocations: 217.8 kB / 1.472 GB, free: 11.6 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.6081, allocations: 0 / 1.472 GB, free: 11.6 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.124e-05/0.6081, allocations: 7.938 kB / 1.472 GB, free: 11.59 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.6081, allocations: 4 kB / 1.472 GB, free: 11.59 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003374/0.6084, allocations: 131.8 kB / 1.472 GB, free: 11.46 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.6095, allocations: 0.629 MB / 1.473 GB, free: 10.79 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002639/0.6097, allocations: 82.58 kB / 1.473 GB, free: 10.7 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001746/0.6099, allocations: 72.8 kB / 1.473 GB, free: 10.62 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002246/0.6101, allocations: 31.98 kB / 1.473 GB, free: 10.59 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/0.6102, allocations: 38.5 kB / 1.473 GB, free: 10.55 MB / 1.17 GB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.6102, allocations: 0 / 1.473 GB, free: 10.55 MB / 1.17 GB Notification: Performance of matching and sorting (n=10): time 0.0007107/0.6109, allocations: 217.4 kB / 1.474 GB, free: 10.33 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/0.6109, allocations: 59.34 kB / 1.474 GB, free: 10.26 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002482/0.6112, allocations: 225.9 kB / 1.474 GB, free: 10.03 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.6112, allocations: 29.7 kB / 1.474 GB, free: 9.996 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.6114, allocations: 148.3 kB / 1.474 GB, free: 9.848 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 4.61e-05/0.6114, allocations: 39.69 kB / 1.474 GB, free: 9.809 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.669e-05/0.6115, allocations: 33.7 kB / 1.474 GB, free: 9.77 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001856/0.6117, allocations: 326.8 kB / 1.474 GB, free: 9.441 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.6118, allocations: 48.81 kB / 1.474 GB, free: 9.391 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002663/0.6121, allocations: 217.6 kB / 1.475 GB, free: 9.129 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002918/0.6124, allocations: 123.3 kB / 1.475 GB, free: 8.996 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.6124, allocations: 4 kB / 1.475 GB, free: 8.992 MB / 1.17 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003528/0.6127, allocations: 149.4 kB / 1.475 GB, free: 8.84 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.6127, allocations: 8 kB / 1.475 GB, free: 8.832 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.6127, allocations: 3.984 kB / 1.475 GB, free: 8.828 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.6128, allocations: 0 / 1.475 GB, free: 8.828 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.6129, allocations: 28.48 kB / 1.475 GB, free: 8.801 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.6129, allocations: 0 / 1.475 GB, free: 8.801 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001797/0.6131, allocations: 27.91 kB / 1.475 GB, free: 8.773 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.496e-05/0.6131, allocations: 4 kB / 1.475 GB, free: 8.77 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002091/0.6133, allocations: 148.1 kB / 1.475 GB, free: 8.621 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002556/0.6136, allocations: 225.5 kB / 1.475 GB, free: 8.352 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002717/0.6138, allocations: 119.6 kB / 1.475 GB, free: 8.223 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.112e-06/0.6138, allocations: 3.938 kB / 1.475 GB, free: 8.219 MB / 1.17 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003443/0.6142, allocations: 157.5 kB / 1.476 GB, free: 8.059 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/0.6142, allocations: 5.875 kB / 1.476 GB, free: 8.055 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.6142, allocations: 4 kB / 1.476 GB, free: 8.051 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.348e-06/0.6142, allocations: 4 kB / 1.476 GB, free: 8.047 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.6143, allocations: 19.98 kB / 1.476 GB, free: 8.027 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.6143, allocations: 3.938 kB / 1.476 GB, free: 8.023 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/0.6145, allocations: 23.92 kB / 1.476 GB, free: 8 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.6145, allocations: 7.938 kB / 1.476 GB, free: 7.992 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.0001333/0.6146, allocations: 188.3 kB / 1.476 GB, free: 7.801 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.901e-05/0.6147, allocations: 23.86 kB / 1.476 GB, free: 7.777 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003945/0.6151, allocations: 155.2 kB / 1.476 GB, free: 7.617 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.6151, allocations: 3.938 kB / 1.476 GB, free: 7.613 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.6151, allocations: 0 / 1.476 GB, free: 7.613 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.6151, allocations: 0 / 1.476 GB, free: 7.613 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009439/0.616, allocations: 0.5193 MB / 1.476 GB, free: 7.035 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.616, allocations: 0 / 1.476 GB, free: 7.035 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.6162, allocations: 31.91 kB / 1.476 GB, free: 7.004 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.6162, allocations: 4 kB / 1.476 GB, free: 7 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.6162, allocations: 4 kB / 1.477 GB, free: 6.996 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.6162, allocations: 0 / 1.477 GB, free: 6.996 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.6162, allocations: 4.219 kB / 1.477 GB, free: 6.992 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004231/0.6166, allocations: 293.2 kB / 1.477 GB, free: 6.668 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 8.415e-05/0.6167, allocations: 32.22 kB / 1.477 GB, free: 6.637 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.655e-05/0.6167, allocations: 11.98 kB / 1.477 GB, free: 6.625 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.6169, allocations: 11.98 kB / 1.477 GB, free: 6.613 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.337e-05/0.617, allocations: 15.92 kB / 1.477 GB, free: 6.598 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.617, allocations: 11.88 kB / 1.477 GB, free: 6.586 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001638/0.6172, allocations: 173.2 kB / 1.477 GB, free: 6.414 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.6172, allocations: 0 / 1.477 GB, free: 6.414 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.000458/0.6176, allocations: 99.72 kB / 1.477 GB, free: 6.316 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.0002887/0.6179, allocations: 151.3 kB / 1.477 GB, free: 6.156 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0004805/0.6184, allocations: 163.6 kB / 1.477 GB, free: 5.996 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.6184, allocations: 4 kB / 1.477 GB, free: 5.992 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0001645/0.6186, allocations: 64.45 kB / 1.477 GB, free: 5.93 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006793/0.6192, allocations: 102 kB / 1.478 GB, free: 5.832 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007402/0.62, allocations: 433.2 kB / 1.478 GB, free: 5.359 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001659/0.6201, allocations: 154.2 kB / 1.478 GB, free: 5.188 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0001764/0.6203, allocations: 58.55 kB / 1.478 GB, free: 5.133 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.73e-05/0.6204, allocations: 19.44 kB / 1.478 GB, free: 5.117 MB / 1.17 GB Notification: Performance of SimCode: time 3.51e-07/0.6204, allocations: 0 / 1.478 GB, free: 5.117 MB / 1.17 GB Notification: Performance of Templates: time 0.009259/0.6296, allocations: 4.289 MB / 1.482 GB, free: 0.9219 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 -s gbode -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: 9.70890976001101]