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.007598/0.007598, allocations: 100.8 kB / 15.73 MB, free: 6.477 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.001901/0.001901, allocations: 189.4 kB / 16.67 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.428/1.428, allocations: 222.9 MB / 240.4 MB, free: 4.359 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.312/2.312, allocations: 390.3 MB / 0.6648 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 58.44 kB / 0.9504 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2781, allocations: 140.4 MB / 1.087 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003081/0.2812, allocations: 1.776 MB / 1.089 GB, free: 216 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001178/0.2824, allocations: 0.5967 MB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.2825, allocations: 4 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001898/0.2827, allocations: 23.73 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003857/0.2831, allocations: 123.4 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003586/0.2835, allocations: 154.7 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002871/0.2838, allocations: 223.5 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.2839, allocations: 37.52 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001669/0.2841, allocations: 111.7 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004547/0.2887, allocations: 0.7904 MB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.63e-05/0.2887, allocations: 20 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.314e-05/0.2888, allocations: 39.98 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.828e-05/0.2889, allocations: 47.77 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.289, allocations: 79.58 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003118/0.2893, allocations: 208.2 kB / 1.092 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.2893, allocations: 0 / 1.092 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2894, allocations: 7.875 kB / 1.092 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.2894, allocations: 4 kB / 1.092 GB, free: 13.95 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.0007609/0.2901, allocations: 0.5335 MB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.2902, allocations: 12.03 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.04e-05/0.2902, allocations: 38.73 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.111e-05/0.2903, allocations: 20.75 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.2906, allocations: 248.3 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.2906, allocations: 8 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.138e-05/0.2907, allocations: 16 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.2909, allocations: 90.78 kB / 1.093 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.2909, allocations: 0 / 1.093 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.2909, allocations: 11.98 kB / 1.093 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.2909, allocations: 3.938 kB / 1.093 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.2911, allocations: 51.97 kB / 1.093 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008507/0.2919, allocations: 472.3 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.2921, allocations: 78.55 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.483e-05/0.2922, allocations: 33 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.2922, allocations: 11.88 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001768/0.2924, allocations: 95.27 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=14): time 1.894e-06/0.2924, allocations: 0 / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14): time 0.0003842/0.2928, allocations: 149.6 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.438e-05/0.2928, allocations: 63.39 kB / 1.093 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002237/0.2931, allocations: 190.3 kB / 1.094 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.725e-05/0.2931, allocations: 29.7 kB / 1.094 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.712e-05/0.2932, allocations: 124.4 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.364e-05/0.2933, allocations: 39.55 kB / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.823e-05/0.2934, allocations: 53.67 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.2935, allocations: 326.8 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.569e-05/0.2935, allocations: 27.98 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002292/0.2938, allocations: 128.5 kB / 1.094 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.2939, allocations: 109 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.2939, allocations: 4 kB / 1.094 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002455/0.2942, allocations: 145.4 kB / 1.095 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.2942, allocations: 4 kB / 1.095 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.2942, allocations: 11.88 kB / 1.095 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.2943, allocations: 0 / 1.095 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.617e-05/0.2944, allocations: 24.14 kB / 1.095 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.2944, allocations: 3.984 kB / 1.095 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001892/0.2946, allocations: 27.83 kB / 1.095 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.2946, allocations: 4 kB / 1.095 GB, free: 10.52 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.0001255/0.2947, allocations: 133.8 kB / 1.095 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.2e-05/0.2948, allocations: 19.8 kB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002189/0.295, allocations: 127.1 kB / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.295, allocations: 4 kB / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.295, allocations: 4 kB / 1.095 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.295, allocations: 0 / 1.095 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005167/0.2955, allocations: 462.2 kB / 1.095 GB, free: 9.715 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.2955, allocations: 3.938 kB / 1.095 GB, free: 9.711 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.754e-05/0.2956, allocations: 7.984 kB / 1.095 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.698e-06/0.2956, allocations: 4 kB / 1.095 GB, free: 9.699 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.2956, allocations: 0 / 1.095 GB, free: 9.699 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.2956, allocations: 0 / 1.095 GB, free: 9.699 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2956, allocations: 0 / 1.095 GB, free: 9.699 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002062/0.2958, allocations: 223.3 kB / 1.096 GB, free: 9.465 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.323e-05/0.2959, allocations: 100.9 kB / 1.096 GB, free: 9.348 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.2959, allocations: 0 / 1.096 GB, free: 9.348 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.2961, allocations: 7.984 kB / 1.096 GB, free: 9.34 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.5e-05/0.2961, allocations: 19.92 kB / 1.096 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.091e-05/0.2962, allocations: 7.938 kB / 1.096 GB, free: 9.312 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001189/0.2963, allocations: 145.5 kB / 1.096 GB, free: 9.172 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2963, allocations: 4 kB / 1.096 GB, free: 9.168 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003057/0.2966, allocations: 40 kB / 1.096 GB, free: 9.129 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.0006706/0.2973, allocations: 0.8172 MB / 1.097 GB, free: 8.312 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002196/0.2975, allocations: 99.33 kB / 1.097 GB, free: 8.219 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.2975, allocations: 4.312 kB / 1.097 GB, free: 8.215 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.019e-05/0.2976, allocations: 47.92 kB / 1.097 GB, free: 8.168 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003826/0.298, allocations: 48.36 kB / 1.097 GB, free: 8.121 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00199/0.3, allocations: 1.849 MB / 1.099 GB, free: 6.164 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.3003, allocations: 0.7241 MB / 1.099 GB, free: 5.414 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.465e-05/0.3004, allocations: 21.53 kB / 1.099 GB, free: 5.391 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.575e-05/0.3005, allocations: 55.41 kB / 1.099 GB, free: 5.336 MB / 0.8575 GB Notification: Performance of SimCode: time 3.41e-07/0.3005, allocations: 0 / 1.099 GB, free: 5.336 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02211/0.3226, allocations: 5.095 MB / 1.104 GB, free: 352 kB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.754/8.077, allocations: 7.219 kB / 1.104 GB, free: 348 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