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.001589/0.001589, allocations: 108 kB / 15.6 MB, free: 132 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.00191/0.001911, allocations: 191.6 kB / 16.53 MB, free: 6.391 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.336/1.336, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.55/2.55, allocations: 437.1 MB / 0.7104 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001399, allocations: 63.91 kB / 0.8693 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6707/0.6721, allocations: 151.6 MB / 1.017 GB, free: 2.461 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.00358/0.6757, allocations: 1.778 MB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001324/0.6771, allocations: 0.6006 MB / 1.02 GB, free: 68 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001581/0.6773, allocations: 0 / 1.02 GB, free: 68 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0002425/0.6775, allocations: 35.66 kB / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0005449/0.6781, allocations: 115.5 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004431/0.6786, allocations: 150.5 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003523/0.6789, allocations: 227.5 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001629/0.6791, allocations: 33.48 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001895/0.6793, allocations: 107.7 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004595/0.6839, allocations: 0.7984 MB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.48e-05/0.684, allocations: 16 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.6841, allocations: 35.92 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.558e-05/0.6842, allocations: 43.84 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.6843, allocations: 83.56 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000358/0.6847, allocations: 207.3 kB / 1.022 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.6847, allocations: 3.984 kB / 1.022 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.893e-06/0.6847, allocations: 0 / 1.022 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.6847, allocations: 0 / 1.022 GB, free: 14.41 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.0008525/0.6856, allocations: 0.549 MB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.6856, allocations: 8.031 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.283e-05/0.6857, allocations: 42.69 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.433e-05/0.6857, allocations: 16.75 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003048/0.686, allocations: 240.4 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.6861, allocations: 12 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.633e-05/0.6861, allocations: 12 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.6863, allocations: 108.7 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.6863, allocations: 4 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.6864, allocations: 0 / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.6864, allocations: 3.938 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.6865, allocations: 55.97 kB / 1.023 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008353/0.6873, allocations: 476.2 kB / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.6875, allocations: 74.55 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.496e-05/0.6875, allocations: 28.86 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.6876, allocations: 0 / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001829/0.6878, allocations: 107.3 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=14): time 1.433e-06/0.6878, allocations: 0 / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14): time 0.0003225/0.6881, allocations: 149.5 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.6882, allocations: 55.41 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/0.6884, allocations: 199.4 kB / 1.024 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.231e-05/0.6884, allocations: 29.7 kB / 1.024 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.613e-05/0.6885, allocations: 120.5 kB / 1.024 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.123e-05/0.6885, allocations: 35.55 kB / 1.024 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.107e-05/0.6886, allocations: 61.67 kB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.6888, allocations: 330.8 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.185e-05/0.6888, allocations: 27.98 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000238/0.6891, allocations: 129.9 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.6892, allocations: 101.1 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.6892, allocations: 0 / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002496/0.6895, allocations: 153.3 kB / 1.025 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.6895, allocations: 8.219 kB / 1.025 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.6895, allocations: 3.938 kB / 1.025 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.6895, allocations: 7.938 kB / 1.025 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.747e-05/0.6896, allocations: 15.94 kB / 1.025 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.6897, allocations: 4 kB / 1.025 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.6899, allocations: 19.92 kB / 1.025 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.6899, allocations: 4 kB / 1.025 GB, free: 10.98 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.0001374/0.69, allocations: 149.6 kB / 1.025 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.992e-05/0.69, allocations: 15.72 kB / 1.025 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002176/0.6903, allocations: 131.1 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.6903, allocations: 7.922 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.6903, allocations: 0 / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.6903, allocations: 0 / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005201/0.6908, allocations: 463.9 kB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.6908, allocations: 8 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.749e-05/0.6909, allocations: 7.938 kB / 1.025 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.346e-05/0.6909, allocations: 0 / 1.025 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.6909, allocations: 4 kB / 1.025 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.6909, allocations: 0 / 1.025 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.6909, allocations: 0 / 1.025 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002076/0.6912, allocations: 223.3 kB / 1.026 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.774e-05/0.6912, allocations: 96.91 kB / 1.026 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.6913, allocations: 8 kB / 1.026 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.947e-05/0.6914, allocations: 7.984 kB / 1.026 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.351e-05/0.6914, allocations: 11.98 kB / 1.026 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/0.6915, allocations: 11.98 kB / 1.026 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001134/0.6916, allocations: 135.2 kB / 1.026 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6916, allocations: 0 / 1.026 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002977/0.6919, allocations: 43.92 kB / 1.026 GB, free: 9.586 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.0006841/0.6926, allocations: 0.8261 MB / 1.027 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002185/0.6928, allocations: 99.83 kB / 1.027 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.6928, allocations: 0 / 1.027 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.916e-05/0.6929, allocations: 43.92 kB / 1.027 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.6933, allocations: 47.56 kB / 1.027 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00218/0.6955, allocations: 1.845 MB / 1.029 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.6958, allocations: 0.7201 MB / 1.029 GB, free: 5.871 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.399e-05/0.6959, allocations: 21.55 kB / 1.029 GB, free: 5.848 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.505e-05/0.696, allocations: 51.41 kB / 1.029 GB, free: 5.797 MB / 0.7794 GB Notification: Performance of SimCode: time 2.8e-07/0.696, allocations: 0 / 1.029 GB, free: 5.797 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02711/0.7231, allocations: 5.043 MB / 1.034 GB, free: 0.8477 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.749/8.472, allocations: 11.8 kB / 1.034 GB, free: 0.8359 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 & /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