Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Examples.Performance.Example5.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.001341/0.001341, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001596/0.001596, allocations: 221.3 kB / 23 MB, free: 4.91 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.832/2.832, allocations: 476 MB / 0.7707 GB, free: 4.73 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|c",fileNamePrefix="Buildings_11_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|c",fileNamePrefix="Buildings_11_Buildings.Fluid.Examples.Performance.Example5") [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.002113/0.002113, allocations: 65.17 kB / 1.118 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3421, allocations: 170 MB / 1.284 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001832/0.3439, allocations: 0.5455 MB / 1.284 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001882/0.3441, allocations: 35.83 kB / 1.284 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.621e-05/0.3442, allocations: 0 / 1.284 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.604e-05/0.3442, allocations: 0 / 1.284 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001541/0.3444, allocations: 7.984 kB / 1.284 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 6.112e-05/0.3444, allocations: 7.938 kB / 1.284 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.211e-05/0.3445, allocations: 11.98 kB / 1.284 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.408e-05/0.3445, allocations: 4 kB / 1.284 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.521e-05/0.3446, allocations: 7.875 kB / 1.284 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.112e-05/0.3447, allocations: 11.98 kB / 1.284 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.3447, allocations: 0 / 1.284 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.017e-06/0.3447, allocations: 0 / 1.284 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.343e-05/0.3447, allocations: 15.92 kB / 1.284 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.871e-05/0.3448, allocations: 7.938 kB / 1.284 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 7.24e-05/0.3448, allocations: 15.86 kB / 1.284 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3448, allocations: 0 / 1.284 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.774e-06/0.3449, allocations: 4 kB / 1.284 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.3449, allocations: 0 / 1.284 GB, free: 11.32 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000463/0.3453, allocations: 254.4 kB / 1.285 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.3454, allocations: 12.03 kB / 1.285 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.157e-05/0.3454, allocations: 0.9375 kB / 1.285 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.3456, allocations: 114.5 kB / 1.285 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.3456, allocations: 4.375 kB / 1.285 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.3456, allocations: 384 / 1.285 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.78e-05/0.3457, allocations: 38.25 kB / 1.285 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.3457, allocations: 4.172 kB / 1.285 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.3457, allocations: 7.938 kB / 1.285 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.3457, allocations: 0 / 1.285 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.312e-05/0.3458, allocations: 7.938 kB / 1.285 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000157/0.3459, allocations: 105.3 kB / 1.285 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.051e-05/0.346, allocations: 18.58 kB / 1.285 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2e-05/0.346, allocations: 4.859 kB / 1.285 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.346, allocations: 3.984 kB / 1.285 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.346, allocations: 34.62 kB / 1.285 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.346, allocations: 0 / 1.285 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001497/0.3462, allocations: 45.69 kB / 1.285 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.3462, allocations: 59.41 kB / 1.285 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.3463, allocations: 109.8 kB / 1.285 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.3464, allocations: 25.7 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.593e-05/0.3464, allocations: 84.14 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.031e-05/0.3464, allocations: 3.953 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.301e-05/0.3465, allocations: 17.81 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.3466, allocations: 318.8 kB / 1.286 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.63e-05/0.3466, allocations: 4 kB / 1.286 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.234e-05/0.3466, allocations: 13.72 kB / 1.286 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.047e-05/0.3467, allocations: 37.64 kB / 1.286 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3467, allocations: 0 / 1.286 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.698e-05/0.3468, allocations: 41.69 kB / 1.286 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.3468, allocations: 4 kB / 1.286 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3468, allocations: 0 / 1.286 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.3468, allocations: 11.88 kB / 1.286 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.258e-05/0.3469, allocations: 11.94 kB / 1.286 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.3469, allocations: 3.984 kB / 1.286 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.123e-05/0.3469, allocations: 0 / 1.286 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.3469, allocations: 4.062 kB / 1.286 GB, free: 9.758 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 8.622e-05/0.347, allocations: 109.8 kB / 1.286 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.528e-06/0.347, allocations: 3.953 kB / 1.286 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/0.3471, allocations: 49.16 kB / 1.286 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.3471, allocations: 7.922 kB / 1.286 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3471, allocations: 256 / 1.286 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3471, allocations: 0 / 1.286 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.3472, allocations: 113.3 kB / 1.286 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.3472, allocations: 0 / 1.286 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.667e-05/0.3473, allocations: 7.984 kB / 1.286 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3473, allocations: 4.031 kB / 1.286 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.3473, allocations: 3.938 kB / 1.286 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3473, allocations: 0 / 1.286 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.3473, allocations: 3.938 kB / 1.286 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001268/0.3474, allocations: 73.12 kB / 1.286 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.161e-05/0.3474, allocations: 7.938 kB / 1.286 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.3475, allocations: 4.031 kB / 1.286 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.935e-05/0.3475, allocations: 0 / 1.286 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.515e-05/0.3475, allocations: 3.938 kB / 1.286 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-06/0.3475, allocations: 0 / 1.286 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.111e-05/0.3475, allocations: 95.36 kB / 1.286 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3475, allocations: 0 / 1.286 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001809/0.3477, allocations: 8 kB / 1.286 GB, free: 9.207 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 (2): * Single equations (assignments): 2 * 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.0001259/0.3479, allocations: 91.25 kB / 1.286 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.453e-05/0.3479, allocations: 19.92 kB / 1.286 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.348, allocations: 0 / 1.286 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.271e-05/0.348, allocations: 4 kB / 1.286 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001519/0.3481, allocations: 6.281 kB / 1.286 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000337/0.3485, allocations: 151.4 kB / 1.287 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.169e-05/0.3485, allocations: 63.34 kB / 1.287 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.3486, allocations: 7.438 kB / 1.287 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.3486, allocations: 0 / 1.287 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of Templates: time 0.002159/0.3507, allocations: 0.5248 MB / 1.287 GB, free: 8.289 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Examples.Performance.Example5.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_11_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Examples.Performance.Example5.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: 11.148465243168175]