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.00185/0.00185, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002105/0.002105, allocations: 214.7 kB / 22.99 MB, free: 4.984 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.547/1.547, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.442/3.442, allocations: 0.49 GB / 0.7959 GB, free: 35.43 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.002089/0.002089, allocations: 69.3 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4646/0.4667, allocations: 176.1 MB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.2248/0.6915, allocations: 142.4 MB / 1.466 GB, free: 2.109 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.003705/0.6952, allocations: 1.608 MB / 1.468 GB, free: 0.5 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003934/0.6956, allocations: 19.81 kB / 1.468 GB, free: 492 kB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007401/0.6963, allocations: 155 kB / 1.468 GB, free: 336 kB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001695/0.698, allocations: 0.5212 MB / 1.468 GB, free: 15.8 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001426/0.6994, allocations: 430.3 kB / 1.469 GB, free: 15.39 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.00096/0.7004, allocations: 0.581 MB / 1.469 GB, free: 14.81 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003263/0.7007, allocations: 140.7 kB / 1.469 GB, free: 14.67 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001208/0.7019, allocations: 0.4904 MB / 1.47 GB, free: 14.18 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002476/0.7022, allocations: 159.2 kB / 1.47 GB, free: 14.02 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 4.497e-05/0.7022, allocations: 16 kB / 1.47 GB, free: 14 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001112/0.7033, allocations: 0.5729 MB / 1.471 GB, free: 13.43 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001283/0.7034, allocations: 87.72 kB / 1.471 GB, free: 13.34 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.7036, allocations: 95.53 kB / 1.471 GB, free: 13.25 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.000868/0.7044, allocations: 490.2 kB / 1.471 GB, free: 12.77 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.7044, allocations: 0 / 1.471 GB, free: 12.77 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.595e-06/0.7044, allocations: 0 / 1.471 GB, free: 12.77 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.7045, allocations: 0 / 1.471 GB, free: 12.77 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.001001/0.7055, allocations: 0.5235 MB / 1.472 GB, free: 12.21 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.7055, allocations: 8.031 kB / 1.472 GB, free: 12.21 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003914/0.7059, allocations: 55.77 kB / 1.472 GB, free: 12.15 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005794/0.7065, allocations: 244.1 kB / 1.472 GB, free: 11.89 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.7065, allocations: 8 kB / 1.472 GB, free: 11.88 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.098e-05/0.7065, allocations: 16 kB / 1.472 GB, free: 11.86 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004615/0.707, allocations: 225.8 kB / 1.472 GB, free: 11.62 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.707, allocations: 0 / 1.472 GB, free: 11.62 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.192e-05/0.707, allocations: 4 kB / 1.472 GB, free: 11.62 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.707, allocations: 4 kB / 1.472 GB, free: 11.61 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003416/0.7074, allocations: 135.8 kB / 1.472 GB, free: 11.48 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001091/0.7085, allocations: 0.6212 MB / 1.473 GB, free: 10.82 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002788/0.7087, allocations: 86.47 kB / 1.473 GB, free: 10.73 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001623/0.7089, allocations: 72.81 kB / 1.473 GB, free: 10.65 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002305/0.7091, allocations: 31.97 kB / 1.473 GB, free: 10.62 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.153e-05/0.7092, allocations: 38.56 kB / 1.473 GB, free: 10.57 MB / 1.17 GB Notification: Performance of pre-optimization done (n=10): time 1.203e-06/0.7092, allocations: 0 / 1.473 GB, free: 10.57 MB / 1.17 GB Notification: Performance of matching and sorting (n=10): time 0.0007477/0.7099, allocations: 217.4 kB / 1.473 GB, free: 10.36 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/0.71, allocations: 55.34 kB / 1.474 GB, free: 10.29 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002547/0.7102, allocations: 229.9 kB / 1.474 GB, free: 10.06 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.7103, allocations: 25.7 kB / 1.474 GB, free: 10.03 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.7104, allocations: 152.3 kB / 1.474 GB, free: 9.875 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 5.706e-05/0.7104, allocations: 39.67 kB / 1.474 GB, free: 9.836 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.115e-05/0.7105, allocations: 33.7 kB / 1.474 GB, free: 9.797 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002123/0.7107, allocations: 330.8 kB / 1.474 GB, free: 9.465 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.7109, allocations: 48.77 kB / 1.474 GB, free: 9.414 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002778/0.7111, allocations: 225.6 kB / 1.475 GB, free: 9.145 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002751/0.7114, allocations: 119.3 kB / 1.475 GB, free: 9.016 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.7114, allocations: 64 / 1.475 GB, free: 9.016 MB / 1.17 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003798/0.7118, allocations: 161.5 kB / 1.475 GB, free: 8.852 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.7118, allocations: 4 kB / 1.475 GB, free: 8.848 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.7118, allocations: 0 / 1.475 GB, free: 8.848 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.7118, allocations: 4 kB / 1.475 GB, free: 8.844 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.712, allocations: 31.86 kB / 1.475 GB, free: 8.812 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.712, allocations: 3.984 kB / 1.475 GB, free: 8.809 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/0.7122, allocations: 19.88 kB / 1.475 GB, free: 8.789 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-05/0.7122, allocations: 4 kB / 1.475 GB, free: 8.785 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002399/0.7124, allocations: 152.1 kB / 1.475 GB, free: 8.633 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000258/0.7127, allocations: 222.2 kB / 1.475 GB, free: 8.367 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002784/0.713, allocations: 115.5 kB / 1.475 GB, free: 8.242 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.32e-07/0.713, allocations: 0 / 1.475 GB, free: 8.242 MB / 1.17 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003459/0.7133, allocations: 153.4 kB / 1.476 GB, free: 8.086 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 9.127e-06/0.7133, allocations: 8.031 kB / 1.476 GB, free: 8.078 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.7133, allocations: 4 kB / 1.476 GB, free: 8.074 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-06/0.7133, allocations: 0 / 1.476 GB, free: 8.074 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.7135, allocations: 23.92 kB / 1.476 GB, free: 8.051 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.7135, allocations: 3.938 kB / 1.476 GB, free: 8.047 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001756/0.7136, allocations: 23.94 kB / 1.476 GB, free: 8.023 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.7137, allocations: 7.984 kB / 1.476 GB, free: 8.016 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.0001674/0.7138, allocations: 184.3 kB / 1.476 GB, free: 7.828 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.258e-05/0.7139, allocations: 23.86 kB / 1.476 GB, free: 7.805 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004201/0.7143, allocations: 159.5 kB / 1.476 GB, free: 7.641 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.7143, allocations: 3.938 kB / 1.476 GB, free: 7.637 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.7143, allocations: 4 kB / 1.476 GB, free: 7.633 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.7143, allocations: 3.984 kB / 1.476 GB, free: 7.629 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009986/0.7153, allocations: 0.5153 MB / 1.476 GB, free: 7.055 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.7153, allocations: 3.938 kB / 1.476 GB, free: 7.051 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.7154, allocations: 23.98 kB / 1.476 GB, free: 7.027 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.7155, allocations: 0 / 1.476 GB, free: 7.027 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.7155, allocations: 7.984 kB / 1.476 GB, free: 7.02 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.7155, allocations: 4 kB / 1.476 GB, free: 7.016 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.7155, allocations: 7.922 kB / 1.477 GB, free: 7.008 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004472/0.7159, allocations: 297.5 kB / 1.477 GB, free: 6.68 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 8.23e-05/0.716, allocations: 31.84 kB / 1.477 GB, free: 6.648 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.806e-05/0.716, allocations: 7.984 kB / 1.477 GB, free: 6.641 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/0.7162, allocations: 16.05 kB / 1.477 GB, free: 6.625 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.905e-05/0.7163, allocations: 11.98 kB / 1.477 GB, free: 6.613 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.51e-05/0.7163, allocations: 7.938 kB / 1.477 GB, free: 6.605 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001884/0.7165, allocations: 169.2 kB / 1.477 GB, free: 6.438 MB / 1.17 GB Notification: Performance of sort global known variables: time 6e-08/0.7165, allocations: 0 / 1.477 GB, free: 6.438 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0005398/0.717, allocations: 103.7 kB / 1.477 GB, free: 6.336 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.0003352/0.7174, allocations: 151.2 kB / 1.477 GB, free: 6.176 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0005072/0.7179, allocations: 167.7 kB / 1.477 GB, free: 6.012 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.7179, allocations: 0 / 1.477 GB, free: 6.012 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0001612/0.7181, allocations: 63.83 kB / 1.477 GB, free: 5.949 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000675/0.7187, allocations: 88.34 kB / 1.478 GB, free: 5.867 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008157/0.7195, allocations: 437.3 kB / 1.478 GB, free: 5.391 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001725/0.7197, allocations: 142.2 kB / 1.478 GB, free: 5.23 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0001845/0.7199, allocations: 73.8 kB / 1.478 GB, free: 5.16 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.939e-05/0.72, allocations: 23.42 kB / 1.478 GB, free: 5.141 MB / 1.17 GB Notification: Performance of SimCode: time 5.21e-07/0.72, allocations: 0 / 1.478 GB, free: 5.141 MB / 1.17 GB Notification: Performance of Templates: time 0.00985/0.7298, allocations: 4.288 MB / 1.482 GB, free: 0.9453 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 cvode -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: 10.366119452999556]