Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001823/0.001822, allocations: 105.1 kB / 15.98 MB, free: 6.355 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.002025/0.002025, allocations: 192.5 kB / 16.91 MB, free: 6.191 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.589/1.589, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.313/2.313, allocations: 390.2 MB / 0.665 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 64.45 kB / 0.8127 GB, free: 32.32 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/0.2845, allocations: 140.4 MB / 0.9498 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003529/0.2881, allocations: 1.941 MB / 0.9517 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001332/0.2894, allocations: 0.6201 MB / 0.9523 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001472/0.2896, allocations: 7.938 kB / 0.9523 GB, free: 6.629 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002312/0.2898, allocations: 23.86 kB / 0.9523 GB, free: 6.605 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004628/0.2903, allocations: 99.66 kB / 0.9524 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004025/0.2907, allocations: 139.7 kB / 0.9525 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003313/0.2911, allocations: 231.4 kB / 0.9527 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/0.2912, allocations: 37.53 kB / 0.9528 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001615/0.2914, allocations: 103.7 kB / 0.9529 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009763/0.3012, allocations: 0.8029 MB / 0.9537 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.95e-05/0.3013, allocations: 20 kB / 0.9537 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001488/0.3014, allocations: 28 kB / 0.9537 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.264e-05/0.3015, allocations: 47.83 kB / 0.9538 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001343/0.3017, allocations: 91.5 kB / 0.9538 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002758/0.302, allocations: 135.8 kB / 0.954 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.302, allocations: 0 / 0.954 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.853e-06/0.302, allocations: 8 kB / 0.954 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.302, allocations: 0 / 0.954 GB, free: 5.066 MB / 0.7325 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.000861/0.3029, allocations: 0.5411 MB / 0.9545 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.3029, allocations: 12.03 kB / 0.9545 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.257e-05/0.303, allocations: 16.75 kB / 0.9545 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003068/0.3033, allocations: 240.6 kB / 0.9548 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.3034, allocations: 11.98 kB / 0.9548 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.415e-05/0.3034, allocations: 20 kB / 0.9548 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/0.3036, allocations: 91.16 kB / 0.9549 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.3036, allocations: 0 / 0.9549 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/0.3037, allocations: 8 kB / 0.9549 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.3037, allocations: 3.938 kB / 0.9549 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.3038, allocations: 51.97 kB / 0.9549 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008642/0.3047, allocations: 472.3 kB / 0.9554 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.3048, allocations: 78.48 kB / 0.9555 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.673e-05/0.3049, allocations: 32.84 kB / 0.9555 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.3049, allocations: 3.938 kB / 0.9555 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001662/0.3051, allocations: 99.36 kB / 0.9556 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=14): time 1.723e-06/0.3051, allocations: 0 / 0.9556 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14): time 0.0003358/0.3054, allocations: 149.6 kB / 0.9557 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/0.3055, allocations: 67.31 kB / 0.9558 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.3057, allocations: 190.6 kB / 0.956 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.634e-05/0.3057, allocations: 25.7 kB / 0.956 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.661e-05/0.3058, allocations: 128.3 kB / 0.9561 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.55e-05/0.3059, allocations: 39.55 kB / 0.9562 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.009e-05/0.306, allocations: 53.67 kB / 0.9562 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.3061, allocations: 326.8 kB / 0.9565 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.522e-05/0.3062, allocations: 35.98 kB / 0.9566 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002363/0.3064, allocations: 130.6 kB / 0.9567 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.3066, allocations: 101 kB / 0.9568 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.3066, allocations: 0 / 0.9568 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002475/0.3068, allocations: 156.8 kB / 0.9569 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.3069, allocations: 8 kB / 0.9569 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.3069, allocations: 0 / 0.9569 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/0.3069, allocations: 7.938 kB / 0.957 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.307, allocations: 15.98 kB / 0.957 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.307, allocations: 4 kB / 0.957 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001897/0.3072, allocations: 19.92 kB / 0.957 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.3072, allocations: 7.938 kB / 0.957 GB, free: 1.684 MB / 0.7325 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.000136/0.3074, allocations: 139.8 kB / 0.9571 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.022e-05/0.3074, allocations: 19.72 kB / 0.9571 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002262/0.3077, allocations: 135 kB / 0.9573 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.3077, allocations: 0 / 0.9573 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.3077, allocations: 0 / 0.9573 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3077, allocations: 0 / 0.9573 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005444/0.3082, allocations: 462.2 kB / 0.9577 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.3082, allocations: 4 kB / 0.9577 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.64e-05/0.3083, allocations: 7.984 kB / 0.9577 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.3083, allocations: 0 / 0.9577 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.3083, allocations: 0 / 0.9577 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.3083, allocations: 4 kB / 0.9577 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3083, allocations: 0 / 0.9577 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002323/0.3086, allocations: 227.1 kB / 0.958 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.989e-05/0.3087, allocations: 108.8 kB / 0.9581 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.3087, allocations: 0 / 0.9581 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.867e-05/0.3088, allocations: 4 kB / 0.9581 GB, free: 0.4961 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.554e-05/0.3089, allocations: 19.97 kB / 0.9581 GB, free: 488 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-05/0.3089, allocations: 11.94 kB / 0.9581 GB, free: 476 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001249/0.309, allocations: 141.6 kB / 0.9582 GB, free: 336 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.309, allocations: 0 / 0.9582 GB, free: 336 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003047/0.3094, allocations: 36 kB / 0.9583 GB, free: 300 kB / 0.7325 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.0003484/0.3097, allocations: 172.5 kB / 0.9584 GB, free: 140 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002498/0.31, allocations: 107.7 kB / 0.9585 GB, free: 36 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.31, allocations: 0 / 0.9585 GB, free: 36 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.511e-05/0.3101, allocations: 44.03 kB / 0.9586 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003951/0.3105, allocations: 44.77 kB / 0.9586 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006621/0.3112, allocations: 372.8 kB / 0.959 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.3115, allocations: 0.7241 MB / 0.9597 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.903e-05/0.3115, allocations: 31.36 kB / 0.9597 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of SimCode: time 4.01e-07/0.3115, allocations: 0 / 0.9597 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of Templates: time 0.006036/0.3176, allocations: 3.002 MB / 0.9626 GB, free: 11.77 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.sim & ./Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Examples_Scatter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches