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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008383/0.0008383, allocations: 97.88 kB / 15.36 MB, free: 0.7344 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.005075/0.005075, allocations: 171 kB / 16.27 MB, free: 6.324 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.219/1.219, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.513/2.513, allocations: 437.8 MB / 0.7121 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003166/0.000317, allocations: 11.98 kB / 0.8729 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5602/0.5605, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.002899/0.5635, allocations: 1.575 MB / 1.025 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001436/0.5649, allocations: 0.6397 MB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.5651, allocations: 0 / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002471/0.5653, allocations: 19.86 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003879/0.5657, allocations: 91.66 kB / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004124/0.5662, allocations: 141.8 kB / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003063/0.5665, allocations: 215.4 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.5666, allocations: 37.53 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.5668, allocations: 87.69 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03557/0.6024, allocations: 2.417 MB / 1.028 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.129e-05/0.6025, allocations: 11.98 kB / 1.028 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001364/0.6026, allocations: 31.98 kB / 1.028 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.36e-05/0.6027, allocations: 27.91 kB / 1.028 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001575/0.6029, allocations: 109.2 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003775/0.6033, allocations: 195.3 kB / 1.029 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.6033, allocations: 0 / 1.029 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.047e-06/0.6033, allocations: 0 / 1.029 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.6033, allocations: 7.938 kB / 1.029 GB, free: 10.84 MB / 0.7794 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.001088/0.6044, allocations: 0.4946 MB / 1.029 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.6044, allocations: 12.03 kB / 1.029 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.379e-05/0.6045, allocations: 42.73 kB / 1.029 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.67e-05/0.6046, allocations: 24.66 kB / 1.029 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004096/0.605, allocations: 236.4 kB / 1.029 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/0.6051, allocations: 12 kB / 1.029 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.62e-05/0.6051, allocations: 19.98 kB / 1.029 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002317/0.6054, allocations: 96.45 kB / 1.029 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.6054, allocations: 0 / 1.029 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/0.6054, allocations: 4 kB / 1.029 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.6054, allocations: 7.938 kB / 1.029 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.6056, allocations: 55.91 kB / 1.03 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.6067, allocations: 484.3 kB / 1.03 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.6069, allocations: 78.48 kB / 1.03 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.101e-05/0.6069, allocations: 37.06 kB / 1.03 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.396e-05/0.607, allocations: 3.938 kB / 1.03 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001802/0.6072, allocations: 91.38 kB / 1.03 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.6072, allocations: 0 / 1.03 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14): time 0.0003711/0.6076, allocations: 154.5 kB / 1.03 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.323e-05/0.6076, allocations: 55.41 kB / 1.03 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002268/0.6079, allocations: 199 kB / 1.031 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.141e-05/0.6079, allocations: 33.7 kB / 1.031 GB, free: 8.508 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.608, allocations: 120.5 kB / 1.031 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.745e-05/0.6081, allocations: 35.53 kB / 1.031 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.401e-05/0.6081, allocations: 29.7 kB / 1.031 GB, free: 8.316 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.6083, allocations: 326.8 kB / 1.031 GB, free: 7.988 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.711e-05/0.6083, allocations: 27.98 kB / 1.031 GB, free: 7.961 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002474/0.6086, allocations: 130.2 kB / 1.031 GB, free: 7.805 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.6088, allocations: 113.4 kB / 1.031 GB, free: 7.68 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.6088, allocations: 0 / 1.031 GB, free: 7.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002685/0.6091, allocations: 149.4 kB / 1.032 GB, free: 7.527 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.6091, allocations: 8.156 kB / 1.032 GB, free: 7.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.6091, allocations: 3.938 kB / 1.032 GB, free: 7.516 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.6091, allocations: 4 kB / 1.032 GB, free: 7.512 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.6092, allocations: 19.92 kB / 1.032 GB, free: 7.492 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.617e-06/0.6092, allocations: 4 kB / 1.032 GB, free: 7.488 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.6095, allocations: 27.83 kB / 1.032 GB, free: 7.461 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.6095, allocations: 4 kB / 1.032 GB, free: 7.457 MB / 0.7794 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.000143/0.6096, allocations: 134.4 kB / 1.032 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.116e-05/0.6097, allocations: 15.81 kB / 1.032 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002385/0.6099, allocations: 135 kB / 1.032 GB, free: 7.168 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.6099, allocations: 0 / 1.032 GB, free: 7.168 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.6099, allocations: 0 / 1.032 GB, free: 7.168 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.6099, allocations: 0 / 1.032 GB, free: 7.168 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00061/0.6106, allocations: 478.1 kB / 1.032 GB, free: 6.645 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.6106, allocations: 0 / 1.032 GB, free: 6.645 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.812e-05/0.6106, allocations: 4 kB / 1.032 GB, free: 6.641 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.067e-06/0.6106, allocations: 7.984 kB / 1.032 GB, free: 6.633 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.6106, allocations: 4 kB / 1.032 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.6106, allocations: 0 / 1.032 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.6107, allocations: 48 / 1.032 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002924/0.6109, allocations: 223.2 kB / 1.033 GB, free: 6.395 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.251e-05/0.611, allocations: 112.9 kB / 1.033 GB, free: 6.266 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.6111, allocations: 0 / 1.033 GB, free: 6.266 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.6112, allocations: 11.98 kB / 1.033 GB, free: 6.254 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.547e-05/0.6113, allocations: 11.98 kB / 1.033 GB, free: 6.242 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.215e-05/0.6113, allocations: 8 kB / 1.033 GB, free: 6.234 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001405/0.6114, allocations: 135.2 kB / 1.033 GB, free: 6.102 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.61e-07/0.6114, allocations: 0 / 1.033 GB, free: 6.102 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003262/0.6118, allocations: 51.83 kB / 1.033 GB, free: 6.051 MB / 0.7794 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.0007797/0.6126, allocations: 0.8176 MB / 1.034 GB, free: 5.227 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002173/0.6128, allocations: 95.66 kB / 1.034 GB, free: 5.137 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.6128, allocations: 0 / 1.034 GB, free: 5.137 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.348e-05/0.6129, allocations: 47.91 kB / 1.034 GB, free: 5.09 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/0.6133, allocations: 40.28 kB / 1.034 GB, free: 5.051 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002215/0.6155, allocations: 1.886 MB / 1.036 GB, free: 3.051 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.6159, allocations: 0.7205 MB / 1.036 GB, free: 2.305 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001011/0.616, allocations: 29.47 kB / 1.036 GB, free: 2.273 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.325e-05/0.6161, allocations: 51.41 kB / 1.036 GB, free: 2.223 MB / 0.7794 GB Notification: Performance of SimCode: time 4.71e-07/0.6161, allocations: 0 / 1.036 GB, free: 2.223 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.186/1.802, allocations: 4.667 MB / 1.041 GB, free: 13.7 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002696/1.802, allocations: 233.4 kB / 1.041 GB, free: 13.45 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.761/3.563, allocations: 0 / 1.041 GB, free: 13.45 MB / 0.795 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Plotters_Examples_Scatter_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Plotters_Examples_Scatter.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches