Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.005353/0.005353, allocations: 97.38 kB / 15.73 MB, free: 6.066 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.001225/0.001225, allocations: 195.5 kB / 16.68 MB, free: 5.973 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.503/2.503, allocations: 437 MB / 0.7105 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 55.91 kB / 1.018 GB, free: 9.445 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9811/0.9825, allocations: 151.6 MB / 1.167 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003249/0.9858, allocations: 1.79 MB / 1.168 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001141/0.9869, allocations: 0.5927 MB / 1.169 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.34e-05/0.987, allocations: 7.938 kB / 1.169 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002007/0.9873, allocations: 31.73 kB / 1.169 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003998/0.9877, allocations: 119.4 kB / 1.169 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000363/0.988, allocations: 149 kB / 1.169 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002938/0.9884, allocations: 227.4 kB / 1.169 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.9885, allocations: 41.55 kB / 1.169 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.9887, allocations: 107.7 kB / 1.17 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0047/0.9934, allocations: 0.803 MB / 1.17 GB, free: 200 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.908e-05/0.9934, allocations: 16 kB / 1.17 GB, free: 184 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001344/0.9936, allocations: 36 kB / 1.17 GB, free: 148 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.864e-05/0.9937, allocations: 39.88 kB / 1.17 GB, free: 108 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.9938, allocations: 87.52 kB / 1.17 GB, free: 20 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003909/0.9942, allocations: 208.3 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.9942, allocations: 4 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.364e-06/0.9942, allocations: 0 / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.9942, allocations: 0 / 1.171 GB, free: 15.81 MB / 0.9044 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.0007744/0.995, allocations: 0.541 MB / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.9951, allocations: 8.922 kB / 1.171 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.721e-05/0.9951, allocations: 24.8 kB / 1.171 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002872/0.9954, allocations: 248.6 kB / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.9955, allocations: 16 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.066e-05/0.9955, allocations: 12 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001935/0.9957, allocations: 98.77 kB / 1.172 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.9957, allocations: 0 / 1.172 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.9957, allocations: 7.984 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.9958, allocations: 7.938 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.9959, allocations: 55.91 kB / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007942/0.9967, allocations: 468.4 kB / 1.172 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/0.9968, allocations: 70.56 kB / 1.172 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.5e-05/0.9969, allocations: 36.84 kB / 1.172 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.9969, allocations: 0 / 1.172 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001885/0.9971, allocations: 99.31 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=14): time 1.694e-06/0.9971, allocations: 0 / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14): time 0.0003305/0.9975, allocations: 158.8 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.9975, allocations: 51.41 kB / 1.173 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.9977, allocations: 196 kB / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.184e-05/0.9978, allocations: 33.7 kB / 1.173 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.847e-05/0.9979, allocations: 124.4 kB / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.159e-05/0.9979, allocations: 31.73 kB / 1.173 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.563e-05/0.998, allocations: 65.62 kB / 1.173 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.9981, allocations: 327 kB / 1.173 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.347e-05/0.9982, allocations: 27.98 kB / 1.173 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000238/0.9984, allocations: 132.4 kB / 1.173 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.9986, allocations: 102.5 kB / 1.174 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.9986, allocations: 0 / 1.174 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002314/0.9988, allocations: 153.5 kB / 1.174 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.9989, allocations: 9.094 kB / 1.174 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.9989, allocations: 0 / 1.174 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.9989, allocations: 11.92 kB / 1.174 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.999, allocations: 19.94 kB / 1.174 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/0.999, allocations: 4 kB / 1.174 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001866/0.9992, allocations: 15.94 kB / 1.174 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.9992, allocations: 8 kB / 1.174 GB, free: 12.42 MB / 0.9044 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.0001351/0.9994, allocations: 141.8 kB / 1.174 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.474e-05/0.9994, allocations: 11.91 kB / 1.174 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002255/0.9996, allocations: 132.7 kB / 1.174 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.9997, allocations: 0 / 1.174 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.9997, allocations: 0 / 1.174 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.9997, allocations: 3.984 kB / 1.174 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005262/1, allocations: 458.3 kB / 1.174 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/1, allocations: 4 kB / 1.174 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.784e-05/1, allocations: 7.984 kB / 1.174 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/1, allocations: 4 kB / 1.174 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/1, allocations: 8 kB / 1.174 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/1, allocations: 0 / 1.174 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/1, allocations: 0 / 1.174 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002319/1.001, allocations: 224.2 kB / 1.175 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.757e-05/1.001, allocations: 100.9 kB / 1.175 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/1.001, allocations: 4 kB / 1.175 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/1.001, allocations: 11.98 kB / 1.175 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.945e-05/1.001, allocations: 16.02 kB / 1.175 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.62e-05/1.001, allocations: 12 kB / 1.175 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001145/1.001, allocations: 143 kB / 1.175 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/1.001, allocations: 0 / 1.175 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002998/1.001, allocations: 39.98 kB / 1.175 GB, free: 11.02 MB / 0.9044 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.000416/1.002, allocations: 159.6 kB / 1.175 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002364/1.002, allocations: 103.8 kB / 1.175 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/1.002, allocations: 8.312 kB / 1.175 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.396e-05/1.002, allocations: 39.92 kB / 1.175 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004162/1.003, allocations: 48.16 kB / 1.175 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006434/1.003, allocations: 292 kB / 1.176 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/1.003, allocations: 0.7241 MB / 1.176 GB, free: 9.617 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 8.016e-05/1.004, allocations: 25.52 kB / 1.176 GB, free: 9.594 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.748e-05/1.004, allocations: 19.44 kB / 1.176 GB, free: 9.574 MB / 0.9044 GB Notification: Performance of SimCode: time 3.41e-07/1.004, allocations: 0 / 1.176 GB, free: 9.574 MB / 0.9044 GB Notification: Performance of Templates: time 0.007343/1.011, allocations: 3.326 MB / 1.18 GB, free: 6.285 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.makefile (rm -f Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.sim & ./Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Examples_Scatter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches