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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001052/0.001053, allocations: 117 kB / 16.37 MB, free: 6.016 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.001009/0.00101, allocations: 192.6 kB / 17.3 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.331/1.331, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.433/2.433, allocations: 437.1 MB / 0.7112 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 63.88 kB / 0.8707 GB, free: 1.547 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.274, allocations: 151.6 MB / 1.019 GB, free: 9.953 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003024/0.277, allocations: 1.779 MB / 1.021 GB, free: 8.152 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001047/0.2781, allocations: 0.5966 MB / 1.021 GB, free: 7.555 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.958e-05/0.2782, allocations: 3.938 kB / 1.021 GB, free: 7.551 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001881/0.2784, allocations: 31.73 kB / 1.021 GB, free: 7.52 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003268/0.2787, allocations: 111.4 kB / 1.021 GB, free: 7.41 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003291/0.2791, allocations: 158.9 kB / 1.021 GB, free: 7.258 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002553/0.2793, allocations: 227.4 kB / 1.022 GB, free: 7.035 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.2795, allocations: 41.45 kB / 1.022 GB, free: 6.996 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.2796, allocations: 103.7 kB / 1.022 GB, free: 6.895 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004425/0.284, allocations: 0.7976 MB / 1.023 GB, free: 6.277 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.016e-05/0.2841, allocations: 16 kB / 1.023 GB, free: 6.262 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.489e-05/0.2842, allocations: 40 kB / 1.023 GB, free: 6.223 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.154e-05/0.2842, allocations: 39.83 kB / 1.023 GB, free: 6.184 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.2844, allocations: 83.58 kB / 1.023 GB, free: 6.102 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002984/0.2847, allocations: 211.2 kB / 1.023 GB, free: 5.895 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2847, allocations: 8 kB / 1.023 GB, free: 5.887 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2847, allocations: 0 / 1.023 GB, free: 5.887 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.2847, allocations: 0 / 1.023 GB, free: 5.887 MB / 0.795 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.0007204/0.2854, allocations: 0.5334 MB / 1.023 GB, free: 5.293 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.2855, allocations: 12.92 kB / 1.023 GB, free: 5.281 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.665e-05/0.2855, allocations: 16.75 kB / 1.023 GB, free: 5.266 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002751/0.2858, allocations: 244.6 kB / 1.024 GB, free: 4.984 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.2859, allocations: 16 kB / 1.024 GB, free: 4.969 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.295e-05/0.2859, allocations: 15.98 kB / 1.024 GB, free: 4.953 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.2861, allocations: 90.97 kB / 1.024 GB, free: 4.859 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.2861, allocations: 4 kB / 1.024 GB, free: 4.855 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.2861, allocations: 0 / 1.024 GB, free: 4.855 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.2861, allocations: 3.938 kB / 1.024 GB, free: 4.852 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.2862, allocations: 59.91 kB / 1.024 GB, free: 4.793 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007656/0.287, allocations: 472.3 kB / 1.024 GB, free: 4.281 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.2872, allocations: 82.42 kB / 1.024 GB, free: 4.191 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.971e-05/0.2872, allocations: 32.84 kB / 1.024 GB, free: 4.156 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.2872, allocations: 0 / 1.024 GB, free: 4.156 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001681/0.2874, allocations: 96.62 kB / 1.025 GB, free: 4.051 MB / 0.795 GB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.2874, allocations: 0 / 1.025 GB, free: 4.051 MB / 0.795 GB Notification: Performance of matching and sorting (n=14): time 0.0002931/0.2877, allocations: 155 kB / 1.025 GB, free: 3.895 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.2878, allocations: 55.41 kB / 1.025 GB, free: 3.828 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.2879, allocations: 199.9 kB / 1.025 GB, free: 3.625 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.204e-05/0.288, allocations: 29.7 kB / 1.025 GB, free: 3.59 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.415e-05/0.2881, allocations: 128.3 kB / 1.025 GB, free: 3.461 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.2881, allocations: 39.53 kB / 1.025 GB, free: 3.422 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.128e-05/0.2882, allocations: 57.67 kB / 1.025 GB, free: 3.359 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.576e-05/0.2883, allocations: 326.8 kB / 1.025 GB, free: 3.031 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.052e-05/0.2884, allocations: 31.98 kB / 1.025 GB, free: 3 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002133/0.2886, allocations: 126.2 kB / 1.026 GB, free: 2.848 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.2887, allocations: 107 kB / 1.026 GB, free: 2.727 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2887, allocations: 0 / 1.026 GB, free: 2.727 MB / 0.795 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002249/0.289, allocations: 145.5 kB / 1.026 GB, free: 2.578 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.289, allocations: 14.03 kB / 1.026 GB, free: 2.566 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.289, allocations: 0 / 1.026 GB, free: 2.566 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.289, allocations: 7.938 kB / 1.026 GB, free: 2.559 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.431e-05/0.2891, allocations: 23.92 kB / 1.026 GB, free: 2.535 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.2891, allocations: 0 / 1.026 GB, free: 2.535 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001746/0.2893, allocations: 27.83 kB / 1.026 GB, free: 2.508 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.2893, allocations: 4 kB / 1.026 GB, free: 2.504 MB / 0.795 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.000132/0.2895, allocations: 129.8 kB / 1.026 GB, free: 2.367 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.822e-05/0.2895, allocations: 20.03 kB / 1.026 GB, free: 2.348 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000222/0.2897, allocations: 135 kB / 1.026 GB, free: 2.215 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.2897, allocations: 3.938 kB / 1.026 GB, free: 2.211 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.2898, allocations: 0 / 1.026 GB, free: 2.211 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.2898, allocations: 0 / 1.026 GB, free: 2.211 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005082/0.2903, allocations: 462 kB / 1.027 GB, free: 1.707 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2903, allocations: 0 / 1.027 GB, free: 1.707 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.746e-05/0.2903, allocations: 8 kB / 1.027 GB, free: 1.699 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.2903, allocations: 4 kB / 1.027 GB, free: 1.695 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.2904, allocations: 3.984 kB / 1.027 GB, free: 1.691 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2904, allocations: 0 / 1.027 GB, free: 1.691 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2904, allocations: 4 kB / 1.027 GB, free: 1.688 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002066/0.2906, allocations: 223.2 kB / 1.027 GB, free: 1.453 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 8.057e-05/0.2907, allocations: 104.8 kB / 1.027 GB, free: 1.332 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.2907, allocations: 3.984 kB / 1.027 GB, free: 1.328 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.913e-05/0.2908, allocations: 4 kB / 1.027 GB, free: 1.324 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.005e-05/0.2909, allocations: 23.97 kB / 1.027 GB, free: 1.301 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.126e-05/0.2909, allocations: 4 kB / 1.027 GB, free: 1.297 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001111/0.291, allocations: 139.2 kB / 1.027 GB, free: 1.16 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.51e-07/0.291, allocations: 0 / 1.027 GB, free: 1.16 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002969/0.2913, allocations: 40 kB / 1.027 GB, free: 1.121 MB / 0.795 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.0003261/0.2917, allocations: 158.2 kB / 1.027 GB, free: 0.9766 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002084/0.2919, allocations: 98.66 kB / 1.027 GB, free: 0.8828 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2919, allocations: 4.312 kB / 1.027 GB, free: 0.8789 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 7.93e-05/0.292, allocations: 47.92 kB / 1.027 GB, free: 0.832 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003901/0.2924, allocations: 50.22 kB / 1.028 GB, free: 0.7852 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005736/0.293, allocations: 294.8 kB / 1.028 GB, free: 480 kB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.2932, allocations: 0.7241 MB / 1.029 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.772e-05/0.2933, allocations: 29.41 kB / 1.029 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.083e-05/0.2934, allocations: 27.42 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of SimCode: time 3.1e-07/0.2934, allocations: 0 / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of Templates: time 0.006589/0.3, allocations: 3.298 MB / 1.032 GB, free: 12.39 MB / 0.8106 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=480 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches