Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Examples.Performance.Example8.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.00184/0.00184, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002202/0.002202, allocations: 158 kB / 23.01 MB, free: 4.602 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.434/1.434, allocations: 177.2 MB / 203.4 MB, free: 8.938 MB / 190.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.613/2.613, allocations: 359.1 MB / 0.6044 GB, free: 14.88 MB / 0.5762 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.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|a|b",fileNamePrefix="Buildings_11_Buildings.Fluid.Examples.Performance.Example8") translateModel(Buildings.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|a|b",fileNamePrefix="Buildings_11_Buildings.Fluid.Examples.Performance.Example8") [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.002268/0.002268, allocations: 71.89 kB / 0.9515 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3125, allocations: 169.9 MB / 1.117 GB, free: 2.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001669/0.3142, allocations: 0.5238 MB / 1.118 GB, free: 2.07 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001181/0.3143, allocations: 23.86 kB / 1.118 GB, free: 2.047 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.401e-05/0.3144, allocations: 0 / 1.118 GB, free: 2.047 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.087e-05/0.3144, allocations: 0 / 1.118 GB, free: 2.047 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001401/0.3145, allocations: 11.91 kB / 1.118 GB, free: 2.035 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 3.737e-06/0.3145, allocations: 8 kB / 1.118 GB, free: 2.027 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 4.371e-05/0.3146, allocations: 0 / 1.118 GB, free: 2.027 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.366e-05/0.3146, allocations: 4 kB / 1.118 GB, free: 2.023 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.344e-05/0.3146, allocations: 0 / 1.118 GB, free: 2.023 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.255e-05/0.3147, allocations: 0 / 1.118 GB, free: 2.023 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.928e-06/0.3147, allocations: 0 / 1.118 GB, free: 2.023 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.21e-06/0.3147, allocations: 0 / 1.118 GB, free: 2.023 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.387e-05/0.3147, allocations: 11.88 kB / 1.118 GB, free: 2.012 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.77e-05/0.3147, allocations: 3.984 kB / 1.118 GB, free: 2.008 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 4.777e-05/0.3148, allocations: 7.922 kB / 1.118 GB, free: 2 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3148, allocations: 0 / 1.118 GB, free: 2 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3148, allocations: 4 kB / 1.118 GB, free: 1.996 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.3148, allocations: 0 / 1.118 GB, free: 1.996 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002825/0.315, allocations: 238.5 kB / 1.118 GB, free: 1.73 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.3151, allocations: 8.031 kB / 1.118 GB, free: 1.723 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.631e-05/0.3151, allocations: 0.9375 kB / 1.118 GB, free: 1.723 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.3152, allocations: 118.4 kB / 1.118 GB, free: 1.582 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.3152, allocations: 384 / 1.118 GB, free: 1.582 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.572e-06/0.3152, allocations: 384 / 1.118 GB, free: 1.582 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.991e-05/0.3153, allocations: 43.98 kB / 1.118 GB, free: 1.527 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.3153, allocations: 192 / 1.118 GB, free: 1.527 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.3154, allocations: 7.938 kB / 1.118 GB, free: 1.52 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.3154, allocations: 0 / 1.118 GB, free: 1.52 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.036e-05/0.3154, allocations: 7.938 kB / 1.118 GB, free: 1.512 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001399/0.3155, allocations: 110.2 kB / 1.119 GB, free: 1.371 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.877e-05/0.3156, allocations: 45.14 kB / 1.119 GB, free: 1.309 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.796e-05/0.3156, allocations: 13.72 kB / 1.119 GB, free: 1.289 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.3156, allocations: 4.062 kB / 1.119 GB, free: 1.285 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.3157, allocations: 30.56 kB / 1.119 GB, free: 1.246 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.3157, allocations: 0 / 1.119 GB, free: 1.246 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001411/0.3158, allocations: 57.56 kB / 1.119 GB, free: 1.184 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.034e-05/0.3159, allocations: 77.11 kB / 1.119 GB, free: 1.09 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.372e-05/0.3159, allocations: 89.86 kB / 1.119 GB, free: 0.9922 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.316, allocations: 25.7 kB / 1.119 GB, free: 0.9609 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.3161, allocations: 80.14 kB / 1.119 GB, free: 0.8789 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.3161, allocations: 7.953 kB / 1.119 GB, free: 0.8711 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.363e-05/0.3162, allocations: 17.7 kB / 1.119 GB, free: 0.8477 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002056/0.3164, allocations: 314.8 kB / 1.119 GB, free: 0.5312 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.378e-06/0.3164, allocations: 0 / 1.119 GB, free: 0.5312 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.681e-05/0.3164, allocations: 22.03 kB / 1.119 GB, free: 0.5039 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.434e-05/0.3164, allocations: 17.72 kB / 1.119 GB, free: 492 kB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3164, allocations: 0 / 1.119 GB, free: 492 kB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001679/0.3166, allocations: 41.62 kB / 1.119 GB, free: 444 kB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.3166, allocations: 10.97 kB / 1.119 GB, free: 436 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-06/0.3166, allocations: 0 / 1.119 GB, free: 436 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.3166, allocations: 3.938 kB / 1.119 GB, free: 432 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.082e-05/0.3167, allocations: 4 kB / 1.119 GB, free: 428 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.3167, allocations: 128 / 1.119 GB, free: 428 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.046e-05/0.3167, allocations: 7.938 kB / 1.119 GB, free: 420 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.3167, allocations: 4 kB / 1.119 GB, free: 416 kB / 1.061 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 7.65e-05/0.3168, allocations: 113.8 kB / 1.119 GB, free: 292 kB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.233e-05/0.3168, allocations: 4 kB / 1.119 GB, free: 288 kB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001075/0.3169, allocations: 52.62 kB / 1.12 GB, free: 224 kB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.3169, allocations: 3.938 kB / 1.12 GB, free: 220 kB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.3169, allocations: 0 / 1.12 GB, free: 220 kB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.3169, allocations: 0 / 1.12 GB, free: 220 kB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.83e-05/0.317, allocations: 101.4 kB / 1.12 GB, free: 88 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.317, allocations: 0 / 1.12 GB, free: 88 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.472e-05/0.317, allocations: 7.938 kB / 1.12 GB, free: 80 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3171, allocations: 0 / 1.12 GB, free: 80 kB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.93e-06/0.3171, allocations: 0 / 1.12 GB, free: 80 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.3171, allocations: 11.92 kB / 1.12 GB, free: 68 kB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/0.3171, allocations: 7.875 kB / 1.12 GB, free: 60 kB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.961e-05/0.3172, allocations: 62 kB / 1.12 GB, free: 15.98 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.307e-05/0.3172, allocations: 7.984 kB / 1.12 GB, free: 15.97 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.3172, allocations: 4 kB / 1.12 GB, free: 15.96 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.646e-05/0.3172, allocations: 4.031 kB / 1.12 GB, free: 15.96 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.588e-05/0.3172, allocations: 7.938 kB / 1.12 GB, free: 15.95 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-06/0.3172, allocations: 0 / 1.12 GB, free: 15.95 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.651e-05/0.3173, allocations: 75.28 kB / 1.12 GB, free: 15.88 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.3173, allocations: 0 / 1.12 GB, free: 15.88 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000202/0.3175, allocations: 4 kB / 1.12 GB, free: 15.88 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * 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 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 9.243e-05/0.3176, allocations: 91.25 kB / 1.12 GB, free: 15.78 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 7.33e-05/0.3176, allocations: 19.92 kB / 1.12 GB, free: 15.76 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3177, allocations: 224 / 1.12 GB, free: 15.76 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.663e-05/0.3177, allocations: 8 kB / 1.12 GB, free: 15.75 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.3178, allocations: 0 / 1.12 GB, free: 15.75 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002116/0.318, allocations: 105.6 kB / 1.12 GB, free: 15.62 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.811e-05/0.3181, allocations: 59.34 kB / 1.12 GB, free: 15.54 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.481e-05/0.3181, allocations: 0 / 1.12 GB, free: 15.54 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.992e-05/0.3181, allocations: 8.5 kB / 1.12 GB, free: 15.53 MB / 1.076 GB Notification: Performance of SimCode: time 3.8e-07/0.3181, allocations: 0 / 1.12 GB, free: 15.53 MB / 1.076 GB Notification: Performance of Templates: time 0.002096/0.3202, allocations: 196.9 kB / 1.12 GB, free: 15.34 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Examples.Performance.Example8.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.Performance.Example8.sim & ./Buildings_11_Buildings.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Examples.Performance.Example8.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: 7.732204836909659]