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.0009323/0.0009323, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.00108/0.00108, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.949/2.949, allocations: 462.6 MB / 0.736 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004002/0.0004005, allocations: 13.34 kB / 0.9021 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3789/0.3794, allocations: 159.6 MB / 1.058 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.002531/0.3819, allocations: 1.547 MB / 1.06 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001132/0.3831, allocations: 0.6047 MB / 1.06 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.478e-05/0.3832, allocations: 3.938 kB / 1.06 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002058/0.3834, allocations: 23.8 kB / 1.06 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003116/0.3837, allocations: 107.6 kB / 1.06 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003319/0.3841, allocations: 135.8 kB / 1.06 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002373/0.3843, allocations: 191.5 kB / 1.061 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.3845, allocations: 25.45 kB / 1.061 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.3846, allocations: 99.67 kB / 1.061 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003344/0.3879, allocations: 2.275 MB / 1.063 GB, free: 312 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.416e-05/0.388, allocations: 8 kB / 1.063 GB, free: 304 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.102e-05/0.3881, allocations: 23.98 kB / 1.063 GB, free: 280 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.544e-05/0.3881, allocations: 27.84 kB / 1.063 GB, free: 252 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.117e-05/0.3882, allocations: 49.64 kB / 1.063 GB, free: 196 kB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001953/0.3884, allocations: 139.7 kB / 1.063 GB, free: 56 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/0.3884, allocations: 0 / 1.063 GB, free: 56 kB / 0.8106 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3884, allocations: 3.938 kB / 1.063 GB, free: 52 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.3884, allocations: 0 / 1.063 GB, free: 52 kB / 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.0007816/0.3892, allocations: 0.4983 MB / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.3893, allocations: 8.031 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.584e-05/0.3893, allocations: 23.72 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002868/0.3896, allocations: 243.5 kB / 1.064 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.3897, allocations: 8.188 kB / 1.064 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.137e-05/0.3897, allocations: 20 kB / 1.064 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.3899, allocations: 92.09 kB / 1.064 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.3899, allocations: 0 / 1.064 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.845e-05/0.39, allocations: 7.984 kB / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.39, allocations: 4 kB / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/0.3901, allocations: 53.09 kB / 1.064 GB, free: 15 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008205/0.3909, allocations: 492.2 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.3911, allocations: 74.56 kB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.12e-05/0.3911, allocations: 36.84 kB / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.3912, allocations: 0 / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002233/0.3914, allocations: 103.2 kB / 1.065 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/0.3914, allocations: 0 / 1.065 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14): time 0.0003125/0.3917, allocations: 147.6 kB / 1.065 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.3918, allocations: 51.41 kB / 1.065 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.392, allocations: 194.9 kB / 1.065 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.319e-05/0.392, allocations: 33.7 kB / 1.065 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.056e-05/0.3921, allocations: 132.3 kB / 1.065 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.326e-05/0.3921, allocations: 31.55 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.055e-06/0.3922, allocations: 7.938 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.3923, allocations: 326.8 kB / 1.066 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.6e-05/0.3923, allocations: 27.98 kB / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/0.3926, allocations: 124.5 kB / 1.066 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.202e-05/0.3926, allocations: 39.92 kB / 1.066 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.3927, allocations: 7.953 kB / 1.066 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000217/0.3929, allocations: 150.6 kB / 1.066 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.3929, allocations: 6.031 kB / 1.066 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.3929, allocations: 4 kB / 1.066 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.3929, allocations: 0 / 1.066 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.393, allocations: 15.98 kB / 1.066 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.383e-06/0.3931, allocations: 4 kB / 1.066 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001718/0.3932, allocations: 28.05 kB / 1.066 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.3933, allocations: 8 kB / 1.066 GB, free: 12.84 MB / 0.8262 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 ($whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,sca.active,$PRE.sca.tActivateLast,sca.tActivateLast,sca.sampleTrigger,sca1.active,$PRE.sca1.tActivateLast,sca1.tActivateLast,sca1.sampleTrigger,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001246/0.3934, allocations: 137.7 kB / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.632e-05/0.3934, allocations: 23.75 kB / 1.066 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000213/0.3936, allocations: 127.1 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.3937, allocations: 0 / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.3937, allocations: 0 / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.3937, allocations: 0 / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005385/0.3942, allocations: 467.9 kB / 1.067 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3942, allocations: 0 / 1.067 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.888e-05/0.3943, allocations: 7.984 kB / 1.067 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3943, allocations: 0 / 1.067 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.3943, allocations: 4 kB / 1.067 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3943, allocations: 0 / 1.067 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.3943, allocations: 4 kB / 1.067 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002048/0.3945, allocations: 219.3 kB / 1.067 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.698e-05/0.3946, allocations: 108.8 kB / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.3946, allocations: 7.938 kB / 1.067 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.412e-05/0.3947, allocations: 7.984 kB / 1.067 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.39e-05/0.3948, allocations: 15.98 kB / 1.067 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.158e-05/0.3948, allocations: 7.984 kB / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001168/0.395, allocations: 148.9 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.395, allocations: 0 / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002928/0.3953, allocations: 39.91 kB / 1.067 GB, free: 11.44 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003887/0.3957, allocations: 180.7 kB / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002175/0.3959, allocations: 79.91 kB / 1.068 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.3959, allocations: 0 / 1.068 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.797e-05/0.396, allocations: 47.05 kB / 1.068 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.3964, allocations: 52.22 kB / 1.068 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006901/0.3971, allocations: 332.1 kB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.3974, allocations: 0.7204 MB / 1.069 GB, free: 10 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.325e-05/0.3974, allocations: 25.53 kB / 1.069 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.643e-05/0.3975, allocations: 19.44 kB / 1.069 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.3975, allocations: 0 / 1.069 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of Templates: time 0.007328/0.4048, allocations: 3.006 MB / 1.072 GB, free: 6.98 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