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.001315/0.001315, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 195.5 kB / 16.53 MB, free: 6.391 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.471/1.471, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.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.54/2.54, allocations: 390.2 MB / 0.6646 GB, free: 412 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 59.91 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8603/0.8615, allocations: 140.4 MB / 0.9496 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003367/0.865, allocations: 1.777 MB / 0.9513 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001203/0.8662, allocations: 0.5947 MB / 0.9519 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.8663, allocations: 6.281 kB / 0.9519 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002298/0.8666, allocations: 33.28 kB / 0.9519 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000375/0.867, allocations: 114.3 kB / 0.952 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003289/0.8673, allocations: 153.2 kB / 0.9522 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002942/0.8676, allocations: 226.4 kB / 0.9524 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001786/0.8678, allocations: 46.52 kB / 0.9524 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001682/0.868, allocations: 106.6 kB / 0.9525 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004771/0.8727, allocations: 0.7896 MB / 0.9533 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.106e-05/0.8728, allocations: 17.03 kB / 0.9533 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001627/0.873, allocations: 47.45 kB / 0.9534 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.678e-05/0.8731, allocations: 35.61 kB / 0.9534 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001459/0.8733, allocations: 88.53 kB / 0.9535 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004264/0.8737, allocations: 199.6 kB / 0.9537 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.902e-06/0.8737, allocations: 0 / 0.9537 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.437e-06/0.8737, allocations: 0 / 0.9537 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.482e-05/0.8737, allocations: 3.938 kB / 0.9537 GB, free: 6.258 MB / 0.7169 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.0008403/0.8746, allocations: 0.5401 MB / 0.9542 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.86e-05/0.8746, allocations: 9.5 kB / 0.9542 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.831e-05/0.8747, allocations: 23.09 kB / 0.9542 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003057/0.8751, allocations: 242.7 kB / 0.9545 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/0.8751, allocations: 11.16 kB / 0.9545 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.153e-05/0.8751, allocations: 14.5 kB / 0.9545 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/0.8753, allocations: 98.52 kB / 0.9546 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.8754, allocations: 0 / 0.9546 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.8754, allocations: 5.125 kB / 0.9546 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.8754, allocations: 6.156 kB / 0.9546 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001271/0.8755, allocations: 58.59 kB / 0.9546 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000824/0.8764, allocations: 469.9 kB / 0.9551 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.8765, allocations: 79.33 kB / 0.9552 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.329e-05/0.8766, allocations: 31.64 kB / 0.9552 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.889e-05/0.8766, allocations: 1.531 kB / 0.9552 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002102/0.8769, allocations: 97.08 kB / 0.9553 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.8769, allocations: 0 / 0.9553 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.0003749/0.8772, allocations: 151.9 kB / 0.9554 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.8773, allocations: 57.94 kB / 0.9555 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.8775, allocations: 191 kB / 0.9557 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.8775, allocations: 37.28 kB / 0.9557 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.626e-05/0.8776, allocations: 119.1 kB / 0.9558 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.313e-05/0.8776, allocations: 31.05 kB / 0.9559 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.25e-05/0.8777, allocations: 55.17 kB / 0.9559 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.967e-05/0.8778, allocations: 326.8 kB / 0.9562 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.378e-05/0.8779, allocations: 27.89 kB / 0.9562 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000219/0.8781, allocations: 134.5 kB / 0.9564 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.8782, allocations: 104.8 kB / 0.9565 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.8783, allocations: 3.938 kB / 0.9565 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002292/0.8785, allocations: 149 kB / 0.9566 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.8785, allocations: 11.45 kB / 0.9566 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.8785, allocations: 0 / 0.9566 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.565e-05/0.8786, allocations: 6.844 kB / 0.9566 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.8787, allocations: 24.31 kB / 0.9567 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.8787, allocations: 2.75 kB / 0.9567 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001841/0.8789, allocations: 21.45 kB / 0.9567 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.8789, allocations: 9.344 kB / 0.9567 GB, free: 3.586 MB / 0.7169 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.0001156/0.879, allocations: 135.1 kB / 0.9568 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.752e-05/0.8791, allocations: 14.44 kB / 0.9568 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002236/0.8793, allocations: 123.7 kB / 0.957 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.291e-06/0.8793, allocations: 15.05 kB / 0.957 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.832e-06/0.8793, allocations: 3.984 kB / 0.957 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.8793, allocations: 0 / 0.957 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005255/0.8799, allocations: 466.9 kB / 0.9574 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.8799, allocations: 0 / 0.9574 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.822e-05/0.8799, allocations: 9.594 kB / 0.9574 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.8799, allocations: 1 kB / 0.9574 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.8799, allocations: 5.125 kB / 0.9574 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.8799, allocations: 5.094 kB / 0.9574 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.88, allocations: 0 / 0.9574 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002197/0.8802, allocations: 222.2 kB / 0.9577 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.832e-05/0.8802, allocations: 96.03 kB / 0.9577 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/0.8803, allocations: 1.125 kB / 0.9577 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.8804, allocations: 12.27 kB / 0.9578 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.22e-05/0.8805, allocations: 10.86 kB / 0.9578 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.611e-05/0.8805, allocations: 16.7 kB / 0.9578 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001126/0.8806, allocations: 136.9 kB / 0.9579 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8806, allocations: 0 / 0.9579 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003008/0.8809, allocations: 48.14 kB / 0.958 GB, free: 2.5 MB / 0.7169 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.0003662/0.8813, allocations: 175.7 kB / 0.9581 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002578/0.8816, allocations: 96.09 kB / 0.9582 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.8816, allocations: 0.8125 kB / 0.9582 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.539e-05/0.8817, allocations: 43.61 kB / 0.9583 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/0.8821, allocations: 63.72 kB / 0.9583 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006875/0.8828, allocations: 289.9 kB / 0.9586 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001732/0.883, allocations: 0.7198 MB / 0.9593 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.801e-05/0.883, allocations: 27.28 kB / 0.9593 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.889e-05/0.8831, allocations: 26.36 kB / 0.9594 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.8831, allocations: 0 / 0.9594 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of Templates: time 0.01011/0.8932, allocations: 3.296 MB / 0.9626 GB, free: 15.66 MB / 0.7325 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches