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.00906/0.00906, allocations: 99.52 kB / 15.73 MB, free: 6.039 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.001787/0.001787, allocations: 200.8 kB / 16.68 MB, free: 5.965 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.397/1.397, 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 10.1.1-maint.10.0.x/package.mo): time 2.636/2.636, allocations: 437 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 67.89 kB / 1.018 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2862, allocations: 151.6 MB / 1.166 GB, free: 7.363 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003627/0.2899, allocations: 1.772 MB / 1.168 GB, free: 5.566 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00125/0.2912, allocations: 0.6044 MB / 1.168 GB, free: 4.961 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.2913, allocations: 4 kB / 1.168 GB, free: 4.957 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002087/0.2916, allocations: 23.73 kB / 1.168 GB, free: 4.934 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004527/0.292, allocations: 123.4 kB / 1.169 GB, free: 4.812 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004303/0.2925, allocations: 151.7 kB / 1.169 GB, free: 4.664 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000311/0.2928, allocations: 223.5 kB / 1.169 GB, free: 4.445 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.2929, allocations: 33.55 kB / 1.169 GB, free: 4.414 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/0.2931, allocations: 115.6 kB / 1.169 GB, free: 4.301 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004842/0.2979, allocations: 0.7948 MB / 1.17 GB, free: 3.691 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.514e-05/0.298, allocations: 23.94 kB / 1.17 GB, free: 3.668 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.2981, allocations: 36 kB / 1.17 GB, free: 3.633 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.121e-05/0.2982, allocations: 43.83 kB / 1.17 GB, free: 3.59 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.2983, allocations: 83.56 kB / 1.17 GB, free: 3.508 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000368/0.2987, allocations: 211.1 kB / 1.17 GB, free: 3.301 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2987, allocations: 0 / 1.17 GB, free: 3.301 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.512e-06/0.2987, allocations: 0 / 1.17 GB, free: 3.301 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.498e-06/0.2987, allocations: 4 kB / 1.17 GB, free: 3.297 MB / 0.92 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.0007979/0.2995, allocations: 0.541 MB / 1.171 GB, free: 2.695 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.2996, allocations: 12.03 kB / 1.171 GB, free: 2.684 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.075e-05/0.2996, allocations: 34.75 kB / 1.171 GB, free: 2.641 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.685e-05/0.2997, allocations: 24.8 kB / 1.171 GB, free: 2.617 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003158/0.3001, allocations: 252.4 kB / 1.171 GB, free: 2.328 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.3001, allocations: 12 kB / 1.171 GB, free: 2.316 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.669e-05/0.3001, allocations: 12 kB / 1.171 GB, free: 2.305 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.3003, allocations: 103.8 kB / 1.171 GB, free: 2.199 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.3003, allocations: 0 / 1.171 GB, free: 2.199 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.3004, allocations: 8 kB / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.3004, allocations: 3.938 kB / 1.171 GB, free: 2.188 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.3005, allocations: 51.97 kB / 1.171 GB, free: 2.137 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009165/0.3014, allocations: 468.5 kB / 1.172 GB, free: 1.629 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/0.3016, allocations: 78.55 kB / 1.172 GB, free: 1.543 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.281e-05/0.3017, allocations: 24.86 kB / 1.172 GB, free: 1.516 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.946e-05/0.3017, allocations: 7.984 kB / 1.172 GB, free: 1.508 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002199/0.3019, allocations: 95.27 kB / 1.172 GB, free: 1.402 MB / 0.92 GB Notification: Performance of pre-optimization done (n=14): time 2.024e-06/0.3019, allocations: 0 / 1.172 GB, free: 1.402 MB / 0.92 GB Notification: Performance of matching and sorting (n=14): time 0.0003562/0.3023, allocations: 153.2 kB / 1.172 GB, free: 1.25 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.3024, allocations: 59.41 kB / 1.172 GB, free: 1.18 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000233/0.3026, allocations: 199.4 kB / 1.172 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.803e-05/0.3027, allocations: 33.7 kB / 1.172 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.3028, allocations: 120.5 kB / 1.172 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.705e-05/0.3028, allocations: 43.72 kB / 1.173 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.303, allocations: 57.58 kB / 1.173 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.3031, allocations: 330.8 kB / 1.173 GB, free: 388 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.541e-05/0.3032, allocations: 27.98 kB / 1.173 GB, free: 360 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002835/0.3035, allocations: 127.1 kB / 1.173 GB, free: 204 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/0.3037, allocations: 101.1 kB / 1.173 GB, free: 84 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.3037, allocations: 0 / 1.173 GB, free: 84 kB / 0.92 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003643/0.3041, allocations: 153.4 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.3041, allocations: 4.219 kB / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.98e-05/0.3041, allocations: 7.938 kB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.3042, allocations: 3.938 kB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.3043, allocations: 19.94 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.3043, allocations: 4.156 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002248/0.3045, allocations: 27.88 kB / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.3046, allocations: 4 kB / 1.173 GB, free: 15.86 MB / 0.9356 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.000188/0.3048, allocations: 147.5 kB / 1.173 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.3048, allocations: 15.91 kB / 1.173 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002762/0.3051, allocations: 131 kB / 1.174 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.3051, allocations: 4 kB / 1.174 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.3051, allocations: 0 / 1.174 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.493e-06/0.3051, allocations: 7.938 kB / 1.174 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007101/0.3058, allocations: 458.3 kB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.3059, allocations: 0 / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.511e-05/0.3059, allocations: 7.938 kB / 1.174 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.3059, allocations: 4 kB / 1.174 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.3059, allocations: 0 / 1.174 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.306, allocations: 4 kB / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.306, allocations: 0 / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002572/0.3062, allocations: 231.3 kB / 1.174 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.107e-05/0.3063, allocations: 97 kB / 1.174 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/0.3064, allocations: 4 kB / 1.174 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.3065, allocations: 7.984 kB / 1.174 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.733e-05/0.3065, allocations: 15.98 kB / 1.174 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-05/0.3066, allocations: 7.984 kB / 1.174 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000133/0.3067, allocations: 143 kB / 1.175 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.51e-07/0.3067, allocations: 4 kB / 1.175 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003375/0.3071, allocations: 43.92 kB / 1.175 GB, free: 14.45 MB / 0.9356 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.0007796/0.3079, allocations: 0.8197 MB / 1.175 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002408/0.3081, allocations: 103.5 kB / 1.176 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3081, allocations: 320 / 1.176 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.097e-05/0.3082, allocations: 47.92 kB / 1.176 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004123/0.3086, allocations: 35.97 kB / 1.176 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002343/0.311, allocations: 1.846 MB / 1.177 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.3113, allocations: 0.7202 MB / 1.178 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001019/0.3115, allocations: 25.47 kB / 1.178 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.646e-05/0.3116, allocations: 55.41 kB / 1.178 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of SimCode: time 3.11e-07/0.3116, allocations: 0 / 1.178 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02239/0.334, allocations: 5.097 MB / 1.183 GB, free: 5.672 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.088/8.422, allocations: 15.48 kB / 1.183 GB, free: 5.66 MB / 0.9356 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