Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.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.001587/0.001587, allocations: 102.1 kB / 19.7 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.001745/0.001745, allocations: 217.4 kB / 23.01 MB, free: 4.609 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.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 8.051 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.768/2.768, allocations: 476.8 MB / 0.7714 GB, free: 4.277 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.Utilities.Plotters.Examples.Scatter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sca.y.1.|sca1.y.1.|sca1.y.2.",fileNamePrefix="Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter") translateModel(Buildings.Utilities.Plotters.Examples.Scatter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sca.y.1.|sca1.y.1.|sca1.y.2.",fileNamePrefix="Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter") [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.002058/0.002058, allocations: 69.66 kB / 1.119 GB, free: 40.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3472, allocations: 170 MB / 1.285 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003396/0.3506, allocations: 1.813 MB / 1.286 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001181/0.3518, allocations: 0.6162 MB / 1.287 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.76e-05/0.3518, allocations: 0 / 1.287 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000204/0.352, allocations: 27.72 kB / 1.287 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003654/0.3524, allocations: 119.5 kB / 1.287 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003794/0.3528, allocations: 151.7 kB / 1.287 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003149/0.3531, allocations: 231.4 kB / 1.287 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.3532, allocations: 29.67 kB / 1.287 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001406/0.3534, allocations: 111.7 kB / 1.288 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005942/0.3593, allocations: 0.7961 MB / 1.288 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.883e-05/0.3594, allocations: 16 kB / 1.288 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.3595, allocations: 43.97 kB / 1.288 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.506e-05/0.3595, allocations: 43.78 kB / 1.288 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.3597, allocations: 87.56 kB / 1.289 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003809/0.3601, allocations: 211.1 kB / 1.289 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3601, allocations: 4 kB / 1.289 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3601, allocations: 3.938 kB / 1.289 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.782e-06/0.3601, allocations: 3.938 kB / 1.289 GB, free: 7.16 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.000839/0.3609, allocations: 480.9 kB / 1.289 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.3609, allocations: 8.031 kB / 1.289 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.782e-05/0.361, allocations: 20.84 kB / 1.289 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003142/0.3613, allocations: 182.8 kB / 1.289 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.3614, allocations: 16 kB / 1.289 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.264e-05/0.3614, allocations: 12 kB / 1.289 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002173/0.3616, allocations: 99.89 kB / 1.29 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.3616, allocations: 0 / 1.29 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.3616, allocations: 4 kB / 1.29 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.3616, allocations: 11.94 kB / 1.29 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.3618, allocations: 47.97 kB / 1.29 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008512/0.3626, allocations: 451.4 kB / 1.29 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/0.3628, allocations: 66.56 kB / 1.29 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.838e-05/0.3628, allocations: 32.78 kB / 1.29 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.3628, allocations: 0 / 1.29 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001764/0.363, allocations: 109.9 kB / 1.29 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.273e-06/0.363, allocations: 0 / 1.29 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.00033/0.3633, allocations: 145.7 kB / 1.29 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.3634, allocations: 55.39 kB / 1.29 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/0.3636, allocations: 191.6 kB / 1.291 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.749e-05/0.3636, allocations: 33.7 kB / 1.291 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.3637, allocations: 128.4 kB / 1.291 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.267e-05/0.3638, allocations: 23.81 kB / 1.291 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.793e-05/0.3639, allocations: 65.61 kB / 1.291 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.364, allocations: 326.8 kB / 1.291 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.271e-05/0.3641, allocations: 27.98 kB / 1.291 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002374/0.3643, allocations: 124.5 kB / 1.291 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/0.3644, allocations: 109 kB / 1.291 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.3645, allocations: 4 kB / 1.291 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002426/0.3647, allocations: 153.4 kB / 1.292 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.3647, allocations: 4 kB / 1.292 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3647, allocations: 0 / 1.292 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.3647, allocations: 7.938 kB / 1.292 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.734e-05/0.3648, allocations: 19.92 kB / 1.292 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.3648, allocations: 4 kB / 1.292 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/0.365, allocations: 24.09 kB / 1.292 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.365, allocations: 8 kB / 1.292 GB, free: 3.984 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (sca1.sampleTrigger,sca1.tActivateLast,$PRE.sca1.tActivateLast,sca1.active,sca.sampleTrigger,sca.tActivateLast,$PRE.sca.tActivateLast,sca.active,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition3,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001303/0.3652, allocations: 137.8 kB / 1.292 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.266e-05/0.3652, allocations: 23.83 kB / 1.292 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002383/0.3654, allocations: 131 kB / 1.292 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3654, allocations: 0 / 1.292 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.3654, allocations: 0 / 1.292 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3654, allocations: 3.938 kB / 1.292 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000553/0.366, allocations: 425.4 kB / 1.292 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.366, allocations: 0 / 1.292 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.885e-05/0.366, allocations: 15.94 kB / 1.292 GB, free: 3.191 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.366, allocations: 8.016 kB / 1.292 GB, free: 3.184 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.3661, allocations: 4 kB / 1.292 GB, free: 3.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3661, allocations: 0 / 1.292 GB, free: 3.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3661, allocations: 0 / 1.292 GB, free: 3.18 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002264/0.3663, allocations: 215.4 kB / 1.293 GB, free: 2.953 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.992e-05/0.3663, allocations: 19.89 kB / 1.293 GB, free: 2.934 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.138e-05/0.3664, allocations: 15.98 kB / 1.293 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.794e-05/0.3665, allocations: 8 kB / 1.293 GB, free: 2.91 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.946e-05/0.3665, allocations: 15.97 kB / 1.293 GB, free: 2.895 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.166e-05/0.3665, allocations: 8 kB / 1.293 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001303/0.3667, allocations: 141.5 kB / 1.293 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3667, allocations: 0 / 1.293 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003023/0.367, allocations: 51.88 kB / 1.293 GB, free: 2.699 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (sca1.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,sca1.active,sca1.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000392/0.3674, allocations: 156.4 kB / 1.293 GB, free: 2.562 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002206/0.3676, allocations: 96.08 kB / 1.293 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3676, allocations: 4 kB / 1.293 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.126e-05/0.3677, allocations: 39.92 kB / 1.293 GB, free: 2.426 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003846/0.3681, allocations: 41.92 kB / 1.293 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006534/0.3687, allocations: 329.5 kB / 1.293 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.3691, allocations: 0.7204 MB / 1.294 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.506e-05/0.3691, allocations: 23.42 kB / 1.294 GB, free: 1.266 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.3691, allocations: 0 / 1.294 GB, free: 1.266 MB / 0.9825 GB Notification: Performance of Templates: time 0.005531/0.3746, allocations: 3.031 MB / 1.297 GB, free: 14.25 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.sim & ./Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Examples_Scatter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.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: 12.051850030984497]