Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001752/0.001752, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001939/0.001939, allocations: 188 kB / 22.22 MB, free: 5.164 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.191/3.191, allocations: 496 MB / 0.7835 GB, free: 33.57 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_12_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_12_Buildings.Utilities.Plotters.Examples.Scatter") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 68.86 kB / 1.138 GB, free: 33.82 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3734/0.3754, allocations: 173.6 MB / 1.307 GB, free: 1.824 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003362/0.3787, allocations: 1.803 MB / 1.309 GB, free: 8 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.0012/0.3799, allocations: 0.6122 MB / 1.31 GB, free: 15.39 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.847e-05/0.38, allocations: 3.938 kB / 1.31 GB, free: 15.39 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001869/0.3802, allocations: 31.73 kB / 1.31 GB, free: 15.36 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.000353/0.3805, allocations: 123.4 kB / 1.31 GB, free: 15.24 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003496/0.3809, allocations: 151.7 kB / 1.31 GB, free: 15.09 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.000321/0.3812, allocations: 231.5 kB / 1.31 GB, free: 14.86 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.3813, allocations: 25.67 kB / 1.31 GB, free: 14.84 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.3815, allocations: 107.7 kB / 1.31 GB, free: 14.73 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.005857/0.3873, allocations: 0.8036 MB / 1.311 GB, free: 14.11 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 4.168e-05/0.3874, allocations: 16 kB / 1.311 GB, free: 14.1 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 9.197e-05/0.3875, allocations: 36 kB / 1.311 GB, free: 14.06 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 6.978e-05/0.3875, allocations: 43.89 kB / 1.311 GB, free: 14.02 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.3877, allocations: 91.45 kB / 1.311 GB, free: 13.93 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003271/0.388, allocations: 211.2 kB / 1.311 GB, free: 13.72 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.299e-06/0.388, allocations: 0 / 1.311 GB, free: 13.72 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.723e-06/0.388, allocations: 0 / 1.311 GB, free: 13.72 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 1.084e-05/0.388, allocations: 0 / 1.311 GB, free: 13.72 MB / 1.014 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.0007674/0.3888, allocations: 486.5 kB / 1.312 GB, free: 13.21 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.3888, allocations: 12.92 kB / 1.312 GB, free: 13.2 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.51e-05/0.3889, allocations: 32.78 kB / 1.312 GB, free: 13.16 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002769/0.3892, allocations: 179.4 kB / 1.312 GB, free: 12.96 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.3892, allocations: 12 kB / 1.312 GB, free: 12.95 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.634e-05/0.3892, allocations: 12 kB / 1.312 GB, free: 12.94 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.3894, allocations: 98.58 kB / 1.312 GB, free: 12.84 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.3894, allocations: 3.938 kB / 1.312 GB, free: 12.83 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.3894, allocations: 4 kB / 1.312 GB, free: 12.83 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.3895, allocations: 7.938 kB / 1.312 GB, free: 12.82 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.3896, allocations: 47.97 kB / 1.312 GB, free: 12.77 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007949/0.3904, allocations: 443.4 kB / 1.313 GB, free: 12.3 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001509/0.3905, allocations: 70.55 kB / 1.313 GB, free: 12.22 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 5.305e-05/0.3906, allocations: 28.84 kB / 1.313 GB, free: 12.19 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.3906, allocations: 11.94 kB / 1.313 GB, free: 12.18 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001722/0.3908, allocations: 91.38 kB / 1.313 GB, free: 12.07 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=14): time 1.383e-06/0.3908, allocations: 0 / 1.313 GB, free: 12.07 MB / 1.014 GB
Notification: Performance of matching and sorting (n=14): time 0.0003179/0.3911, allocations: 149.6 kB / 1.313 GB, free: 11.92 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.3911, allocations: 51.41 kB / 1.313 GB, free: 11.86 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000191/0.3913, allocations: 197.4 kB / 1.313 GB, free: 11.66 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 3.7e-05/0.3913, allocations: 33.7 kB / 1.313 GB, free: 11.62 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.3915, allocations: 124.5 kB / 1.313 GB, free: 11.5 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 3.368e-05/0.3915, allocations: 35.69 kB / 1.313 GB, free: 11.46 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.046e-05/0.3916, allocations: 57.67 kB / 1.314 GB, free: 11.4 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001328/0.3917, allocations: 327 kB / 1.314 GB, free: 11.07 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 6.046e-05/0.3918, allocations: 27.98 kB / 1.314 GB, free: 11.04 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002388/0.392, allocations: 136.4 kB / 1.314 GB, free: 10.88 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.3922, allocations: 107 kB / 1.314 GB, free: 10.76 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3922, allocations: 8 kB / 1.314 GB, free: 10.75 MB / 1.014 GB
Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002338/0.3924, allocations: 141.5 kB / 1.314 GB, free: 10.61 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.3924, allocations: 4 kB / 1.314 GB, free: 10.6 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.3924, allocations: 0 / 1.314 GB, free: 10.6 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.3924, allocations: 7.938 kB / 1.314 GB, free: 10.59 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.688e-05/0.3925, allocations: 23.92 kB / 1.314 GB, free: 10.57 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.3925, allocations: 4 kB / 1.314 GB, free: 10.57 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001789/0.3927, allocations: 20.03 kB / 1.314 GB, free: 10.55 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.3927, allocations: 16 kB / 1.314 GB, free: 10.53 MB / 1.014 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.0001285/0.3929, allocations: 134.5 kB / 1.314 GB, free: 10.39 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.763e-05/0.3929, allocations: 15.91 kB / 1.314 GB, free: 10.38 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002268/0.3931, allocations: 138.1 kB / 1.315 GB, free: 10.23 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3931, allocations: 0 / 1.315 GB, free: 10.23 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3931, allocations: 0 / 1.315 GB, free: 10.23 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.3931, allocations: 4 kB / 1.315 GB, free: 10.23 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005374/0.3937, allocations: 433.3 kB / 1.315 GB, free: 9.758 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3937, allocations: 0 / 1.315 GB, free: 9.758 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.73e-05/0.3937, allocations: 8 kB / 1.315 GB, free: 9.75 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.3937, allocations: 0 / 1.315 GB, free: 9.75 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.3937, allocations: 8.047 kB / 1.315 GB, free: 9.742 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3937, allocations: 0 / 1.315 GB, free: 9.742 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.3937, allocations: 7.969 kB / 1.315 GB, free: 9.734 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002181/0.3939, allocations: 219.3 kB / 1.315 GB, free: 9.504 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.034e-05/0.394, allocations: 23.89 kB / 1.315 GB, free: 9.48 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.168e-05/0.394, allocations: 4 kB / 1.315 GB, free: 9.477 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.3941, allocations: 11.98 kB / 1.315 GB, free: 9.465 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.132e-05/0.3942, allocations: 15.97 kB / 1.315 GB, free: 9.449 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/0.3942, allocations: 11.94 kB / 1.315 GB, free: 9.438 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001277/0.3943, allocations: 147.2 kB / 1.315 GB, free: 9.293 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7e-08/0.3943, allocations: 0 / 1.315 GB, free: 9.293 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002894/0.3946, allocations: 43.94 kB / 1.315 GB, free: 9.25 MB / 1.014 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.0003511/0.395, allocations: 164.8 kB / 1.316 GB, free: 9.105 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0002237/0.3952, allocations: 91.84 kB / 1.316 GB, free: 9.016 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3952, allocations: 0 / 1.316 GB, free: 9.016 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 7.913e-05/0.3953, allocations: 43.91 kB / 1.316 GB, free: 8.973 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.3956, allocations: 48.16 kB / 1.316 GB, free: 8.93 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005853/0.3962, allocations: 285.5 kB / 1.316 GB, free: 8.629 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/0.3966, allocations: 0.7281 MB / 1.317 GB, free: 7.875 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 7.149e-05/0.3966, allocations: 25.42 kB / 1.317 GB, free: 7.848 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.152e-05/0.3967, allocations: 27.42 kB / 1.317 GB, free: 7.82 MB / 1.014 GB
Notification: Performance of SimCode: time 2.91e-07/0.3967, allocations: 0 / 1.317 GB, free: 7.82 MB / 1.014 GB
Notification: Performance of Templates: time 0.007368/0.404, allocations: 3.381 MB / 1.32 GB, free: 4.465 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.sim & ./Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Examples_Scatter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.165042145177722]