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.005386/0.005386, allocations: 100.1 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.001316/0.001316, allocations: 193.8 kB / 16.67 MB, free: 5.93 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.449/1.449, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.349/2.349, allocations: 390.2 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 63.89 kB / 0.9508 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.064/1.065, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003677/1.069, allocations: 1.782 MB / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001409/1.07, allocations: 0.5985 MB / 1.09 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.985e-05/1.071, allocations: 1.906 kB / 1.09 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002365/1.071, allocations: 23.97 kB / 1.09 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004602/1.071, allocations: 117.9 kB / 1.09 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003963/1.072, allocations: 154.7 kB / 1.09 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003299/1.072, allocations: 227.8 kB / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/1.072, allocations: 33.59 kB / 1.091 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/1.072, allocations: 108.7 kB / 1.091 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004587/1.077, allocations: 0.8005 MB / 1.092 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.698e-05/1.077, allocations: 17.06 kB / 1.092 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/1.077, allocations: 41.31 kB / 1.092 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.87e-05/1.077, allocations: 44.22 kB / 1.092 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001314/1.077, allocations: 90.09 kB / 1.092 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004377/1.078, allocations: 205.4 kB / 1.092 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/1.078, allocations: 0 / 1.092 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.784e-06/1.078, allocations: 0 / 1.092 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.965e-06/1.078, allocations: 0 / 1.092 GB, free: 3.16 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.0008662/1.079, allocations: 0.5419 MB / 1.093 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/1.079, allocations: 9 kB / 1.093 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/1.079, allocations: 20.33 kB / 1.093 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000301/1.079, allocations: 245.2 kB / 1.093 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/1.079, allocations: 6.531 kB / 1.093 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.381e-05/1.079, allocations: 14.98 kB / 1.093 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002542/1.08, allocations: 105.5 kB / 1.093 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/1.08, allocations: 0.7188 kB / 1.093 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/1.08, allocations: 1.203 kB / 1.093 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.928e-06/1.08, allocations: 6.969 kB / 1.093 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001398/1.08, allocations: 53.17 kB / 1.093 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009364/1.081, allocations: 469.7 kB / 1.093 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/1.081, allocations: 81.64 kB / 1.094 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.114e-05/1.081, allocations: 30.47 kB / 1.094 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/1.081, allocations: 1.656 kB / 1.094 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001964/1.081, allocations: 104.4 kB / 1.094 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=14): time 1.463e-06/1.081, allocations: 0 / 1.094 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14): time 0.0003923/1.082, allocations: 147.6 kB / 1.094 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/1.082, allocations: 54.34 kB / 1.094 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002283/1.082, allocations: 185.9 kB / 1.094 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.158e-05/1.082, allocations: 37.83 kB / 1.094 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.706e-05/1.082, allocations: 122.5 kB / 1.094 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/1.082, allocations: 39.38 kB / 1.094 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/1.082, allocations: 58.12 kB / 1.094 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001101/1.082, allocations: 324.5 kB / 1.095 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.675e-05/1.082, allocations: 28.08 kB / 1.095 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002845/1.083, allocations: 131.4 kB / 1.095 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001881/1.083, allocations: 102.8 kB / 1.095 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.44e-05/1.083, allocations: 0.7188 kB / 1.095 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002946/1.083, allocations: 153.9 kB / 1.095 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/1.083, allocations: 6.547 kB / 1.095 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.872e-06/1.083, allocations: 1.406 kB / 1.095 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/1.083, allocations: 7.125 kB / 1.095 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/1.083, allocations: 18.83 kB / 1.095 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/1.083, allocations: 2.844 kB / 1.095 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001953/1.084, allocations: 24.72 kB / 1.095 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/1.084, allocations: 5.719 kB / 1.095 GB, free: 0.7695 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.000117/1.084, allocations: 139.8 kB / 1.095 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.537e-05/1.084, allocations: 16.89 kB / 1.095 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002571/1.084, allocations: 126 kB / 1.095 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.839e-06/1.084, allocations: 11 kB / 1.095 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/1.084, allocations: 0 / 1.095 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/1.084, allocations: 0.5156 kB / 1.095 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005989/1.085, allocations: 462.3 kB / 1.096 GB, free: 192 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/1.085, allocations: 4 kB / 1.096 GB, free: 188 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.075e-05/1.085, allocations: 11.38 kB / 1.096 GB, free: 184 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/1.085, allocations: 1.094 kB / 1.096 GB, free: 184 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/1.085, allocations: 1.656 kB / 1.096 GB, free: 184 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/1.085, allocations: 2.047 kB / 1.096 GB, free: 184 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/1.085, allocations: 0 / 1.096 GB, free: 184 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002271/1.085, allocations: 224.6 kB / 1.096 GB, free: 12 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/1.085, allocations: 95.52 kB / 1.096 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.846e-05/1.085, allocations: 10.45 kB / 1.096 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/1.085, allocations: 6.203 kB / 1.096 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.443e-05/1.085, allocations: 20.25 kB / 1.096 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.207e-05/1.085, allocations: 6.625 kB / 1.096 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001609/1.086, allocations: 137.3 kB / 1.096 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.31e-07/1.086, allocations: 0 / 1.096 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000333/1.086, allocations: 45.44 kB / 1.096 GB, free: 15.79 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.0003998/1.086, allocations: 168.1 kB / 1.096 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000315/1.087, allocations: 101.6 kB / 1.097 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/1.087, allocations: 1.031 kB / 1.097 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001153/1.087, allocations: 42.59 kB / 1.097 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004605/1.087, allocations: 51.02 kB / 1.097 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007344/1.088, allocations: 299 kB / 1.097 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003915/1.088, allocations: 0.722 MB / 1.098 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 9.326e-05/1.088, allocations: 33.58 kB / 1.098 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.135e-05/1.088, allocations: 21.61 kB / 1.098 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/1.089, allocations: 0.7812 kB / 1.098 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of Templates: time 0.009759/1.098, allocations: 3.317 MB / 1.101 GB, free: 14.38 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