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: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_9_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.008341/0.008341, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001659/0.001659, allocations: 194.3 kB / 16.67 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.319/2.319, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 66.05 kB / 0.9504 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2796, allocations: 140.4 MB / 1.087 GB, free: 2.16 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003186/0.2828, allocations: 1.776 MB / 1.089 GB, free: 376 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001182/0.284, allocations: 0.6006 MB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.2842, allocations: 0 / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001839/0.2844, allocations: 31.72 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003857/0.2848, allocations: 119.4 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000365/0.2852, allocations: 151.7 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003134/0.2855, allocations: 227.4 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.2856, allocations: 49.52 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.2858, allocations: 103.7 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004393/0.2902, allocations: 0.7943 MB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.062e-05/0.2902, allocations: 16 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.739e-05/0.2903, allocations: 43.92 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.188e-05/0.2904, allocations: 39.83 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.2905, allocations: 91.55 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003141/0.2908, allocations: 203.2 kB / 1.092 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.2909, allocations: 0 / 1.092 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.303e-06/0.2909, allocations: 4 kB / 1.092 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.2909, allocations: 0 / 1.092 GB, free: 14.1 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.0007302/0.2916, allocations: 0.5488 MB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.2916, allocations: 8.031 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.115e-05/0.2917, allocations: 42.73 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.272e-05/0.2918, allocations: 20.84 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/0.2921, allocations: 240.4 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.2921, allocations: 16 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.404e-05/0.2921, allocations: 16 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.2923, allocations: 94.77 kB / 1.093 GB, free: 13 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.2923, allocations: 0 / 1.093 GB, free: 13 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.2923, allocations: 4 kB / 1.093 GB, free: 13 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.2924, allocations: 7.938 kB / 1.093 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.2925, allocations: 51.97 kB / 1.093 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008566/0.2933, allocations: 476.3 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.2935, allocations: 78.48 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.512e-05/0.2936, allocations: 32.84 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.2936, allocations: 4.219 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001639/0.2937, allocations: 99.31 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=14): time 1.583e-06/0.2938, allocations: 0 / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14): time 0.0003982/0.2942, allocations: 149.3 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.2942, allocations: 59.34 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002413/0.2945, allocations: 194.3 kB / 1.094 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.463e-05/0.2945, allocations: 33.7 kB / 1.094 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.2946, allocations: 120.5 kB / 1.094 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.167e-05/0.2947, allocations: 39.72 kB / 1.094 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.756e-05/0.2948, allocations: 57.67 kB / 1.094 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.2949, allocations: 326.8 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.376e-05/0.295, allocations: 31.98 kB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002302/0.2952, allocations: 126.4 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.2954, allocations: 113 kB / 1.094 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2954, allocations: 0 / 1.094 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002335/0.2956, allocations: 149.5 kB / 1.095 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.2956, allocations: 4 kB / 1.095 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.2957, allocations: 7.938 kB / 1.095 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.2957, allocations: 0 / 1.095 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.2958, allocations: 19.98 kB / 1.095 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.2958, allocations: 4 kB / 1.095 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001919/0.296, allocations: 15.92 kB / 1.095 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.296, allocations: 12 kB / 1.095 GB, free: 10.66 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.0001147/0.2961, allocations: 133.9 kB / 1.095 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.032e-05/0.2962, allocations: 19.86 kB / 1.095 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002149/0.2964, allocations: 135 kB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.2964, allocations: 4 kB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.2964, allocations: 0 / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.2964, allocations: 4.031 kB / 1.095 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000534/0.297, allocations: 462 kB / 1.095 GB, free: 9.848 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.297, allocations: 0 / 1.095 GB, free: 9.848 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.675e-05/0.297, allocations: 11.94 kB / 1.095 GB, free: 9.836 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.297, allocations: 4 kB / 1.095 GB, free: 9.832 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.297, allocations: 7.984 kB / 1.095 GB, free: 9.824 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.297, allocations: 0 / 1.095 GB, free: 9.824 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2971, allocations: 0 / 1.095 GB, free: 9.824 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002152/0.2973, allocations: 219.3 kB / 1.096 GB, free: 9.594 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.471e-05/0.2974, allocations: 104.9 kB / 1.096 GB, free: 9.473 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.425e-05/0.2974, allocations: 3.984 kB / 1.096 GB, free: 9.469 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.2975, allocations: 12 kB / 1.096 GB, free: 9.457 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.452e-05/0.2976, allocations: 15.97 kB / 1.096 GB, free: 9.441 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/0.2976, allocations: 8 kB / 1.096 GB, free: 9.434 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001128/0.2977, allocations: 141.5 kB / 1.096 GB, free: 9.297 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.4e-07/0.2977, allocations: 0 / 1.096 GB, free: 9.297 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003029/0.298, allocations: 43.89 kB / 1.096 GB, free: 9.254 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.000669/0.2987, allocations: 0.8339 MB / 1.097 GB, free: 8.418 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002033/0.2989, allocations: 83.91 kB / 1.097 GB, free: 8.336 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2989, allocations: 0 / 1.097 GB, free: 8.336 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.33e-05/0.299, allocations: 43.92 kB / 1.097 GB, free: 8.293 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003767/0.2994, allocations: 52.3 kB / 1.097 GB, free: 8.242 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001857/0.3013, allocations: 1.844 MB / 1.099 GB, free: 6.293 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.3016, allocations: 0.7202 MB / 1.099 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.265e-05/0.3017, allocations: 29.47 kB / 1.099 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.066e-05/0.3018, allocations: 51.41 kB / 1.099 GB, free: 5.465 MB / 0.8575 GB Notification: Performance of SimCode: time 2.81e-07/0.3018, allocations: 0 / 1.099 GB, free: 5.465 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02297/0.3247, allocations: 5.094 MB / 1.104 GB, free: 480 kB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.644/7.969, allocations: 11.8 kB / 1.104 GB, free: 476 kB / 0.8575 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Utilities_Plotters_Examples_Scatter.fmu > Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Examples_Scatter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches