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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001008/0.001008, allocations: 116.4 kB / 16.37 MB, free: 6 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.0009414/0.0009415, allocations: 193.5 kB / 17.31 MB, free: 5.613 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.227/1.227, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.265/2.265, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 68.61 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2758, allocations: 153 MB / 1.027 GB, free: 2.055 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.002777/0.2786, allocations: 1.78 MB / 1.028 GB, free: 268 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009861/0.2796, allocations: 0.6082 MB / 1.029 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.491e-05/0.2796, allocations: 4 kB / 1.029 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001525/0.2798, allocations: 23.73 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003101/0.2801, allocations: 123.4 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002841/0.2804, allocations: 143.7 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002426/0.2807, allocations: 231.4 kB / 1.03 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.2808, allocations: 33.55 kB / 1.03 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.2809, allocations: 103.7 kB / 1.03 GB, free: 15 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004221/0.2851, allocations: 0.81 MB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.011e-05/0.2852, allocations: 16 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.899e-05/0.2853, allocations: 36 kB / 1.031 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.813e-05/0.2853, allocations: 35.84 kB / 1.031 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.697e-05/0.2854, allocations: 91.5 kB / 1.031 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002669/0.2857, allocations: 211.3 kB / 1.031 GB, free: 14 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2857, allocations: 0 / 1.031 GB, free: 14 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2857, allocations: 0 / 1.031 GB, free: 14 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.2857, allocations: 4 kB / 1.031 GB, free: 13.99 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.0006553/0.2864, allocations: 0.5385 MB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.826e-05/0.2864, allocations: 11.97 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.99e-05/0.2865, allocations: 20.75 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.2867, allocations: 237.1 kB / 1.032 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.2868, allocations: 8 kB / 1.032 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.348e-05/0.2868, allocations: 16 kB / 1.032 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.287, allocations: 98.58 kB / 1.032 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.287, allocations: 3.938 kB / 1.032 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.287, allocations: 4 kB / 1.032 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.287, allocations: 7.938 kB / 1.032 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.2871, allocations: 55.91 kB / 1.032 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007198/0.2879, allocations: 468.4 kB / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.288, allocations: 82.48 kB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.599e-05/0.2881, allocations: 28.84 kB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.2881, allocations: 7.984 kB / 1.032 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001446/0.2882, allocations: 91.28 kB / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.2882, allocations: 0 / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14): time 0.0002769/0.2885, allocations: 157.5 kB / 1.033 GB, free: 12 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.2886, allocations: 55.41 kB / 1.033 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.2887, allocations: 188.2 kB / 1.033 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/0.2888, allocations: 33.7 kB / 1.033 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.36e-05/0.2889, allocations: 124.3 kB / 1.033 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.2889, allocations: 35.55 kB / 1.033 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.152e-05/0.289, allocations: 49.69 kB / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.2891, allocations: 330.8 kB / 1.033 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.797e-05/0.2892, allocations: 31.98 kB / 1.033 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002072/0.2894, allocations: 128.5 kB / 1.034 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.2895, allocations: 108.7 kB / 1.034 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.2895, allocations: 3.984 kB / 1.034 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000215/0.2898, allocations: 145.4 kB / 1.034 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.2898, allocations: 4 kB / 1.034 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.2898, allocations: 16.14 kB / 1.034 GB, free: 10.67 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.2898, allocations: 3.938 kB / 1.034 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.08e-05/0.2899, allocations: 23.92 kB / 1.034 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.2899, allocations: 4.219 kB / 1.034 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001647/0.2901, allocations: 23.83 kB / 1.034 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.2901, allocations: 11.94 kB / 1.034 GB, free: 10.6 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.0001184/0.2902, allocations: 137.8 kB / 1.034 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.441e-05/0.2903, allocations: 15.81 kB / 1.034 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002047/0.2905, allocations: 131.1 kB / 1.034 GB, free: 10.31 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.2905, allocations: 4 kB / 1.034 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.2905, allocations: 0 / 1.034 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.2905, allocations: 0 / 1.034 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004933/0.291, allocations: 454.2 kB / 1.035 GB, free: 9.805 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.291, allocations: 0 / 1.035 GB, free: 9.805 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.396e-05/0.2911, allocations: 4 kB / 1.035 GB, free: 9.801 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.2911, allocations: 4 kB / 1.035 GB, free: 9.797 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.2911, allocations: 7.984 kB / 1.035 GB, free: 9.789 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2911, allocations: 4 kB / 1.035 GB, free: 9.785 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2911, allocations: 0 / 1.035 GB, free: 9.785 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002099/0.2913, allocations: 222.7 kB / 1.035 GB, free: 9.555 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.958e-05/0.2914, allocations: 108.8 kB / 1.035 GB, free: 9.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.2914, allocations: 3.984 kB / 1.035 GB, free: 9.426 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.725e-05/0.2915, allocations: 8 kB / 1.035 GB, free: 9.418 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.799e-05/0.2916, allocations: 19.97 kB / 1.035 GB, free: 9.398 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.2916, allocations: 8 kB / 1.035 GB, free: 9.391 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001073/0.2917, allocations: 140.3 kB / 1.035 GB, free: 9.254 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2917, allocations: 0 / 1.035 GB, free: 9.254 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002843/0.292, allocations: 40 kB / 1.035 GB, free: 9.215 MB / 0.8106 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.0003225/0.2924, allocations: 160.8 kB / 1.035 GB, free: 9.066 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001952/0.2926, allocations: 95.84 kB / 1.035 GB, free: 8.973 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.2926, allocations: 3.938 kB / 1.035 GB, free: 8.969 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.595e-05/0.2927, allocations: 47.36 kB / 1.035 GB, free: 8.926 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.293, allocations: 52.52 kB / 1.035 GB, free: 8.879 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000534/0.2936, allocations: 298.8 kB / 1.036 GB, free: 8.562 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.2938, allocations: 0.7202 MB / 1.036 GB, free: 7.816 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.777e-05/0.2939, allocations: 25.52 kB / 1.036 GB, free: 7.789 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.58e-05/0.2939, allocations: 23.42 kB / 1.037 GB, free: 7.77 MB / 0.8106 GB Notification: Performance of SimCode: time 2.91e-07/0.2939, allocations: 0 / 1.037 GB, free: 7.77 MB / 0.8106 GB Notification: Performance of Templates: time 0.006426/0.3004, allocations: 3.291 MB / 1.04 GB, free: 4.516 MB / 0.8106 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches