Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001385/0.001385, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001387/0.001387, allocations: 190.4 kB / 22.23 MB, free: 5.102 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.318/1.318, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 179]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.905/2.905, allocations: 0.4893 GB / 0.7884 GB, free: 33.18 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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_latest_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_latest_Buildings.Utilities.Plotters.Examples.Scatter") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 67.08 kB / 1.145 GB, free: 30.64 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3246, allocations: 174.9 MB / 1.316 GB, free: 9.719 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003207/0.3278, allocations: 1.793 MB / 1.318 GB, free: 7.914 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.001107/0.3289, allocations: 0.6122 MB / 1.318 GB, free: 7.301 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.796e-05/0.329, allocations: 0 / 1.318 GB, free: 7.301 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001843/0.3292, allocations: 39.66 kB / 1.318 GB, free: 7.262 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.000343/0.3295, allocations: 119.4 kB / 1.318 GB, free: 7.145 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.000328/0.3299, allocations: 147.7 kB / 1.319 GB, free: 7 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0002889/0.3302, allocations: 231.5 kB / 1.319 GB, free: 6.773 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.3303, allocations: 37.61 kB / 1.319 GB, free: 6.734 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.3304, allocations: 107.7 kB / 1.319 GB, free: 6.629 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.005696/0.3361, allocations: 0.8066 MB / 1.32 GB, free: 6.008 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 4.301e-05/0.3362, allocations: 16 kB / 1.32 GB, free: 5.992 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 8.904e-05/0.3362, allocations: 35.98 kB / 1.32 GB, free: 5.957 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 6.935e-05/0.3363, allocations: 43.78 kB / 1.32 GB, free: 5.914 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.3364, allocations: 83.56 kB / 1.32 GB, free: 5.832 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003275/0.3368, allocations: 219.1 kB / 1.32 GB, free: 5.617 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.3368, allocations: 0 / 1.32 GB, free: 5.617 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.312e-06/0.3368, allocations: 4 kB / 1.32 GB, free: 5.613 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 6.031e-06/0.3368, allocations: 0 / 1.32 GB, free: 5.613 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.0007653/0.3375, allocations: 476.9 kB / 1.321 GB, free: 5.105 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.3376, allocations: 12.03 kB / 1.321 GB, free: 5.094 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.031e-05/0.3377, allocations: 16.84 kB / 1.321 GB, free: 5.078 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002898/0.3379, allocations: 191.9 kB / 1.321 GB, free: 4.863 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.338, allocations: 16 kB / 1.321 GB, free: 4.848 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.584e-05/0.338, allocations: 11.98 kB / 1.321 GB, free: 4.836 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/0.3382, allocations: 99.53 kB / 1.321 GB, free: 4.734 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.3382, allocations: 0 / 1.321 GB, free: 4.734 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.3382, allocations: 0 / 1.321 GB, free: 4.734 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.3382, allocations: 3.938 kB / 1.321 GB, free: 4.73 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/0.3383, allocations: 55.97 kB / 1.321 GB, free: 4.676 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008213/0.3392, allocations: 447.4 kB / 1.321 GB, free: 4.195 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.3393, allocations: 66.56 kB / 1.321 GB, free: 4.121 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.997e-05/0.3394, allocations: 24.84 kB / 1.322 GB, free: 4.094 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.3394, allocations: 7.938 kB / 1.322 GB, free: 4.086 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001696/0.3395, allocations: 95.36 kB / 1.322 GB, free: 3.98 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=14): time 1.242e-06/0.3395, allocations: 224 / 1.322 GB, free: 3.98 MB / 1.014 GB
Notification: Performance of matching and sorting (n=14): time 0.0003095/0.3399, allocations: 149.7 kB / 1.322 GB, free: 3.828 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.3399, allocations: 59.34 kB / 1.322 GB, free: 3.758 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.3401, allocations: 194.3 kB / 1.322 GB, free: 3.559 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 4.399e-05/0.3401, allocations: 33.69 kB / 1.322 GB, free: 3.52 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 9.434e-05/0.3402, allocations: 128.4 kB / 1.322 GB, free: 3.391 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 3.325e-05/0.3403, allocations: 35.69 kB / 1.322 GB, free: 3.355 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.835e-05/0.3404, allocations: 61.67 kB / 1.322 GB, free: 3.289 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001449/0.3405, allocations: 326.8 kB / 1.323 GB, free: 2.961 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 6.135e-05/0.3406, allocations: 27.98 kB / 1.323 GB, free: 2.934 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002392/0.3408, allocations: 124.5 kB / 1.323 GB, free: 2.781 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/0.3409, allocations: 108 kB / 1.323 GB, free: 2.66 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3409, allocations: 0 / 1.323 GB, free: 2.66 MB / 1.014 GB
Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002462/0.3412, allocations: 149.5 kB / 1.323 GB, free: 2.508 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.3412, allocations: 8 kB / 1.323 GB, free: 2.5 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.3412, allocations: 3.984 kB / 1.323 GB, free: 2.496 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.3412, allocations: 7.938 kB / 1.323 GB, free: 2.488 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.958e-05/0.3413, allocations: 19.94 kB / 1.323 GB, free: 2.469 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.3413, allocations: 4 kB / 1.323 GB, free: 2.465 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001863/0.3415, allocations: 19.88 kB / 1.323 GB, free: 2.445 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/0.3415, allocations: 8 kB / 1.323 GB, free: 2.438 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.0001375/0.3417, allocations: 143.1 kB / 1.323 GB, free: 2.289 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.3417, allocations: 15.86 kB / 1.323 GB, free: 2.273 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002271/0.3419, allocations: 135.1 kB / 1.323 GB, free: 2.129 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.3419, allocations: 3.938 kB / 1.323 GB, free: 2.125 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.3419, allocations: 0 / 1.323 GB, free: 2.125 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.3419, allocations: 3.984 kB / 1.323 GB, free: 2.121 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005556/0.3425, allocations: 428.9 kB / 1.324 GB, free: 1.656 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.3425, allocations: 4 kB / 1.324 GB, free: 1.652 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.951e-05/0.3425, allocations: 15.92 kB / 1.324 GB, free: 1.637 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3425, allocations: 0 / 1.324 GB, free: 1.637 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.3425, allocations: 4 kB / 1.324 GB, free: 1.633 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3425, allocations: 7.938 kB / 1.324 GB, free: 1.625 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.3425, allocations: 0 / 1.324 GB, free: 1.625 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002214/0.3428, allocations: 211.4 kB / 1.324 GB, free: 1.402 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 4.897e-05/0.3428, allocations: 23.89 kB / 1.324 GB, free: 1.379 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.3428, allocations: 4 kB / 1.324 GB, free: 1.375 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.3429, allocations: 15.98 kB / 1.324 GB, free: 1.359 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.978e-05/0.343, allocations: 7.984 kB / 1.324 GB, free: 1.352 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.222e-05/0.343, allocations: 15.92 kB / 1.324 GB, free: 1.336 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001312/0.3431, allocations: 135.1 kB / 1.324 GB, free: 1.203 MB / 1.014 GB
Notification: Performance of sort global known variables: time 1e-07/0.3431, allocations: 4 kB / 1.324 GB, free: 1.199 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002851/0.3434, allocations: 47.88 kB / 1.324 GB, free: 1.152 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.0003363/0.3438, allocations: 173.3 kB / 1.324 GB, free: 1 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0002128/0.344, allocations: 91.97 kB / 1.324 GB, free: 0.9102 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.344, allocations: 0 / 1.324 GB, free: 0.9102 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 7.596e-05/0.3441, allocations: 39.92 kB / 1.324 GB, free: 0.8711 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.3444, allocations: 54.31 kB / 1.325 GB, free: 0.8203 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005774/0.345, allocations: 295 kB / 1.325 GB, free: 0.5078 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/0.3454, allocations: 0.7205 MB / 1.326 GB, free: 15.76 MB / 1.029 GB
Notification: Performance of simCode: alias equations: time 6.918e-05/0.3454, allocations: 21.47 kB / 1.326 GB, free: 15.74 MB / 1.029 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.933e-05/0.3455, allocations: 23.44 kB / 1.326 GB, free: 15.71 MB / 1.029 GB
Notification: Performance of SimCode: time 2.8e-07/0.3455, allocations: 0 / 1.326 GB, free: 15.71 MB / 1.029 GB
Notification: Performance of Templates: time 0.007168/0.3526, allocations: 3.386 MB / 1.329 GB, free: 12.36 MB / 1.029 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Examples_Scatter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.985094596631825]