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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001517/0.001517, allocations: 116.2 kB / 16.37 MB, free: 6.004 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.001675/0.001675, allocations: 192.8 kB / 17.31 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.208/2.208, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 61.25 kB / 0.814 GB, free: 32.73 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2799, allocations: 140.4 MB / 0.9511 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.004015/0.284, allocations: 1.785 MB / 0.9529 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001146/0.2852, allocations: 0.5966 MB / 0.9534 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.295e-05/0.2852, allocations: 4 kB / 0.9534 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002133/0.2855, allocations: 31.73 kB / 0.9535 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003424/0.2858, allocations: 115.4 kB / 0.9536 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003898/0.2862, allocations: 143.7 kB / 0.9537 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002777/0.2865, allocations: 231.4 kB / 0.9539 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.2867, allocations: 37.53 kB / 0.954 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.2868, allocations: 107.7 kB / 0.9541 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004705/0.2915, allocations: 0.7993 MB / 0.9549 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.294e-05/0.2916, allocations: 16 kB / 0.9549 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.322e-05/0.2917, allocations: 36 kB / 0.9549 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.612e-05/0.2918, allocations: 51.75 kB / 0.955 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001151/0.2919, allocations: 79.58 kB / 0.955 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000324/0.2922, allocations: 207.4 kB / 0.9552 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.2922, allocations: 4 kB / 0.9552 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.724e-06/0.2922, allocations: 0 / 0.9552 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.2922, allocations: 0 / 0.9552 GB, free: 4.027 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.0008659/0.2931, allocations: 0.5458 MB / 0.9558 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.2932, allocations: 12.03 kB / 0.9558 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001304/0.2933, allocations: 20.69 kB / 0.9558 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003222/0.2936, allocations: 240.6 kB / 0.956 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.2937, allocations: 12 kB / 0.956 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.215e-05/0.2937, allocations: 12 kB / 0.9561 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.2939, allocations: 99.66 kB / 0.9562 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.2939, allocations: 3.984 kB / 0.9562 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.2939, allocations: 7.984 kB / 0.9562 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.2939, allocations: 3.938 kB / 0.9562 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.2941, allocations: 55.97 kB / 0.9562 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000821/0.2949, allocations: 472.2 kB / 0.9567 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.295, allocations: 74.56 kB / 0.9567 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.53e-05/0.2951, allocations: 32.84 kB / 0.9568 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.2951, allocations: 0 / 0.9568 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001881/0.2953, allocations: 103.3 kB / 0.9569 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.2953, allocations: 0 / 0.9569 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14): time 0.000336/0.2957, allocations: 149.7 kB / 0.957 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.2958, allocations: 55.41 kB / 0.9571 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002083/0.296, allocations: 190.3 kB / 0.9572 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.393e-05/0.296, allocations: 33.7 kB / 0.9573 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.2961, allocations: 128.4 kB / 0.9574 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.2962, allocations: 27.56 kB / 0.9574 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.2963, allocations: 61.66 kB / 0.9575 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.2964, allocations: 326.8 kB / 0.9578 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.443e-05/0.2965, allocations: 31.98 kB / 0.9578 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002444/0.2967, allocations: 130.5 kB / 0.958 GB, free: 0.9844 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.2969, allocations: 101.1 kB / 0.9581 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.2969, allocations: 0 / 0.9581 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002602/0.2972, allocations: 153.3 kB / 0.9582 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.2972, allocations: 8 kB / 0.9582 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.2972, allocations: 0 / 0.9582 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.2972, allocations: 7.938 kB / 0.9582 GB, free: 0.6953 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.712e-05/0.2973, allocations: 23.92 kB / 0.9582 GB, free: 0.6719 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.2973, allocations: 0 / 0.9582 GB, free: 0.6719 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/0.2975, allocations: 19.92 kB / 0.9583 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.2975, allocations: 8 kB / 0.9583 GB, free: 0.6445 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.0001236/0.2977, allocations: 137.9 kB / 0.9584 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.973e-05/0.2977, allocations: 19.72 kB / 0.9584 GB, free: 492 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002186/0.2979, allocations: 127.1 kB / 0.9585 GB, free: 364 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.2979, allocations: 0 / 0.9585 GB, free: 364 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.298, allocations: 3.938 kB / 0.9585 GB, free: 360 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.298, allocations: 7.984 kB / 0.9585 GB, free: 352 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005449/0.2985, allocations: 454 kB / 0.959 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2985, allocations: 0 / 0.959 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.043e-05/0.2986, allocations: 19.92 kB / 0.959 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.2986, allocations: 0 / 0.959 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.2986, allocations: 4 kB / 0.959 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.2986, allocations: 4 kB / 0.959 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2986, allocations: 3.938 kB / 0.959 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002083/0.2988, allocations: 211.3 kB / 0.9592 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.956e-05/0.2989, allocations: 104.8 kB / 0.9593 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.2989, allocations: 0 / 0.9593 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.299, allocations: 15.98 kB / 0.9593 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.819e-05/0.2991, allocations: 15.98 kB / 0.9593 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.088e-05/0.2992, allocations: 4 kB / 0.9593 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001126/0.2993, allocations: 137.6 kB / 0.9595 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2993, allocations: 4 kB / 0.9595 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003027/0.2996, allocations: 47.98 kB / 0.9595 GB, free: 15.25 MB / 0.7481 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.0003492/0.2999, allocations: 159.8 kB / 0.9597 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002246/0.3002, allocations: 104 kB / 0.9598 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3002, allocations: 3.938 kB / 0.9598 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 9.142e-05/0.3003, allocations: 47.91 kB / 0.9598 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003934/0.3007, allocations: 43.59 kB / 0.9599 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005867/0.3013, allocations: 298.8 kB / 0.9602 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.3016, allocations: 0.7243 MB / 0.9609 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 7.192e-05/0.3017, allocations: 21.53 kB / 0.9609 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.343e-05/0.3018, allocations: 19.44 kB / 0.9609 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of SimCode: time 2.8e-07/0.3018, allocations: 0 / 0.9609 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of Templates: time 0.007266/0.309, allocations: 3.306 MB / 0.9641 GB, free: 10.53 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 -s gbode -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