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.0009007/0.0009039, allocations: 99.34 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.376/1.376, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.782/2.782, allocations: 462.6 MB / 0.737 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005049/0.0005049, allocations: 9.609 kB / 0.9034 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3584, allocations: 159.6 MB / 1.059 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.002642/0.3611, allocations: 1.581 MB / 1.061 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00144/0.3625, allocations: 0.6357 MB / 1.061 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001455/0.3627, allocations: 0 / 1.061 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002308/0.363, allocations: 19.86 kB / 1.061 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004045/0.3634, allocations: 99.64 kB / 1.062 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004197/0.3638, allocations: 139.7 kB / 1.062 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003339/0.3641, allocations: 215.4 kB / 1.062 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001614/0.3643, allocations: 41.44 kB / 1.062 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001755/0.3645, allocations: 87.69 kB / 1.062 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03563/0.4001, allocations: 2.428 MB / 1.064 GB, free: 284 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001156/0.4003, allocations: 8 kB / 1.064 GB, free: 276 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001535/0.4004, allocations: 24 kB / 1.064 GB, free: 252 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.356e-05/0.4005, allocations: 35.84 kB / 1.064 GB, free: 216 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001537/0.4007, allocations: 113.2 kB / 1.065 GB, free: 96 kB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002748/0.401, allocations: 127.7 kB / 1.065 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.401, allocations: 0 / 1.065 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.244e-06/0.401, allocations: 0 / 1.065 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.401, allocations: 0 / 1.065 GB, free: 15.97 MB / 0.8262 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.0009431/0.402, allocations: 0.5025 MB / 1.065 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.402, allocations: 11.97 kB / 1.065 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.654e-05/0.4021, allocations: 24.66 kB / 1.065 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003289/0.4025, allocations: 236.5 kB / 1.065 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.4025, allocations: 15.94 kB / 1.065 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.162e-05/0.4025, allocations: 19.98 kB / 1.065 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000219/0.4028, allocations: 94.91 kB / 1.066 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.4028, allocations: 0 / 1.066 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.4028, allocations: 4 kB / 1.066 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.4028, allocations: 11.94 kB / 1.066 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.4029, allocations: 55.91 kB / 1.066 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009948/0.4039, allocations: 480.3 kB / 1.066 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.4041, allocations: 78.55 kB / 1.066 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.762e-05/0.4042, allocations: 36.83 kB / 1.066 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.949e-05/0.4042, allocations: 3.984 kB / 1.066 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001891/0.4044, allocations: 95.38 kB / 1.066 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=14): time 1.883e-06/0.4044, allocations: 0 / 1.066 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14): time 0.0003882/0.4048, allocations: 152.2 kB / 1.066 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/0.4049, allocations: 55.41 kB / 1.067 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002669/0.4052, allocations: 194.9 kB / 1.067 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.034e-05/0.4052, allocations: 29.7 kB / 1.067 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.4053, allocations: 124.4 kB / 1.067 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.643e-05/0.4054, allocations: 31.55 kB / 1.067 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.241e-05/0.4054, allocations: 33.7 kB / 1.067 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.4056, allocations: 326.8 kB / 1.067 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.51e-05/0.4056, allocations: 27.98 kB / 1.067 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000234/0.4059, allocations: 129.8 kB / 1.067 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.406, allocations: 105.1 kB / 1.067 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.4061, allocations: 224 / 1.067 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002608/0.4063, allocations: 152.4 kB / 1.068 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.4064, allocations: 7.938 kB / 1.068 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.4064, allocations: 0 / 1.068 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.4064, allocations: 7.938 kB / 1.068 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.4065, allocations: 19.92 kB / 1.068 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/0.4065, allocations: 4 kB / 1.068 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002062/0.4067, allocations: 23.89 kB / 1.068 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.4067, allocations: 4 kB / 1.068 GB, free: 12.64 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 (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.0001599/0.4069, allocations: 141.8 kB / 1.068 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.191e-05/0.407, allocations: 19.8 kB / 1.068 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002462/0.4072, allocations: 131.1 kB / 1.068 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.4072, allocations: 0 / 1.068 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.4072, allocations: 0 / 1.068 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.4072, allocations: 0 / 1.068 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000635/0.4079, allocations: 470.2 kB / 1.068 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.4079, allocations: 0 / 1.068 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.232e-05/0.4079, allocations: 11.92 kB / 1.068 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.408, allocations: 4 kB / 1.068 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.408, allocations: 4 kB / 1.068 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.408, allocations: 0 / 1.068 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.408, allocations: 0 / 1.068 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002397/0.4082, allocations: 223.2 kB / 1.069 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.296e-05/0.4083, allocations: 104.8 kB / 1.069 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.4084, allocations: 0 / 1.069 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.4085, allocations: 15.98 kB / 1.069 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.856e-05/0.4085, allocations: 7.984 kB / 1.069 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.747e-05/0.4086, allocations: 15.98 kB / 1.069 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001245/0.4087, allocations: 136.9 kB / 1.069 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4087, allocations: 0 / 1.069 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003387/0.4091, allocations: 51.89 kB / 1.069 GB, free: 11.23 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.0003957/0.4095, allocations: 165.8 kB / 1.069 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002325/0.4097, allocations: 91.84 kB / 1.069 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4097, allocations: 0 / 1.069 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.044e-05/0.4098, allocations: 47.92 kB / 1.069 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004098/0.4102, allocations: 45.73 kB / 1.069 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007106/0.4109, allocations: 377.3 kB / 1.07 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.4112, allocations: 0.7205 MB / 1.07 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.788e-05/0.4113, allocations: 23.42 kB / 1.07 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of SimCode: time 6.82e-07/0.4113, allocations: 0 / 1.07 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of Templates: time 0.006049/0.4174, allocations: 2.991 MB / 1.073 GB, free: 6.754 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/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