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.001223/0.001223, allocations: 108 kB / 16.37 MB, free: 6.477 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.001189/0.001189, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.196/1.196, allocations: 222.9 MB / 241 MB, free: 15.17 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 1.984/1.984, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 60.78 kB / 0.814 GB, free: 32.64 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2279, allocations: 140.4 MB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003184/0.2311, allocations: 1.781 MB / 0.9529 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009221/0.2321, allocations: 0.6044 MB / 0.9534 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.585e-05/0.2321, allocations: 4 kB / 0.9534 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001458/0.2323, allocations: 31.73 kB / 0.9535 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000295/0.2326, allocations: 123.4 kB / 0.9536 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002718/0.2329, allocations: 139.7 kB / 0.9537 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000224/0.2331, allocations: 235.4 kB / 0.954 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.2332, allocations: 33.55 kB / 0.954 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.2333, allocations: 103.7 kB / 0.9541 GB, free: 5 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004055/0.2374, allocations: 0.8004 MB / 0.9549 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/0.2374, allocations: 16 kB / 0.9549 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.543e-05/0.2375, allocations: 36 kB / 0.9549 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.757e-05/0.2376, allocations: 39.78 kB / 0.955 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.685e-05/0.2377, allocations: 95.55 kB / 0.955 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002561/0.2379, allocations: 211.3 kB / 0.9552 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.2379, allocations: 0 / 0.9552 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.613e-06/0.238, allocations: 0 / 0.9552 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.238, allocations: 0 / 0.9552 GB, free: 3.992 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.000648/0.2386, allocations: 0.545 MB / 0.9558 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.9e-05/0.2387, allocations: 8.031 kB / 0.9558 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.988e-05/0.2387, allocations: 24.73 kB / 0.9558 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00024/0.239, allocations: 240.6 kB / 0.956 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.239, allocations: 12 kB / 0.9561 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.186e-05/0.239, allocations: 16 kB / 0.9561 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.2392, allocations: 94.97 kB / 0.9562 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.2392, allocations: 0 / 0.9562 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.2392, allocations: 4 kB / 0.9562 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.2392, allocations: 7.938 kB / 0.9562 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.853e-05/0.2393, allocations: 51.97 kB / 0.9562 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006988/0.24, allocations: 472.2 kB / 0.9567 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.2402, allocations: 74.56 kB / 0.9567 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.885e-05/0.2402, allocations: 36.78 kB / 0.9568 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.2403, allocations: 0 / 0.9568 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001426/0.2404, allocations: 103.3 kB / 0.9569 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=14): time 1.322e-06/0.2404, allocations: 0 / 0.9569 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14): time 0.0002772/0.2407, allocations: 153.3 kB / 0.957 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.2407, allocations: 51.62 kB / 0.9571 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.2409, allocations: 190.4 kB / 0.9572 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.047e-05/0.241, allocations: 41.58 kB / 0.9573 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.745e-05/0.241, allocations: 124.4 kB / 0.9574 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.372e-05/0.2411, allocations: 27.56 kB / 0.9574 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.046e-05/0.2411, allocations: 65.61 kB / 0.9575 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.2413, allocations: 326.8 kB / 0.9578 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.424e-05/0.2414, allocations: 27.98 kB / 0.9578 GB, free: 1.105 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001925/0.2416, allocations: 126.2 kB / 0.958 GB, free: 0.9531 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.2417, allocations: 101.1 kB / 0.9581 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2417, allocations: 4 kB / 0.9581 GB, free: 0.832 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002145/0.2419, allocations: 153.3 kB / 0.9582 GB, free: 0.6758 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.242, allocations: 4 kB / 0.9582 GB, free: 0.6719 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.242, allocations: 0 / 0.9582 GB, free: 0.6719 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.242, allocations: 11.88 kB / 0.9582 GB, free: 0.6602 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.654e-05/0.2421, allocations: 19.98 kB / 0.9582 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.2421, allocations: 4 kB / 0.9582 GB, free: 0.6367 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.2422, allocations: 15.92 kB / 0.9583 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.2423, allocations: 12 kB / 0.9583 GB, free: 0.6094 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.0001023/0.2424, allocations: 133.9 kB / 0.9584 GB, free: 480 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.991e-05/0.2424, allocations: 23.7 kB / 0.9584 GB, free: 456 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001827/0.2426, allocations: 127.1 kB / 0.9585 GB, free: 328 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.2426, allocations: 0 / 0.9585 GB, free: 328 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.2426, allocations: 0 / 0.9585 GB, free: 328 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.2426, allocations: 4 kB / 0.9585 GB, free: 324 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004596/0.2431, allocations: 454.5 kB / 0.959 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.2431, allocations: 0 / 0.959 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.495e-05/0.2431, allocations: 15.92 kB / 0.959 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.2431, allocations: 0 / 0.959 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.2432, allocations: 8.047 kB / 0.959 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.2432, allocations: 0 / 0.959 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.234e-06/0.2432, allocations: 7.984 kB / 0.959 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001799/0.2434, allocations: 222.3 kB / 0.9592 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.796e-05/0.2434, allocations: 100.8 kB / 0.9593 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.155e-05/0.2435, allocations: 4 kB / 0.9593 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.278e-05/0.2436, allocations: 15.98 kB / 0.9593 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.245e-05/0.2436, allocations: 15.92 kB / 0.9593 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.2436, allocations: 8 kB / 0.9594 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 9.944e-05/0.2437, allocations: 137.6 kB / 0.9595 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2438, allocations: 0 / 0.9595 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002824/0.244, allocations: 44 kB / 0.9595 GB, free: 15.21 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.0002729/0.2443, allocations: 154.5 kB / 0.9597 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002032/0.2445, allocations: 104 kB / 0.9598 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2445, allocations: 4 kB / 0.9598 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 7.054e-05/0.2446, allocations: 39.92 kB / 0.9598 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/0.245, allocations: 42.31 kB / 0.9599 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005307/0.2455, allocations: 294.8 kB / 0.9601 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.2458, allocations: 0.7281 MB / 0.9608 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 6.487e-05/0.2459, allocations: 21.55 kB / 0.9609 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.964e-05/0.2459, allocations: 23.42 kB / 0.9609 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of SimCode: time 1.814e-06/0.2459, allocations: 0 / 0.9609 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of Templates: time 0.006321/0.2522, allocations: 3.318 MB / 0.9641 GB, free: 10.49 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 cvode -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