Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_latest_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.001398/0.001398, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001769/0.001769, allocations: 195 kB / 16.14 MB, free: 6.648 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.406/1.406, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.642/2.642, allocations: 461.8 MB / 0.7342 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001454, allocations: 69.3 kB / 0.8985 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2847, allocations: 157.4 MB / 1.052 GB, free: 8.223 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.00384/0.2886, allocations: 1.94 MB / 1.054 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001374/0.29, allocations: 0.6357 MB / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.2902, allocations: 3.938 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002219/0.2904, allocations: 23.86 kB / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003517/0.2908, allocations: 95.64 kB / 1.055 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000386/0.2912, allocations: 143.7 kB / 1.055 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002808/0.2915, allocations: 215.4 kB / 1.055 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.2916, allocations: 33.55 kB / 1.055 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/0.2918, allocations: 95.67 kB / 1.055 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01036/0.3021, allocations: 0.7472 MB / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.995e-05/0.3022, allocations: 12 kB / 1.056 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001508/0.3024, allocations: 24 kB / 1.056 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.695e-05/0.3025, allocations: 35.84 kB / 1.056 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001571/0.3027, allocations: 83.56 kB / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004067/0.3031, allocations: 199.3 kB / 1.056 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 9.308e-06/0.3031, allocations: 3.984 kB / 1.056 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.934e-06/0.3031, allocations: 0 / 1.056 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.303e-05/0.3031, allocations: 0 / 1.056 GB, free: 4.086 MB / 0.8106 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.001213/0.3043, allocations: 0.5412 MB / 1.057 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.868e-05/0.3044, allocations: 11.97 kB / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.654e-05/0.3045, allocations: 38.75 kB / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.954e-05/0.3046, allocations: 20.75 kB / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003419/0.3049, allocations: 244.3 kB / 1.057 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.305, allocations: 12 kB / 1.057 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.862e-05/0.305, allocations: 16 kB / 1.057 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/0.3052, allocations: 98.38 kB / 1.057 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.3052, allocations: 0 / 1.057 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.3053, allocations: 0 / 1.057 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.3053, allocations: 11.94 kB / 1.057 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.3054, allocations: 51.97 kB / 1.057 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009269/0.3063, allocations: 472.4 kB / 1.058 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.3065, allocations: 78.48 kB / 1.058 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.241e-05/0.3066, allocations: 24.86 kB / 1.058 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.955e-05/0.3066, allocations: 4 kB / 1.058 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001738/0.3068, allocations: 104.6 kB / 1.058 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/0.3068, allocations: 0 / 1.058 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14): time 0.0003373/0.3071, allocations: 153.6 kB / 1.058 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.3072, allocations: 55.34 kB / 1.058 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.3074, allocations: 191 kB / 1.058 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.558e-05/0.3074, allocations: 29.7 kB / 1.058 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.26e-05/0.3075, allocations: 124.3 kB / 1.059 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.386e-05/0.3076, allocations: 31.78 kB / 1.059 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.519e-05/0.3077, allocations: 57.67 kB / 1.059 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.3078, allocations: 334.8 kB / 1.059 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.46e-05/0.3079, allocations: 31.98 kB / 1.059 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000243/0.3081, allocations: 121.8 kB / 1.059 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.3083, allocations: 116.1 kB / 1.059 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.15e-05/0.3083, allocations: 0 / 1.059 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002745/0.3086, allocations: 149.3 kB / 1.059 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.3086, allocations: 4 kB / 1.059 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.3086, allocations: 12.09 kB / 1.059 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.3086, allocations: 0 / 1.059 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.834e-05/0.3087, allocations: 12 kB / 1.059 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.3087, allocations: 4 kB / 1.059 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001967/0.3089, allocations: 27.83 kB / 1.059 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.309, allocations: 8 kB / 1.059 GB, free: 0.6562 MB / 0.8106 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.0001425/0.3091, allocations: 137.8 kB / 1.06 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.282e-05/0.3092, allocations: 15.81 kB / 1.06 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002333/0.3094, allocations: 135.1 kB / 1.06 GB, free: 368 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.3094, allocations: 3.984 kB / 1.06 GB, free: 364 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.3094, allocations: 4 kB / 1.06 GB, free: 360 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3094, allocations: 0 / 1.06 GB, free: 360 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005682/0.31, allocations: 457.7 kB / 1.06 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.31, allocations: 0 / 1.06 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.741e-05/0.3101, allocations: 4 kB / 1.06 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.3101, allocations: 4 kB / 1.06 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.3101, allocations: 4 kB / 1.06 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.3101, allocations: 0 / 1.06 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3101, allocations: 0 / 1.06 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002255/0.3103, allocations: 223.3 kB / 1.06 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.746e-05/0.3104, allocations: 108.8 kB / 1.06 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.815e-05/0.3105, allocations: 0 / 1.06 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.3106, allocations: 15.86 kB / 1.06 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.124e-05/0.3106, allocations: 19.98 kB / 1.061 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.417e-05/0.3107, allocations: 7.984 kB / 1.061 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001247/0.3108, allocations: 140.9 kB / 1.061 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3108, allocations: 0 / 1.061 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003222/0.3111, allocations: 40 kB / 1.061 GB, free: 15.26 MB / 0.8262 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.0007711/0.3119, allocations: 0.8205 MB / 1.061 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002241/0.3122, allocations: 96.89 kB / 1.062 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3122, allocations: 0 / 1.062 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.149e-05/0.3123, allocations: 43.92 kB / 1.062 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004053/0.3127, allocations: 39.91 kB / 1.062 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/0.3148, allocations: 1.894 MB / 1.064 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.3151, allocations: 0.7244 MB / 1.064 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.86e-05/0.3152, allocations: 29.47 kB / 1.064 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.3153, allocations: 51.41 kB / 1.064 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of SimCode: time 7.01e-07/0.3153, allocations: 0 / 1.064 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01658/0.3319, allocations: 4.759 MB / 1.069 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001895/0.3321, allocations: 247.3 kB / 1.069 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.913/2.245, allocations: 2.25 kB / 1.069 GB, free: 6.535 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Examples_Scatter_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Examples_Scatter.fmu > Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Examples_Scatter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches