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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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=5000,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=5000,variableFilter="time|sca.y.1.|sca1.y.1.|sca1.y.2.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 193.9 kB / 16.14 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.794/2.794, allocations: 461.9 MB / 0.7342 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 64.62 kB / 0.8984 GB, free: 37.28 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.3682, allocations: 157.4 MB / 1.052 GB, free: 8.887 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003454/0.3717, allocations: 1.932 MB / 1.054 GB, free: 6.938 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001287/0.373, allocations: 0.6474 MB / 1.055 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.208e-05/0.3731, allocations: 3.938 kB / 1.055 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002216/0.3733, allocations: 15.86 kB / 1.055 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003193/0.3737, allocations: 87.67 kB / 1.055 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003454/0.374, allocations: 147.7 kB / 1.055 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002641/0.3743, allocations: 215.4 kB / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/0.3745, allocations: 37.45 kB / 1.055 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.3746, allocations: 91.73 kB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009707/0.3843, allocations: 0.7456 MB / 1.056 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001082/0.3844, allocations: 12 kB / 1.056 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002028/0.3847, allocations: 35.97 kB / 1.056 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.3848, allocations: 31.84 kB / 1.056 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001648/0.3849, allocations: 87.5 kB / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003813/0.3853, allocations: 191.4 kB / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.3854, allocations: 0 / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3854, allocations: 0 / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.385e-06/0.3854, allocations: 0 / 1.056 GB, free: 4.758 MB / 0.8106 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.001098/0.3865, allocations: 0.5451 MB / 1.057 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.914e-05/0.3865, allocations: 8.031 kB / 1.057 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.3867, allocations: 24.69 kB / 1.057 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003771/0.387, allocations: 236.6 kB / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.3871, allocations: 12 kB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.149e-05/0.3871, allocations: 16 kB / 1.057 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002621/0.3874, allocations: 97.64 kB / 1.057 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.3874, allocations: 0 / 1.057 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/0.3874, allocations: 3.984 kB / 1.057 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/0.3875, allocations: 11.94 kB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001589/0.3876, allocations: 54.03 kB / 1.057 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008952/0.3885, allocations: 480.2 kB / 1.058 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/0.3887, allocations: 78.48 kB / 1.058 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.066e-05/0.3888, allocations: 28.86 kB / 1.058 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.3888, allocations: 4 kB / 1.058 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001668/0.389, allocations: 91.36 kB / 1.058 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=14): time 1.463e-06/0.389, allocations: 0 / 1.058 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14): time 0.0003481/0.3894, allocations: 161.3 kB / 1.058 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.3894, allocations: 59.34 kB / 1.058 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.3896, allocations: 195.4 kB / 1.058 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.954e-05/0.3896, allocations: 29.7 kB / 1.058 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.148e-05/0.3897, allocations: 128.3 kB / 1.058 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.671e-05/0.3898, allocations: 35.56 kB / 1.058 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.498e-05/0.3899, allocations: 53.67 kB / 1.059 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.39, allocations: 331 kB / 1.059 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.064e-05/0.39, allocations: 31.98 kB / 1.059 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002497/0.3903, allocations: 125.7 kB / 1.059 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.3905, allocations: 109 kB / 1.059 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3905, allocations: 0 / 1.059 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002441/0.3907, allocations: 149.3 kB / 1.059 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.3908, allocations: 4 kB / 1.059 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.3908, allocations: 4 kB / 1.059 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.3908, allocations: 8.094 kB / 1.059 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.3909, allocations: 16 kB / 1.059 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.914e-06/0.3909, allocations: 0 / 1.059 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000204/0.3911, allocations: 27.83 kB / 1.059 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.3912, allocations: 7.938 kB / 1.059 GB, free: 1.363 MB / 0.8106 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.0001459/0.3913, allocations: 135.4 kB / 1.059 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.041e-05/0.3914, allocations: 15.81 kB / 1.059 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002538/0.3916, allocations: 131.1 kB / 1.06 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.3916, allocations: 7.984 kB / 1.06 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.3916, allocations: 3.938 kB / 1.06 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.3917, allocations: 0 / 1.06 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005925/0.3922, allocations: 461.1 kB / 1.06 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3923, allocations: 0 / 1.06 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.587e-05/0.3923, allocations: 4 kB / 1.06 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.3923, allocations: 4 kB / 1.06 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.3923, allocations: 4 kB / 1.06 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.3923, allocations: 0 / 1.06 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.3924, allocations: 4 kB / 1.06 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002209/0.3926, allocations: 227.2 kB / 1.06 GB, free: 312 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.995e-05/0.3927, allocations: 104.8 kB / 1.06 GB, free: 188 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.831e-05/0.3927, allocations: 0 / 1.06 GB, free: 188 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.3928, allocations: 8.031 kB / 1.06 GB, free: 180 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.006e-05/0.3929, allocations: 19.97 kB / 1.06 GB, free: 160 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.447e-05/0.3929, allocations: 15.92 kB / 1.06 GB, free: 144 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001118/0.393, allocations: 136.4 kB / 1.061 GB, free: 8 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.393, allocations: 0 / 1.061 GB, free: 8 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000336/0.3934, allocations: 40.05 kB / 1.061 GB, free: 15.96 MB / 0.8262 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.0003764/0.3938, allocations: 157 kB / 1.061 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002212/0.394, allocations: 87.91 kB / 1.061 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.394, allocations: 4.25 kB / 1.061 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.036e-05/0.3941, allocations: 43.98 kB / 1.061 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004077/0.3945, allocations: 48.98 kB / 1.061 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006287/0.3952, allocations: 336.7 kB / 1.061 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.3955, allocations: 0.7204 MB / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.233e-05/0.3956, allocations: 37.5 kB / 1.062 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.896e-05/0.3956, allocations: 19.42 kB / 1.062 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3957, allocations: 3.938 kB / 1.062 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of Templates: time 0.007006/0.4027, allocations: 3.124 MB / 1.065 GB, free: 11.39 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) 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) Reference file matches