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.001404/0.001404, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001533/0.001533, allocations: 165 kB / 22.46 MB, free: 5.359 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.446/1.446, allocations: 177.1 MB / 202.8 MB, free: 9.195 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.776/2.776, allocations: 359 MB / 0.6037 GB, free: 15.01 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.9509 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.505e-05, allocations: 2.281 kB / 0.9509 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003227/0.003252, allocations: 1.777 MB / 0.9527 GB, free: 9.863 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001281/0.004534, allocations: 0.5887 MB / 0.9532 GB, free: 9.273 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.753e-05/0.004601, allocations: 4 kB / 0.9532 GB, free: 9.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001778/0.004779, allocations: 31.59 kB / 0.9533 GB, free: 9.238 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003948/0.005174, allocations: 119.4 kB / 0.9534 GB, free: 9.121 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003616/0.005535, allocations: 151.6 kB / 0.9535 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003283/0.005864, allocations: 235.4 kB / 0.9538 GB, free: 8.742 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.005984, allocations: 25.8 kB / 0.9538 GB, free: 8.715 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002025/0.006186, allocations: 139.6 kB / 0.9539 GB, free: 8.578 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006188/0.01237, allocations: 0.7962 MB / 0.9547 GB, free: 7.969 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.857e-05/0.01243, allocations: 16 kB / 0.9547 GB, free: 7.953 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.01255, allocations: 39.98 kB / 0.9547 GB, free: 7.914 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.241e-05/0.01262, allocations: 35.84 kB / 0.9548 GB, free: 7.879 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.01273, allocations: 63.81 kB / 0.9548 GB, free: 7.816 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004195/0.01315, allocations: 235.3 kB / 0.9551 GB, free: 7.586 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.01316, allocations: 0 / 0.9551 GB, free: 7.586 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.132e-06/0.01316, allocations: 0 / 0.9551 GB, free: 7.586 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.01317, allocations: 0 / 0.9551 GB, free: 7.586 MB / 0.8575 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.0008782/0.01404, allocations: 480.9 kB / 0.9555 GB, free: 7.074 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.01408, allocations: 8.031 kB / 0.9555 GB, free: 7.066 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.985e-05/0.01417, allocations: 24.8 kB / 0.9556 GB, free: 7.043 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003186/0.01449, allocations: 178.3 kB / 0.9557 GB, free: 6.84 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.01451, allocations: 12.56 kB / 0.9557 GB, free: 6.828 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.202e-05/0.01455, allocations: 19.92 kB / 0.9558 GB, free: 6.809 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.01476, allocations: 97.59 kB / 0.9558 GB, free: 6.707 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.01477, allocations: 0 / 0.9558 GB, free: 6.707 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.01478, allocations: 4 kB / 0.9559 GB, free: 6.703 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.01479, allocations: 4 kB / 0.9559 GB, free: 6.699 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.01491, allocations: 59.91 kB / 0.9559 GB, free: 6.641 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008506/0.01576, allocations: 380.3 kB / 0.9563 GB, free: 6.238 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.01593, allocations: 74.47 kB / 0.9563 GB, free: 6.156 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.415e-05/0.01598, allocations: 28.84 kB / 0.9564 GB, free: 6.125 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.016, allocations: 0 / 0.9564 GB, free: 6.125 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001761/0.01618, allocations: 95.38 kB / 0.9565 GB, free: 6.02 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=14): time 1.603e-06/0.01618, allocations: 3.938 kB / 0.9565 GB, free: 6.016 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14): time 0.0003561/0.01653, allocations: 153.5 kB / 0.9566 GB, free: 5.859 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.01658, allocations: 51.62 kB / 0.9567 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002167/0.01679, allocations: 191 kB / 0.9568 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.938e-05/0.01683, allocations: 33.64 kB / 0.9569 GB, free: 5.562 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.01695, allocations: 124.5 kB / 0.957 GB, free: 5.438 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.63e-05/0.01698, allocations: 39.72 kB / 0.957 GB, free: 5.398 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.935e-05/0.01708, allocations: 53.69 kB / 0.9571 GB, free: 5.34 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.01724, allocations: 334.8 kB / 0.9574 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.485e-05/0.01732, allocations: 31.94 kB / 0.9574 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003304/0.01765, allocations: 241.3 kB / 0.9577 GB, free: 4.684 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.0178, allocations: 103.8 kB / 0.9578 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.0178, allocations: 0 / 0.9578 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002709/0.01807, allocations: 145.4 kB / 0.9579 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.01809, allocations: 12.16 kB / 0.9579 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.748e-06/0.01809, allocations: 0 / 0.9579 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.01811, allocations: 4 kB / 0.9579 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.01821, allocations: 19.94 kB / 0.9579 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.01822, allocations: 3.984 kB / 0.9579 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.01841, allocations: 23.83 kB / 0.958 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.01843, allocations: 8 kB / 0.958 GB, free: 4.348 MB / 0.8575 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.0001463/0.01857, allocations: 137.5 kB / 0.9581 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.795e-05/0.0186, allocations: 15.91 kB / 0.9581 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002409/0.01884, allocations: 135.1 kB / 0.9582 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.01885, allocations: 0 / 0.9582 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.01885, allocations: 0 / 0.9582 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.01885, allocations: 0 / 0.9582 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005732/0.01943, allocations: 389.2 kB / 0.9586 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.01943, allocations: 8 kB / 0.9586 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.023e-05/0.01947, allocations: 7.984 kB / 0.9586 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.01947, allocations: 0 / 0.9586 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.01949, allocations: 3.938 kB / 0.9586 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.01949, allocations: 4 kB / 0.9586 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.01949, allocations: 4 kB / 0.9586 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002509/0.01974, allocations: 227.2 kB / 0.9589 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.217e-05/0.0198, allocations: 23.83 kB / 0.9589 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.819e-05/0.01983, allocations: 7.938 kB / 0.9589 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.01994, allocations: 11.92 kB / 0.9589 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.635e-05/0.02, allocations: 11.98 kB / 0.9589 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.262e-05/0.02003, allocations: 11.98 kB / 0.9589 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001344/0.02016, allocations: 137.6 kB / 0.9591 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.02016, allocations: 0 / 0.9591 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003173/0.02048, allocations: 40 kB / 0.9591 GB, free: 3.137 MB / 0.8575 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.0004315/0.02091, allocations: 176.3 kB / 0.9593 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002391/0.02115, allocations: 83.91 kB / 0.9593 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.02115, allocations: 0 / 0.9593 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.86e-05/0.02124, allocations: 42.55 kB / 0.9594 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004297/0.02167, allocations: 47.81 kB / 0.9594 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006734/0.02234, allocations: 302 kB / 0.9597 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001292/0.02247, allocations: 119.8 kB / 0.9598 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.299e-05/0.02254, allocations: 21.47 kB / 0.9599 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.947e-05/0.0226, allocations: 24.48 kB / 0.9599 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of SimCode: time 3.31e-07/0.0226, allocations: 0 / 0.9599 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of Templates: time 0.008508/0.03111, allocations: 3.512 MB / 0.9633 GB, free: 14.87 MB / 0.8731 GB " [Timeout remaining time 300] 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/jenkins/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: 7.928326670080423]