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.01554/0.01555, allocations: 103.5 kB / 15.73 MB, free: 6.035 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.002538/0.002538, allocations: 197.5 kB / 16.67 MB, free: 5.969 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.522/1.522, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.537/2.537, allocations: 390.2 MB / 0.6648 GB, free: 248 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 62.34 kB / 0.9508 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3624, allocations: 140.4 MB / 1.088 GB, free: 1.527 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.00353/0.366, allocations: 1.777 MB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001266/0.3673, allocations: 0.6044 MB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.595e-05/0.3674, allocations: 4 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000236/0.3676, allocations: 27.73 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003963/0.368, allocations: 119.4 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000374/0.3684, allocations: 153.8 kB / 1.091 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003065/0.3687, allocations: 227.4 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001826/0.3689, allocations: 41.52 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/0.3691, allocations: 107.7 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004622/0.3737, allocations: 0.7967 MB / 1.092 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.381e-05/0.3738, allocations: 16 kB / 1.092 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001198/0.3739, allocations: 36 kB / 1.092 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.503e-05/0.374, allocations: 39.83 kB / 1.092 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001559/0.3742, allocations: 91.5 kB / 1.092 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004142/0.3746, allocations: 207.4 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.3746, allocations: 0 / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3746, allocations: 0 / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.3747, allocations: 0 / 1.092 GB, free: 13.46 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.0007876/0.3754, allocations: 0.5412 MB / 1.093 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.3755, allocations: 11.97 kB / 1.093 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.052e-05/0.3756, allocations: 20.75 kB / 1.093 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002834/0.3759, allocations: 236.6 kB / 1.093 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.3759, allocations: 15.98 kB / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.612e-05/0.3759, allocations: 16 kB / 1.093 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.3761, allocations: 94.77 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.3762, allocations: 3.938 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.3762, allocations: 4 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.3762, allocations: 7.938 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.3763, allocations: 51.97 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008093/0.3771, allocations: 472.3 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001723/0.3773, allocations: 82.55 kB / 1.094 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.021e-05/0.3774, allocations: 28.84 kB / 1.094 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.699e-05/0.3774, allocations: 4 kB / 1.094 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001473/0.3775, allocations: 98.88 kB / 1.094 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=14): time 3.106e-06/0.3776, allocations: 0 / 1.094 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14): time 0.0003308/0.3779, allocations: 157.5 kB / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.3779, allocations: 59.39 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.3781, allocations: 186.4 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.165e-05/0.3782, allocations: 33.7 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.3783, allocations: 124.3 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.312e-05/0.3783, allocations: 39.53 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.952e-05/0.3784, allocations: 57.67 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.3786, allocations: 326.8 kB / 1.095 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.944e-05/0.3786, allocations: 27.98 kB / 1.095 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002436/0.3789, allocations: 130.4 kB / 1.095 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.3791, allocations: 105.1 kB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3791, allocations: 0 / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002689/0.3793, allocations: 149.4 kB / 1.095 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.3794, allocations: 4 kB / 1.095 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.3794, allocations: 4 kB / 1.095 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.3794, allocations: 3.938 kB / 1.095 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.3795, allocations: 27.92 kB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.3795, allocations: 0 / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001791/0.3797, allocations: 23.83 kB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.3797, allocations: 8 kB / 1.095 GB, free: 10.08 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.0001408/0.3799, allocations: 133.9 kB / 1.095 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.285e-05/0.3799, allocations: 15.81 kB / 1.095 GB, free: 9.922 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002279/0.3802, allocations: 130.5 kB / 1.095 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.3802, allocations: 4 kB / 1.095 GB, free: 9.789 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3802, allocations: 0 / 1.095 GB, free: 9.789 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3802, allocations: 0 / 1.095 GB, free: 9.789 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005546/0.3807, allocations: 462.2 kB / 1.096 GB, free: 9.281 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3808, allocations: 0 / 1.096 GB, free: 9.281 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.965e-05/0.3808, allocations: 11.98 kB / 1.096 GB, free: 9.27 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.3808, allocations: 4 kB / 1.096 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.767e-05/0.3809, allocations: 7.938 kB / 1.096 GB, free: 9.258 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.3809, allocations: 0 / 1.096 GB, free: 9.258 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3809, allocations: 0 / 1.096 GB, free: 9.258 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000238/0.3811, allocations: 223.2 kB / 1.096 GB, free: 9.023 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.074e-05/0.3812, allocations: 100.9 kB / 1.096 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.3812, allocations: 0 / 1.096 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.3813, allocations: 12 kB / 1.096 GB, free: 8.895 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.051e-05/0.3814, allocations: 24 kB / 1.096 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.201e-05/0.3814, allocations: 8 kB / 1.096 GB, free: 8.863 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001304/0.3816, allocations: 141.5 kB / 1.096 GB, free: 8.727 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3816, allocations: 0 / 1.096 GB, free: 8.727 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003134/0.3819, allocations: 40 kB / 1.096 GB, free: 8.688 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.0003562/0.3823, allocations: 156.7 kB / 1.096 GB, free: 8.547 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002345/0.3825, allocations: 105.8 kB / 1.097 GB, free: 8.445 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3825, allocations: 0 / 1.097 GB, free: 8.445 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.962e-05/0.3826, allocations: 47.91 kB / 1.097 GB, free: 8.398 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/0.383, allocations: 53.77 kB / 1.097 GB, free: 8.352 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000658/0.3837, allocations: 298.3 kB / 1.097 GB, free: 8.035 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.384, allocations: 0.7242 MB / 1.098 GB, free: 7.285 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.94e-05/0.3841, allocations: 21.48 kB / 1.098 GB, free: 7.262 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.694e-05/0.3842, allocations: 23.42 kB / 1.098 GB, free: 7.238 MB / 0.8575 GB Notification: Performance of SimCode: time 2.71e-07/0.3842, allocations: 0 / 1.098 GB, free: 7.238 MB / 0.8575 GB Notification: Performance of Templates: time 0.008025/0.3922, allocations: 3.311 MB / 1.101 GB, free: 3.953 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