Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.00171/0.00171, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001998/0.001998, allocations: 187 kB / 17.34 MB, free: 5.719 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.364/1.364, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.62/2.62, allocations: 469.4 MB / 0.7428 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001363, allocations: 63.91 kB / 1.065 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9939/0.9953, allocations: 159.1 MB / 1.221 GB, free: 2.336 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003346/0.9987, allocations: 1.782 MB / 1.223 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001228/1, allocations: 0.5975 MB / 1.223 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/1, allocations: 3.938 kB / 1.223 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002129/1, allocations: 27.72 kB / 1.223 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0004492/1.001, allocations: 123.5 kB / 1.223 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003922/1.001, allocations: 151.1 kB / 1.223 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003187/1.002, allocations: 227.5 kB / 1.224 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/1.002, allocations: 37.55 kB / 1.224 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001514/1.002, allocations: 99.67 kB / 1.224 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004764/1.007, allocations: 0.8095 MB / 1.225 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 7.648e-05/1.007, allocations: 20 kB / 1.225 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001446/1.007, allocations: 35.98 kB / 1.225 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.74e-05/1.007, allocations: 35.89 kB / 1.225 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001272/1.007, allocations: 91.52 kB / 1.225 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003872/1.007, allocations: 203.3 kB / 1.225 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/1.007, allocations: 0 / 1.225 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.513e-06/1.007, allocations: 0 / 1.225 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.574e-06/1.008, allocations: 4 kB / 1.225 GB, free: 14.28 MB / 0.9512 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.0008475/1.008, allocations: 0.5391 MB / 1.225 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/1.008, allocations: 8.625 kB / 1.226 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.189e-05/1.009, allocations: 28.72 kB / 1.226 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003132/1.009, allocations: 248.4 kB / 1.226 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/1.009, allocations: 12 kB / 1.226 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.366e-05/1.009, allocations: 16 kB / 1.226 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/1.009, allocations: 97.64 kB / 1.226 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/1.009, allocations: 0 / 1.226 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/1.009, allocations: 7.938 kB / 1.226 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/1.009, allocations: 7.938 kB / 1.226 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/1.009, allocations: 51.91 kB / 1.226 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008676/1.01, allocations: 476.3 kB / 1.226 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001647/1.01, allocations: 82.48 kB / 1.226 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.392e-05/1.01, allocations: 28.84 kB / 1.227 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/1.01, allocations: 8 kB / 1.227 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001801/1.011, allocations: 83.38 kB / 1.227 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=14): time 2.335e-06/1.011, allocations: 4 kB / 1.227 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of matching and sorting (n=14): time 0.0003626/1.011, allocations: 157.5 kB / 1.227 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.56e-05/1.011, allocations: 51.41 kB / 1.227 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/1.011, allocations: 199.4 kB / 1.227 GB, free: 12 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.791e-05/1.011, allocations: 33.7 kB / 1.227 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.55e-05/1.011, allocations: 112.5 kB / 1.227 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.501e-05/1.011, allocations: 39.53 kB / 1.227 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.002e-05/1.012, allocations: 53.69 kB / 1.227 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001299/1.012, allocations: 335 kB / 1.228 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.303e-05/1.012, allocations: 27.98 kB / 1.228 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002337/1.012, allocations: 126.7 kB / 1.228 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001635/1.012, allocations: 112.6 kB / 1.228 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/1.012, allocations: 0 / 1.228 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002601/1.012, allocations: 149.3 kB / 1.228 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/1.012, allocations: 4.156 kB / 1.228 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/1.012, allocations: 8 kB / 1.228 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/1.013, allocations: 3.938 kB / 1.228 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.89e-05/1.013, allocations: 15.94 kB / 1.228 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/1.013, allocations: 7.984 kB / 1.228 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002018/1.013, allocations: 19.84 kB / 1.228 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/1.013, allocations: 12 kB / 1.228 GB, free: 10.88 MB / 0.9512 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.0001403/1.013, allocations: 129.8 kB / 1.228 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.69e-05/1.013, allocations: 15.81 kB / 1.228 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002363/1.013, allocations: 135 kB / 1.228 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/1.013, allocations: 0 / 1.228 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/1.013, allocations: 4 kB / 1.228 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/1.013, allocations: 0 / 1.228 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005621/1.014, allocations: 462.2 kB / 1.229 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/1.014, allocations: 0 / 1.229 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.823e-05/1.014, allocations: 4 kB / 1.229 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/1.014, allocations: 4 kB / 1.229 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/1.014, allocations: 11.98 kB / 1.229 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/1.014, allocations: 3.984 kB / 1.229 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/1.014, allocations: 3.984 kB / 1.229 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002271/1.014, allocations: 217.2 kB / 1.229 GB, free: 9.82 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.375e-05/1.014, allocations: 96.91 kB / 1.229 GB, free: 9.707 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/1.014, allocations: 4 kB / 1.229 GB, free: 9.703 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/1.014, allocations: 15.98 kB / 1.229 GB, free: 9.688 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.406e-05/1.015, allocations: 15.98 kB / 1.229 GB, free: 9.672 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.732e-05/1.015, allocations: 11.98 kB / 1.229 GB, free: 9.66 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001189/1.015, allocations: 144.2 kB / 1.229 GB, free: 9.52 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/1.015, allocations: 0 / 1.229 GB, free: 9.52 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003212/1.015, allocations: 47.84 kB / 1.229 GB, free: 9.473 MB / 0.9512 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.0003738/1.015, allocations: 160.7 kB / 1.229 GB, free: 9.328 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002379/1.016, allocations: 102.8 kB / 1.23 GB, free: 9.23 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/1.016, allocations: 320 / 1.23 GB, free: 9.23 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 8.377e-05/1.016, allocations: 51.92 kB / 1.23 GB, free: 9.18 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/1.016, allocations: 42.77 kB / 1.23 GB, free: 9.141 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006801/1.017, allocations: 312.8 kB / 1.23 GB, free: 8.801 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/1.017, allocations: 0.7241 MB / 1.231 GB, free: 8.051 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.368e-05/1.017, allocations: 23.42 kB / 1.231 GB, free: 8.027 MB / 0.9512 GB Notification: Performance of SimCode: time 3.01e-07/1.017, allocations: 0 / 1.231 GB, free: 8.027 MB / 0.9512 GB Notification: Performance of Templates: time 0.005835/1.023, allocations: 3.027 MB / 1.234 GB, free: 5.02 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Examples_Scatter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches