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.009741/0.00974, allocations: 100.6 kB / 15.73 MB, free: 6.008 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.001673/0.001674, allocations: 189.6 kB / 16.67 MB, free: 5.934 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.454/1.454, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.342/2.342, allocations: 390.2 MB / 0.6648 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 67.91 kB / 0.9508 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.031/1.033, allocations: 140.4 MB / 1.088 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003753/1.037, allocations: 1.773 MB / 1.09 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001267/1.038, allocations: 0.5989 MB / 1.09 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.068e-05/1.038, allocations: 1.094 kB / 1.09 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002327/1.038, allocations: 27.14 kB / 1.09 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004377/1.039, allocations: 122.3 kB / 1.09 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004251/1.039, allocations: 147.7 kB / 1.09 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003496/1.04, allocations: 227.6 kB / 1.091 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/1.04, allocations: 34.81 kB / 1.091 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001601/1.04, allocations: 108.2 kB / 1.091 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004842/1.045, allocations: 0.8051 MB / 1.092 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.141e-05/1.045, allocations: 16.38 kB / 1.092 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001642/1.045, allocations: 41.31 kB / 1.092 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.597e-05/1.045, allocations: 48.06 kB / 1.092 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001662/1.045, allocations: 85.56 kB / 1.092 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005544/1.046, allocations: 209.1 kB / 1.092 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/1.046, allocations: 0.75 kB / 1.092 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.114e-06/1.046, allocations: 0 / 1.092 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.945e-06/1.046, allocations: 0 / 1.092 GB, free: 3.145 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.0009192/1.047, allocations: 0.5502 MB / 1.093 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/1.047, allocations: 9.469 kB / 1.093 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/1.047, allocations: 20.05 kB / 1.093 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002902/1.047, allocations: 240.9 kB / 1.093 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/1.047, allocations: 14.31 kB / 1.093 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.513e-05/1.047, allocations: 15.86 kB / 1.093 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000221/1.048, allocations: 93.7 kB / 1.093 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/1.048, allocations: 0.875 kB / 1.093 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.032e-05/1.048, allocations: 5.766 kB / 1.093 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/1.048, allocations: 6.438 kB / 1.093 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001333/1.048, allocations: 57.12 kB / 1.093 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009165/1.049, allocations: 470.1 kB / 1.093 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/1.049, allocations: 81.45 kB / 1.094 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.096e-05/1.049, allocations: 34.83 kB / 1.094 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.911e-05/1.049, allocations: 1.703 kB / 1.094 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000244/1.049, allocations: 95.47 kB / 1.094 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=14): time 1.773e-06/1.049, allocations: 0 / 1.094 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14): time 0.0004341/1.05, allocations: 147.4 kB / 1.094 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/1.05, allocations: 54.83 kB / 1.094 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002591/1.05, allocations: 190.2 kB / 1.094 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.509e-05/1.05, allocations: 41.67 kB / 1.094 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.711e-05/1.05, allocations: 126.6 kB / 1.094 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.813e-05/1.05, allocations: 35.52 kB / 1.094 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/1.05, allocations: 53.58 kB / 1.094 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.492e-05/1.05, allocations: 328.6 kB / 1.095 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.813e-05/1.051, allocations: 33.34 kB / 1.095 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002627/1.051, allocations: 126.8 kB / 1.095 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/1.051, allocations: 106.7 kB / 1.095 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/1.051, allocations: 0.7812 kB / 1.095 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002875/1.051, allocations: 150.5 kB / 1.095 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/1.051, allocations: 5.938 kB / 1.095 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/1.051, allocations: 1.812 kB / 1.095 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.559e-05/1.051, allocations: 6.688 kB / 1.095 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/1.051, allocations: 27.33 kB / 1.095 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/1.051, allocations: 2.203 kB / 1.095 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/1.052, allocations: 21.03 kB / 1.095 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/1.052, allocations: 6.516 kB / 1.095 GB, free: 0.7383 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.0001379/1.052, allocations: 139.6 kB / 1.095 GB, free: 0.6055 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.25e-05/1.052, allocations: 20.3 kB / 1.095 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002714/1.052, allocations: 130.7 kB / 1.095 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/1.052, allocations: 5.625 kB / 1.095 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/1.052, allocations: 0.625 kB / 1.095 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/1.052, allocations: 0.75 kB / 1.095 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005758/1.053, allocations: 457.9 kB / 1.096 GB, free: 160 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/1.053, allocations: 1.719 kB / 1.096 GB, free: 160 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.186e-05/1.053, allocations: 14.44 kB / 1.096 GB, free: 152 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/1.053, allocations: 1.125 kB / 1.096 GB, free: 152 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/1.053, allocations: 2.5 kB / 1.096 GB, free: 152 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/1.053, allocations: 0 / 1.096 GB, free: 152 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.053, allocations: 1.703 kB / 1.096 GB, free: 152 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002451/1.053, allocations: 223.8 kB / 1.096 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.114e-05/1.053, allocations: 104.6 kB / 1.096 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.822e-05/1.053, allocations: 0.875 kB / 1.096 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/1.053, allocations: 11.3 kB / 1.096 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.742e-05/1.053, allocations: 15.52 kB / 1.096 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.264e-05/1.054, allocations: 7.562 kB / 1.096 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002597/1.054, allocations: 136.7 kB / 1.096 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.904e-06/1.054, allocations: 0 / 1.096 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003413/1.054, allocations: 50.31 kB / 1.096 GB, free: 15.76 MB / 0.8731 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.0004187/1.055, allocations: 170.4 kB / 1.096 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002574/1.055, allocations: 94.61 kB / 1.097 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.055, allocations: 0 / 1.097 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001026/1.055, allocations: 43.19 kB / 1.097 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005383/1.056, allocations: 42.66 kB / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007492/1.056, allocations: 305 kB / 1.097 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003645/1.057, allocations: 0.7181 MB / 1.098 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 9.475e-05/1.057, allocations: 29.56 kB / 1.098 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.732e-05/1.057, allocations: 21.44 kB / 1.098 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/1.057, allocations: 4 kB / 1.098 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of Templates: time 0.01047/1.067, allocations: 3.311 MB / 1.101 GB, free: 14.35 MB / 0.8731 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