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.001651/0.001651, allocations: 108.4 kB / 16.27 MB, free: 5.984 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.001992/0.001992, allocations: 187.8 kB / 17.2 MB, free: 5.609 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.371/1.371, allocations: 222.9 MB / 240.9 MB, free: 15.25 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.154/2.154, allocations: 390.2 MB / 0.6653 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 65.78 kB / 0.8132 GB, free: 33.11 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3046, allocations: 140.4 MB / 0.9503 GB, free: 8.875 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003395/0.308, allocations: 1.77 MB / 0.952 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.3093, allocations: 0.6044 MB / 0.9526 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.3094, allocations: 4 kB / 0.9526 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001934/0.3096, allocations: 27.73 kB / 0.9526 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004303/0.3101, allocations: 115.4 kB / 0.9527 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003932/0.3105, allocations: 151.6 kB / 0.9529 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000301/0.3108, allocations: 223.5 kB / 0.9531 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.3109, allocations: 45.52 kB / 0.9531 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001745/0.3111, allocations: 107.6 kB / 0.9532 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004753/0.3159, allocations: 0.792 MB / 0.954 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.145e-05/0.316, allocations: 20 kB / 0.954 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.3161, allocations: 32 kB / 0.954 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.966e-05/0.3162, allocations: 39.83 kB / 0.9541 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001642/0.3164, allocations: 99.44 kB / 0.9542 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004054/0.3168, allocations: 195.4 kB / 0.9544 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3168, allocations: 8 kB / 0.9544 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3168, allocations: 0 / 0.9544 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.225e-05/0.3169, allocations: 3.984 kB / 0.9544 GB, free: 4.82 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.0008484/0.3177, allocations: 0.5334 MB / 0.9549 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.3178, allocations: 16.02 kB / 0.9549 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.893e-05/0.3179, allocations: 16.75 kB / 0.9549 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003138/0.3182, allocations: 240.6 kB / 0.9552 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.3182, allocations: 16 kB / 0.9552 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.713e-05/0.3183, allocations: 12 kB / 0.9552 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001983/0.3185, allocations: 97.64 kB / 0.9553 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.3185, allocations: 0 / 0.9553 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.3185, allocations: 4 kB / 0.9553 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.978e-06/0.3185, allocations: 3.938 kB / 0.9553 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.3187, allocations: 57.59 kB / 0.9553 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008944/0.3196, allocations: 472.3 kB / 0.9558 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.3197, allocations: 82.42 kB / 0.9559 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.528e-05/0.3198, allocations: 32.84 kB / 0.9559 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.3198, allocations: 4 kB / 0.9559 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000206/0.32, allocations: 95.38 kB / 0.956 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=14): time 2.054e-06/0.32, allocations: 0 / 0.956 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14): time 0.0003764/0.3204, allocations: 161.2 kB / 0.9561 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/0.3205, allocations: 51.41 kB / 0.9562 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001922/0.3207, allocations: 194.3 kB / 0.9564 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.387e-05/0.3207, allocations: 29.7 kB / 0.9564 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.682e-05/0.3208, allocations: 124.4 kB / 0.9565 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.146e-05/0.3208, allocations: 39.53 kB / 0.9566 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.722e-05/0.3209, allocations: 53.69 kB / 0.9566 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.3211, allocations: 330.8 kB / 0.9569 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.225e-05/0.3211, allocations: 27.98 kB / 0.957 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002467/0.3214, allocations: 126.3 kB / 0.9571 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.3216, allocations: 101 kB / 0.9572 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.3216, allocations: 8 kB / 0.9572 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002563/0.3218, allocations: 149.2 kB / 0.9573 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.3219, allocations: 8 kB / 0.9573 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.3219, allocations: 0 / 0.9573 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.3219, allocations: 7.938 kB / 0.9573 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.87e-05/0.322, allocations: 19.92 kB / 0.9574 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.322, allocations: 7.938 kB / 0.9574 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001921/0.3222, allocations: 16.09 kB / 0.9574 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.3222, allocations: 11.98 kB / 0.9574 GB, free: 1.438 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.0001314/0.3224, allocations: 135.8 kB / 0.9575 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.18e-05/0.3224, allocations: 15.72 kB / 0.9575 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000231/0.3227, allocations: 135.3 kB / 0.9577 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.3227, allocations: 0 / 0.9577 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3227, allocations: 3.984 kB / 0.9577 GB, free: 1.145 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.3227, allocations: 3.984 kB / 0.9577 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005682/0.3233, allocations: 470 kB / 0.9581 GB, free: 0.6289 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3233, allocations: 0 / 0.9581 GB, free: 0.6289 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.808e-05/0.3233, allocations: 4 kB / 0.9581 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.3233, allocations: 0 / 0.9581 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.3233, allocations: 11.98 kB / 0.9581 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3233, allocations: 0 / 0.9581 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3234, allocations: 0 / 0.9581 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002194/0.3236, allocations: 223.2 kB / 0.9584 GB, free: 388 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.076e-05/0.3237, allocations: 100.8 kB / 0.9584 GB, free: 268 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.904e-05/0.3237, allocations: 7.984 kB / 0.9585 GB, free: 260 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.3238, allocations: 4 kB / 0.9585 GB, free: 256 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.291e-05/0.3239, allocations: 15.97 kB / 0.9585 GB, free: 240 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-05/0.3239, allocations: 8 kB / 0.9585 GB, free: 232 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001195/0.324, allocations: 141.6 kB / 0.9586 GB, free: 92 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.324, allocations: 0 / 0.9586 GB, free: 92 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003358/0.3244, allocations: 36 kB / 0.9587 GB, free: 56 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.000394/0.3248, allocations: 170.9 kB / 0.9588 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000249/0.325, allocations: 99.84 kB / 0.9589 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3251, allocations: 0 / 0.9589 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 8.514e-05/0.3251, allocations: 43.92 kB / 0.959 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/0.3256, allocations: 56.52 kB / 0.959 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006887/0.3263, allocations: 332.8 kB / 0.9593 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.3266, allocations: 0.7163 MB / 0.96 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.428e-05/0.3267, allocations: 27.38 kB / 0.96 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of SimCode: time 2.61e-07/0.3267, allocations: 4 kB / 0.9601 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of Templates: time 0.005655/0.3323, allocations: 3.012 MB / 0.963 GB, free: 11.57 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