Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001383/0.001383, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001351/0.001351, allocations: 194.5 kB / 16.25 MB, free: 6.633 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.469/1.469, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.792/2.792, allocations: 437 MB / 0.7101 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 67.88 kB / 0.8687 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6796/0.6816, allocations: 151.6 MB / 1.017 GB, free: 2.902 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003547/0.6852, allocations: 1.937 MB / 1.019 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001169/0.6864, allocations: 0.6318 MB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.957e-05/0.6865, allocations: 4 kB / 1.019 GB, free: 320 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001821/0.6867, allocations: 19.8 kB / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0003371/0.687, allocations: 103.6 kB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003347/0.6874, allocations: 135.8 kB / 1.02 GB, free: 60 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002979/0.6877, allocations: 227.4 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.6878, allocations: 37.53 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.688, allocations: 103.7 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0126/0.7006, allocations: 0.7947 MB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.808e-05/0.7007, allocations: 23.94 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001361/0.7008, allocations: 35.98 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.259e-05/0.7009, allocations: 47.77 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001413/0.7011, allocations: 87.58 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003732/0.7015, allocations: 207.3 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.7015, allocations: 0 / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.532e-06/0.7015, allocations: 0 / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.7015, allocations: 0 / 1.021 GB, free: 14.69 MB / 0.7794 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.0009676/0.7025, allocations: 0.545 MB / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.7025, allocations: 8.031 kB / 1.022 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.202e-05/0.7026, allocations: 24.75 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003395/0.7029, allocations: 236.6 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.703, allocations: 12 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.97e-05/0.703, allocations: 15.98 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002242/0.7032, allocations: 101.5 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.7033, allocations: 3.984 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.7033, allocations: 4 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.7033, allocations: 7.938 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.7034, allocations: 51.97 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008727/0.7043, allocations: 472.2 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001568/0.7045, allocations: 78.56 kB / 1.023 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.558e-05/0.7045, allocations: 32.84 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/0.7046, allocations: 4 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001704/0.7048, allocations: 95.3 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=14): time 1.643e-06/0.7048, allocations: 0 / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14): time 0.0003308/0.7051, allocations: 153.5 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.7051, allocations: 51.41 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.7054, allocations: 199.4 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.158e-05/0.7054, allocations: 37.69 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.7055, allocations: 116.5 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.405e-05/0.7056, allocations: 31.55 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.655e-05/0.7057, allocations: 57.67 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.7058, allocations: 326.8 kB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.318e-05/0.7059, allocations: 27.98 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002536/0.7062, allocations: 134.2 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.7063, allocations: 105 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.7063, allocations: 8 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002525/0.7066, allocations: 149.3 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.7066, allocations: 6.188 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.517e-06/0.7066, allocations: 3.984 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.7067, allocations: 7.938 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.7068, allocations: 19.88 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.7069, allocations: 4.156 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.7071, allocations: 23.92 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.7071, allocations: 8 kB / 1.024 GB, free: 11.3 MB / 0.7794 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.0001519/0.7072, allocations: 134.3 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.285e-05/0.7073, allocations: 15.81 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002424/0.7075, allocations: 135 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.7075, allocations: 0 / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.7075, allocations: 0 / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.7076, allocations: 11.98 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006067/0.7082, allocations: 458.1 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.7082, allocations: 3.984 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.102e-05/0.7082, allocations: 11.94 kB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.7082, allocations: 0 / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.7083, allocations: 4 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.7083, allocations: 0 / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.7083, allocations: 0 / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002425/0.7085, allocations: 223.3 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.418e-05/0.7086, allocations: 96.91 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.86e-05/0.7087, allocations: 8 kB / 1.025 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.7088, allocations: 7.984 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.035e-05/0.7088, allocations: 11.98 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.282e-05/0.7089, allocations: 8 kB / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001309/0.709, allocations: 135.2 kB / 1.025 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/0.709, allocations: 7.938 kB / 1.025 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003243/0.7093, allocations: 51.92 kB / 1.025 GB, free: 9.91 MB / 0.7794 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.0004546/0.7098, allocations: 155.5 kB / 1.026 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002661/0.7101, allocations: 99.89 kB / 1.026 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.7101, allocations: 0 / 1.026 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.545e-05/0.7102, allocations: 45.92 kB / 1.026 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004352/0.7106, allocations: 59.03 kB / 1.026 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008093/0.7115, allocations: 346.9 kB / 1.026 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004336/0.7119, allocations: 0.7163 MB / 1.027 GB, free: 8.465 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001037/0.712, allocations: 29.45 kB / 1.027 GB, free: 8.434 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.166e-05/0.7121, allocations: 27.44 kB / 1.027 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.7121, allocations: 0 / 1.027 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of Templates: time 0.009189/0.7213, allocations: 3.221 MB / 1.03 GB, free: 5.215 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.makefile (rm -f Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.sim & ./Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Examples_Scatter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches