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.001571/0.001571, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001749/0.001749, allocations: 212 kB / 22.99 MB, free: 4.945 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.49/1.49, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.784/2.784, allocations: 476 MB / 0.7707 GB, free: 4.703 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.002128/0.002128, allocations: 67.09 kB / 1.118 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.36, allocations: 170 MB / 1.284 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003508/0.3635, allocations: 1.772 MB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001242/0.3647, allocations: 0.5851 MB / 1.286 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.18e-05/0.3648, allocations: 3.938 kB / 1.286 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000193/0.365, allocations: 27.73 kB / 1.286 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003791/0.3654, allocations: 119.5 kB / 1.286 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003668/0.3658, allocations: 149.8 kB / 1.286 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002972/0.3661, allocations: 235.4 kB / 1.287 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.3662, allocations: 25.67 kB / 1.287 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/0.3663, allocations: 107.7 kB / 1.287 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006005/0.3723, allocations: 0.8057 MB / 1.287 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.254e-05/0.3724, allocations: 16 kB / 1.287 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.3725, allocations: 36 kB / 1.288 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.708e-05/0.3726, allocations: 39.84 kB / 1.288 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.3727, allocations: 71.62 kB / 1.288 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004039/0.3731, allocations: 219.1 kB / 1.288 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3731, allocations: 0 / 1.288 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.644e-06/0.3731, allocations: 0 / 1.288 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.503e-06/0.3732, allocations: 0 / 1.288 GB, free: 7.93 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.0008567/0.374, allocations: 484.8 kB / 1.288 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.3741, allocations: 12.03 kB / 1.288 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.275e-05/0.3741, allocations: 20.78 kB / 1.288 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002987/0.3744, allocations: 190.8 kB / 1.289 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.3744, allocations: 12 kB / 1.289 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.333e-05/0.3745, allocations: 12 kB / 1.289 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002088/0.3747, allocations: 101.5 kB / 1.289 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.3747, allocations: 4 kB / 1.289 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.3747, allocations: 0 / 1.289 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.3747, allocations: 7.922 kB / 1.289 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001229/0.3748, allocations: 58.78 kB / 1.289 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008006/0.3756, allocations: 380.1 kB / 1.289 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.3758, allocations: 70.55 kB / 1.289 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.426e-05/0.3759, allocations: 28.84 kB / 1.289 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.3759, allocations: 0 / 1.289 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001842/0.3761, allocations: 98.5 kB / 1.289 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.312e-06/0.3761, allocations: 3.938 kB / 1.289 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.0003156/0.3764, allocations: 137.8 kB / 1.289 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.905e-05/0.3764, allocations: 63.33 kB / 1.289 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002086/0.3766, allocations: 191.6 kB / 1.29 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.967e-05/0.3767, allocations: 33.7 kB / 1.29 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.3768, allocations: 124.5 kB / 1.29 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.17e-05/0.3768, allocations: 31.73 kB / 1.29 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.938e-05/0.3769, allocations: 65.66 kB / 1.29 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3771, allocations: 322.8 kB / 1.29 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.328e-05/0.3771, allocations: 27.98 kB / 1.29 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003054/0.3774, allocations: 241.2 kB / 1.29 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.3776, allocations: 109.1 kB / 1.291 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.3776, allocations: 4 kB / 1.291 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002501/0.3778, allocations: 150 kB / 1.291 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.3779, allocations: 4.219 kB / 1.291 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.3779, allocations: 4 kB / 1.291 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.3779, allocations: 3.938 kB / 1.291 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.378, allocations: 27.86 kB / 1.291 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.378, allocations: 0 / 1.291 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001826/0.3782, allocations: 32.03 kB / 1.291 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.3782, allocations: 4 kB / 1.291 GB, free: 4.68 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.0001352/0.3783, allocations: 137.8 kB / 1.291 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.326e-05/0.3784, allocations: 15.91 kB / 1.291 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002293/0.3786, allocations: 128.9 kB / 1.291 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.3786, allocations: 7.938 kB / 1.291 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3786, allocations: 3.938 kB / 1.291 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3786, allocations: 0 / 1.291 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005447/0.3791, allocations: 382 kB / 1.291 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.3791, allocations: 3.938 kB / 1.291 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.644e-05/0.3792, allocations: 8 kB / 1.291 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3792, allocations: 0 / 1.291 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.3792, allocations: 4 kB / 1.291 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.3792, allocations: 3.938 kB / 1.291 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.3792, allocations: 4 kB / 1.291 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/0.3794, allocations: 221.7 kB / 1.292 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.267e-05/0.3795, allocations: 19.89 kB / 1.292 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.3795, allocations: 4 kB / 1.292 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.3796, allocations: 11.98 kB / 1.292 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.022e-05/0.3797, allocations: 19.97 kB / 1.292 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-05/0.3797, allocations: 8 kB / 1.292 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001334/0.3798, allocations: 137.6 kB / 1.292 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3798, allocations: 0 / 1.292 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003031/0.3801, allocations: 47.89 kB / 1.292 GB, free: 3.465 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.0004131/0.3805, allocations: 170.7 kB / 1.292 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002212/0.3808, allocations: 87.91 kB / 1.292 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3808, allocations: 3.938 kB / 1.292 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.059e-05/0.3809, allocations: 40.23 kB / 1.292 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/0.3812, allocations: 59.97 kB / 1.292 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006519/0.3819, allocations: 317.8 kB / 1.293 GB, free: 2.793 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001161/0.382, allocations: 111.4 kB / 1.293 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.494e-05/0.3821, allocations: 23.44 kB / 1.293 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.3821, allocations: 0 / 1.293 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of Templates: time 0.005658/0.3877, allocations: 3.067 MB / 1.296 GB, free: 15.59 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.142196210101247]