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: "" <> 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.001874/0.001874, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002217/0.002217, allocations: 197 kB / 16.53 MB, free: 6.664 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.512/1.512, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.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.539/2.539, allocations: 437 MB / 0.7104 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 71.88 kB / 0.8693 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5713/0.5728, allocations: 151.6 MB / 1.017 GB, free: 2.516 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003132/0.576, allocations: 1.777 MB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001069/0.5771, allocations: 0.5928 MB / 1.02 GB, free: 132 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.386e-05/0.5772, allocations: 0 / 1.02 GB, free: 132 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001764/0.5774, allocations: 35.66 kB / 1.02 GB, free: 96 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0003748/0.5778, allocations: 116.1 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003382/0.5781, allocations: 151.6 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002515/0.5784, allocations: 235.3 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.5785, allocations: 33.5 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001375/0.5786, allocations: 107.7 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004424/0.5831, allocations: 0.7968 MB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.881e-05/0.5831, allocations: 16 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.5832, allocations: 39.92 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.486e-05/0.5833, allocations: 43.83 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.5834, allocations: 83.56 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002766/0.5837, allocations: 203.4 kB / 1.022 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.5837, allocations: 0 / 1.022 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.082e-06/0.5837, allocations: 3.938 kB / 1.022 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.5837, allocations: 4 kB / 1.022 GB, free: 14.46 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.0007127/0.5845, allocations: 0.5411 MB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.5845, allocations: 8.031 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.878e-05/0.5845, allocations: 42.73 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.026e-05/0.5846, allocations: 16.75 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002475/0.5849, allocations: 236.4 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.5849, allocations: 12 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.232e-05/0.5849, allocations: 12 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.5851, allocations: 110.8 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.5851, allocations: 0 / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.5851, allocations: 0 / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.5851, allocations: 3.938 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.5853, allocations: 55.97 kB / 1.023 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007416/0.586, allocations: 476.2 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.5861, allocations: 74.55 kB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.13e-05/0.5862, allocations: 32.84 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.5862, allocations: 0 / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001854/0.5864, allocations: 103.8 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=14): time 1.272e-06/0.5864, allocations: 0 / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14): time 0.0003536/0.5868, allocations: 148.2 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.5868, allocations: 55.41 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.5871, allocations: 195.4 kB / 1.024 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.655e-05/0.5871, allocations: 33.7 kB / 1.024 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.5872, allocations: 124.4 kB / 1.024 GB, free: 12 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.411e-05/0.5872, allocations: 43.53 kB / 1.024 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.264e-05/0.5873, allocations: 57.67 kB / 1.024 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.5875, allocations: 326.8 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.657e-05/0.5875, allocations: 27.98 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000245/0.5878, allocations: 134.4 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.5879, allocations: 97.08 kB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.5879, allocations: 4 kB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002414/0.5882, allocations: 153.1 kB / 1.025 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.5882, allocations: 10.25 kB / 1.025 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.5882, allocations: 3.938 kB / 1.025 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.5883, allocations: 7.938 kB / 1.025 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.606e-05/0.5884, allocations: 19.92 kB / 1.025 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.5884, allocations: 4 kB / 1.025 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.5886, allocations: 15.98 kB / 1.025 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.5886, allocations: 7.938 kB / 1.025 GB, free: 11.04 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.0001433/0.5887, allocations: 153.7 kB / 1.025 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.214e-05/0.5888, allocations: 15.72 kB / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002255/0.589, allocations: 139.1 kB / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.589, allocations: 0 / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.589, allocations: 0 / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.589, allocations: 0 / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005344/0.5896, allocations: 462.2 kB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.5896, allocations: 0 / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.696e-05/0.5896, allocations: 7.938 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.5896, allocations: 0 / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.5897, allocations: 7.984 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.5897, allocations: 0 / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.5897, allocations: 0 / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002285/0.5899, allocations: 219.3 kB / 1.026 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.296e-05/0.59, allocations: 100.8 kB / 1.026 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.323e-05/0.59, allocations: 11.98 kB / 1.026 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.5901, allocations: 4 kB / 1.026 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.518e-05/0.5902, allocations: 15.97 kB / 1.026 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.502e-05/0.5902, allocations: 8 kB / 1.026 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001337/0.5904, allocations: 139.2 kB / 1.026 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5904, allocations: 0 / 1.026 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003107/0.5907, allocations: 36 kB / 1.026 GB, free: 9.645 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.0008444/0.5916, allocations: 0.8224 MB / 1.027 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002454/0.5918, allocations: 95.84 kB / 1.027 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.5918, allocations: 0 / 1.027 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.846e-05/0.5919, allocations: 45.55 kB / 1.027 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004101/0.5923, allocations: 60.25 kB / 1.027 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001784/0.5941, allocations: 1.849 MB / 1.029 GB, free: 6.664 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002223/0.5944, allocations: 0.7201 MB / 1.029 GB, free: 5.918 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.187e-05/0.5944, allocations: 21.53 kB / 1.029 GB, free: 5.895 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.539e-05/0.5945, allocations: 51.42 kB / 1.029 GB, free: 5.844 MB / 0.7794 GB Notification: Performance of SimCode: time 3.71e-07/0.5945, allocations: 0 / 1.029 GB, free: 5.844 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02185/0.6164, allocations: 5.038 MB / 1.034 GB, free: 0.8984 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.369/7.985, allocations: 6.25 kB / 1.034 GB, free: 0.8945 MB / 0.7794 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.csv","/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