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.001656/0.001656, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001914/0.001914, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.531/1.531, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.676/2.676, allocations: 476.7 MB / 0.7714 GB, free: 4.227 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.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.00204/0.00204, allocations: 66.56 kB / 1.119 GB, free: 40.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3259, allocations: 170 MB / 1.285 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001784/0.3277, allocations: 0.5389 MB / 1.285 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001424/0.3278, allocations: 19.91 kB / 1.285 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.82e-05/0.3279, allocations: 0 / 1.285 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.249e-05/0.3279, allocations: 0 / 1.285 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001605/0.328, allocations: 3.938 kB / 1.285 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.867e-06/0.328, allocations: 0 / 1.285 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.876e-05/0.3281, allocations: 8 kB / 1.285 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.466e-05/0.3282, allocations: 3.984 kB / 1.285 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.592e-05/0.3282, allocations: 4 kB / 1.285 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.268e-05/0.3282, allocations: 3.938 kB / 1.285 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.3283, allocations: 0 / 1.285 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.492e-06/0.3283, allocations: 3.938 kB / 1.285 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.04e-05/0.3283, allocations: 0 / 1.285 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.783e-05/0.3283, allocations: 7.984 kB / 1.285 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 5.166e-05/0.3284, allocations: 7.938 kB / 1.285 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.3284, allocations: 0 / 1.285 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.314e-06/0.3284, allocations: 0 / 1.285 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.3284, allocations: 4 kB / 1.285 GB, free: 10.61 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003162/0.3287, allocations: 238.4 kB / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.3287, allocations: 12.03 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.914e-05/0.3288, allocations: 4.875 kB / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.848e-05/0.3289, allocations: 102.5 kB / 1.286 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.3289, allocations: 384 / 1.286 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.3289, allocations: 8.375 kB / 1.286 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.329, allocations: 43.97 kB / 1.286 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.329, allocations: 4.188 kB / 1.286 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.329, allocations: 3.938 kB / 1.286 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.329, allocations: 0 / 1.286 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.183e-05/0.329, allocations: 3.938 kB / 1.286 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001783/0.3292, allocations: 125.6 kB / 1.286 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.677e-05/0.3293, allocations: 49.19 kB / 1.286 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.052e-05/0.3293, allocations: 13.78 kB / 1.286 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.3294, allocations: 4 kB / 1.286 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.3294, allocations: 30.56 kB / 1.286 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.3294, allocations: 0 / 1.286 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001611/0.3296, allocations: 53.52 kB / 1.286 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.873e-05/0.3296, allocations: 85.36 kB / 1.286 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.742e-05/0.3297, allocations: 89.86 kB / 1.286 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.3297, allocations: 25.7 kB / 1.286 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.685e-05/0.3298, allocations: 80.14 kB / 1.286 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/0.3298, allocations: 11.95 kB / 1.286 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.46e-05/0.3298, allocations: 9.719 kB / 1.286 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.33, allocations: 310.8 kB / 1.286 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.422e-05/0.33, allocations: 7.984 kB / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.495e-05/0.33, allocations: 13.84 kB / 1.286 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.071e-05/0.33, allocations: 25.75 kB / 1.286 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.33, allocations: 0 / 1.286 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.395e-05/0.3301, allocations: 37.69 kB / 1.287 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.3301, allocations: 6.344 kB / 1.287 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.3301, allocations: 4.062 kB / 1.287 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.3301, allocations: 15.88 kB / 1.287 GB, free: 9 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.903e-05/0.3302, allocations: 0 / 1.287 GB, free: 9 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.3302, allocations: 4 kB / 1.287 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.865e-05/0.3302, allocations: 7.938 kB / 1.287 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-06/0.3302, allocations: 0 / 1.287 GB, free: 8.988 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 9.092e-05/0.3303, allocations: 113.8 kB / 1.287 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.594e-06/0.3303, allocations: 0 / 1.287 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.3304, allocations: 56.56 kB / 1.287 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.3304, allocations: 0 / 1.287 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3304, allocations: 0 / 1.287 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.3305, allocations: 4 kB / 1.287 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/0.3306, allocations: 120.8 kB / 1.287 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3306, allocations: 0 / 1.287 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.509e-05/0.3306, allocations: 12 kB / 1.287 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.3306, allocations: 0 / 1.287 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.3306, allocations: 7.938 kB / 1.287 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3306, allocations: 0 / 1.287 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3306, allocations: 4.062 kB / 1.287 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.708e-05/0.3307, allocations: 69.92 kB / 1.287 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.3307, allocations: 4 kB / 1.287 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.3307, allocations: 7.922 kB / 1.287 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.435e-05/0.3308, allocations: 0 / 1.287 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.444e-05/0.3308, allocations: 4 kB / 1.287 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.3308, allocations: 4.031 kB / 1.287 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.519e-05/0.3308, allocations: 75.28 kB / 1.287 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3308, allocations: 0 / 1.287 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001883/0.331, allocations: 4 kB / 1.287 GB, free: 8.434 MB / 0.9825 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 0.0001103/0.3311, allocations: 95.25 kB / 1.287 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.331e-05/0.3312, allocations: 15.92 kB / 1.287 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3312, allocations: 224 / 1.287 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.001e-05/0.3312, allocations: 8 kB / 1.287 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001405/0.3314, allocations: 0 / 1.287 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002375/0.3316, allocations: 115.6 kB / 1.287 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.3319, allocations: 0.6768 MB / 1.288 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.209e-05/0.3319, allocations: 7.438 kB / 1.288 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.3319, allocations: 0 / 1.288 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of Templates: time 0.001675/0.3336, allocations: 379.7 kB / 1.288 GB, free: 7.074 MB / 0.9825 GB " [Timeout remaining time 299] 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 -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: 10.806337243004236]