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.008103/0.008103, allocations: 100.2 kB / 15.87 MB, free: 6.297 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.002042/0.002042, allocations: 205.1 kB / 16.8 MB, free: 6.223 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.394/1.394, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.724/2.724, allocations: 461.8 MB / 0.7348 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001607/0.001607, allocations: 67.05 kB / 0.899 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3502, allocations: 157.4 MB / 1.053 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.004044/0.3543, allocations: 1.944 MB / 1.055 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001662/0.356, allocations: 0.6358 MB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001657/0.3562, allocations: 3.938 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002406/0.3565, allocations: 23.84 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005027/0.357, allocations: 91.66 kB / 1.055 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005378/0.3576, allocations: 134.1 kB / 1.055 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004542/0.358, allocations: 219.4 kB / 1.056 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002102/0.3583, allocations: 41.41 kB / 1.056 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002602/0.3585, allocations: 91.72 kB / 1.056 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01388/0.3724, allocations: 0.7479 MB / 1.057 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001207/0.3726, allocations: 8 kB / 1.057 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001988/0.3728, allocations: 28 kB / 1.057 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.3729, allocations: 39.84 kB / 1.057 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001982/0.3731, allocations: 83.55 kB / 1.057 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003468/0.3735, allocations: 139.7 kB / 1.057 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3735, allocations: 0 / 1.057 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.446e-06/0.3735, allocations: 0 / 1.057 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.647e-05/0.3735, allocations: 3.938 kB / 1.057 GB, free: 4.223 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.00107/0.3746, allocations: 0.5374 MB / 1.057 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.613e-05/0.3747, allocations: 19.91 kB / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/0.3748, allocations: 20.75 kB / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004427/0.3753, allocations: 240.6 kB / 1.058 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.3753, allocations: 12 kB / 1.058 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.738e-05/0.3754, allocations: 8 kB / 1.058 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002793/0.3757, allocations: 99.16 kB / 1.058 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.3757, allocations: 0 / 1.058 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.053e-05/0.3757, allocations: 0 / 1.058 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.3757, allocations: 7.938 kB / 1.058 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.3759, allocations: 51.97 kB / 1.058 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001182/0.3771, allocations: 484.2 kB / 1.058 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002041/0.3773, allocations: 74.56 kB / 1.058 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.987e-05/0.3774, allocations: 32.78 kB / 1.058 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.501e-05/0.3775, allocations: 4.219 kB / 1.058 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002272/0.3777, allocations: 99.28 kB / 1.058 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=14): time 3.116e-06/0.3777, allocations: 0 / 1.058 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14): time 0.0004626/0.3782, allocations: 149.6 kB / 1.059 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/0.3782, allocations: 55.41 kB / 1.059 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002622/0.3785, allocations: 194.9 kB / 1.059 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.265e-05/0.3786, allocations: 33.7 kB / 1.059 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.3788, allocations: 128.3 kB / 1.059 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.764e-05/0.3788, allocations: 35.55 kB / 1.059 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/0.379, allocations: 57.67 kB / 1.059 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.3791, allocations: 326.8 kB / 1.059 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.028e-05/0.3792, allocations: 27.98 kB / 1.059 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003473/0.3796, allocations: 128.5 kB / 1.06 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001997/0.3798, allocations: 101.1 kB / 1.06 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3798, allocations: 0 / 1.06 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003791/0.3802, allocations: 152.9 kB / 1.06 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.3802, allocations: 7.938 kB / 1.06 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.3803, allocations: 0 / 1.06 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.3803, allocations: 7.938 kB / 1.06 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.3804, allocations: 15.98 kB / 1.06 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.3804, allocations: 12.14 kB / 1.06 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002478/0.3807, allocations: 23.83 kB / 1.06 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.3807, allocations: 8 kB / 1.06 GB, free: 0.8359 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.0001796/0.3809, allocations: 133.8 kB / 1.06 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.636e-05/0.381, allocations: 19.8 kB / 1.06 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002986/0.3813, allocations: 127.1 kB / 1.06 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.3813, allocations: 3.938 kB / 1.06 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.3813, allocations: 12 kB / 1.06 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.3813, allocations: 0 / 1.06 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007677/0.3821, allocations: 462.2 kB / 1.061 GB, free: 24 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.3821, allocations: 0 / 1.061 GB, free: 24 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.144e-05/0.3822, allocations: 7.984 kB / 1.061 GB, free: 16 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.3822, allocations: 0 / 1.061 GB, free: 16 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.3822, allocations: 4 kB / 1.061 GB, free: 12 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.3822, allocations: 0 / 1.061 GB, free: 12 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.3822, allocations: 4 kB / 1.061 GB, free: 8 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003209/0.3826, allocations: 219.3 kB / 1.061 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.3827, allocations: 96.84 kB / 1.061 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.615e-05/0.3827, allocations: 8 kB / 1.061 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.3829, allocations: 7.984 kB / 1.061 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.331e-05/0.383, allocations: 19.92 kB / 1.061 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-05/0.383, allocations: 4 kB / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001825/0.3832, allocations: 144.9 kB / 1.061 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3832, allocations: 0 / 1.061 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004764/0.3837, allocations: 47.98 kB / 1.061 GB, free: 15.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 (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.0005069/0.3842, allocations: 153.4 kB / 1.061 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003031/0.3845, allocations: 95.88 kB / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.3846, allocations: 4 kB / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.3847, allocations: 43.92 kB / 1.061 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005725/0.3853, allocations: 52.16 kB / 1.061 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009557/0.3862, allocations: 374.3 kB / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004429/0.3867, allocations: 0.7166 MB / 1.063 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.223e-05/0.3868, allocations: 23.42 kB / 1.063 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of SimCode: time 2.284e-06/0.3868, allocations: 4 kB / 1.063 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of Templates: time 0.006728/0.3935, allocations: 3.013 MB / 1.065 GB, free: 10.95 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