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.009349/0.009349, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001674/0.001674, allocations: 187.7 kB / 16.67 MB, free: 5.977 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.62/1.62, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.641/2.641, allocations: 390.2 MB / 0.6648 GB, free: 248 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 70.17 kB / 0.9508 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.3547, allocations: 140.4 MB / 1.088 GB, free: 1.531 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003622/0.3584, allocations: 1.777 MB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001133/0.3596, allocations: 0.5928 MB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.96e-05/0.3597, allocations: 7.938 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001985/0.3599, allocations: 23.73 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003768/0.3603, allocations: 119.4 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003815/0.3607, allocations: 149.7 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003671/0.361, allocations: 235.4 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.3612, allocations: 37.52 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.3613, allocations: 103.7 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004429/0.3658, allocations: 0.8105 MB / 1.092 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.378e-05/0.3658, allocations: 16 kB / 1.092 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.366, allocations: 39.98 kB / 1.092 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.597e-05/0.366, allocations: 39.83 kB / 1.092 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.3662, allocations: 83.58 kB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003549/0.3665, allocations: 207.3 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3665, allocations: 0 / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.645e-06/0.3666, allocations: 0 / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.3666, allocations: 0 / 1.092 GB, free: 13.48 MB / 0.8575 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.0008166/0.3674, allocations: 0.5451 MB / 1.093 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.3674, allocations: 8.031 kB / 1.093 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.842e-05/0.3675, allocations: 20.75 kB / 1.093 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003002/0.3678, allocations: 244.5 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.3679, allocations: 8 kB / 1.093 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.68e-05/0.3679, allocations: 19.98 kB / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.3681, allocations: 94.95 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.3681, allocations: 0 / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.3681, allocations: 12 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.3682, allocations: 7.938 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.3683, allocations: 55.91 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008068/0.3691, allocations: 464.4 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/0.3693, allocations: 86.48 kB / 1.094 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.075e-05/0.3693, allocations: 24.86 kB / 1.094 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.3693, allocations: 4 kB / 1.094 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001981/0.3696, allocations: 95.27 kB / 1.094 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=14): time 1.834e-06/0.3696, allocations: 4.219 kB / 1.094 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14): time 0.0003151/0.3699, allocations: 149.5 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.3699, allocations: 59.34 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.3701, allocations: 190.4 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.642e-05/0.3702, allocations: 33.7 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.255e-05/0.3703, allocations: 124.3 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.1e-05/0.3703, allocations: 35.55 kB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.036e-05/0.3704, allocations: 53.67 kB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.3705, allocations: 326.8 kB / 1.095 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.795e-05/0.3706, allocations: 27.98 kB / 1.095 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002367/0.3708, allocations: 130.1 kB / 1.095 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.371, allocations: 109 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.371, allocations: 0 / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002324/0.3712, allocations: 152.7 kB / 1.095 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.3713, allocations: 7.984 kB / 1.095 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3713, allocations: 4 kB / 1.095 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.3713, allocations: 3.938 kB / 1.095 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.872e-05/0.3714, allocations: 23.94 kB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.3714, allocations: 4.156 kB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001809/0.3716, allocations: 23.83 kB / 1.095 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.3716, allocations: 8 kB / 1.095 GB, free: 10.09 MB / 0.8575 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.0001347/0.3718, allocations: 129.8 kB / 1.095 GB, free: 9.953 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.028e-05/0.3718, allocations: 15.81 kB / 1.095 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002241/0.372, allocations: 127.1 kB / 1.095 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.372, allocations: 7.984 kB / 1.095 GB, free: 9.801 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.3721, allocations: 0 / 1.095 GB, free: 9.801 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.3721, allocations: 4 kB / 1.095 GB, free: 9.797 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005436/0.3726, allocations: 462.2 kB / 1.096 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3726, allocations: 0 / 1.096 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.649e-05/0.3727, allocations: 4 kB / 1.096 GB, free: 9.285 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3727, allocations: 4 kB / 1.096 GB, free: 9.281 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.3727, allocations: 4 kB / 1.096 GB, free: 9.277 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.3727, allocations: 3.938 kB / 1.096 GB, free: 9.273 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.3727, allocations: 0 / 1.096 GB, free: 9.273 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002198/0.3729, allocations: 227.2 kB / 1.096 GB, free: 9.035 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.685e-05/0.373, allocations: 108.9 kB / 1.096 GB, free: 8.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.373, allocations: 0 / 1.096 GB, free: 8.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.905e-05/0.3732, allocations: 11.98 kB / 1.096 GB, free: 8.898 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.03e-05/0.3732, allocations: 15.98 kB / 1.096 GB, free: 8.883 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.561e-05/0.3733, allocations: 7.984 kB / 1.096 GB, free: 8.875 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001269/0.3734, allocations: 137.5 kB / 1.096 GB, free: 8.742 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3734, allocations: 4 kB / 1.096 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003181/0.3737, allocations: 43.98 kB / 1.096 GB, free: 8.695 MB / 0.8575 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.0003812/0.3741, allocations: 163.4 kB / 1.096 GB, free: 8.551 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002457/0.3744, allocations: 102.9 kB / 1.097 GB, free: 8.453 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3744, allocations: 0 / 1.097 GB, free: 8.453 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.142e-05/0.3745, allocations: 47.91 kB / 1.097 GB, free: 8.406 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004176/0.3749, allocations: 40.91 kB / 1.097 GB, free: 8.367 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006445/0.3756, allocations: 302.9 kB / 1.097 GB, free: 8.043 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.3759, allocations: 0.7163 MB / 1.098 GB, free: 7.301 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.327e-05/0.3759, allocations: 25.52 kB / 1.098 GB, free: 7.273 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.372e-05/0.376, allocations: 23.44 kB / 1.098 GB, free: 7.25 MB / 0.8575 GB Notification: Performance of SimCode: time 5.11e-07/0.376, allocations: 0 / 1.098 GB, free: 7.25 MB / 0.8575 GB Notification: Performance of Templates: time 0.009316/0.3853, allocations: 3.391 MB / 1.101 GB, free: 3.887 MB / 0.8575 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