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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.005277/0.005277, allocations: 97.95 kB / 15.73 MB, free: 6.062 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.001176/0.001176, allocations: 192.8 kB / 16.67 MB, free: 5.969 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.457/1.457, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.882/2.882, allocations: 469.4 MB / 0.7422 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001588/0.001588, allocations: 67.89 kB / 1.064 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3285, allocations: 159.1 MB / 1.22 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.00315/0.3316, allocations: 1.785 MB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001175/0.3328, allocations: 0.6006 MB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.633e-05/0.333, allocations: 3.938 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001854/0.3332, allocations: 27.73 kB / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003956/0.3336, allocations: 119.4 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003754/0.334, allocations: 150.3 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002939/0.3343, allocations: 231.4 kB / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.3344, allocations: 41.52 kB / 1.223 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.3345, allocations: 95.73 kB / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004632/0.3392, allocations: 0.812 MB / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.847e-05/0.3392, allocations: 16 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.597e-05/0.3394, allocations: 40 kB / 1.224 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.78e-05/0.3394, allocations: 35.84 kB / 1.224 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.3396, allocations: 95.55 kB / 1.224 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003412/0.3399, allocations: 207.1 kB / 1.224 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.3399, allocations: 0 / 1.224 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3399, allocations: 0 / 1.224 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.3399, allocations: 0 / 1.224 GB, free: 10.68 MB / 0.9825 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.0007796/0.3407, allocations: 0.5411 MB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.3408, allocations: 8.031 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.182e-05/0.3408, allocations: 46.69 kB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.764e-05/0.3409, allocations: 28.78 kB / 1.224 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002869/0.3412, allocations: 244.4 kB / 1.225 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.3412, allocations: 12 kB / 1.225 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.87e-05/0.3413, allocations: 12 kB / 1.225 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.3414, allocations: 101.6 kB / 1.225 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.3415, allocations: 3.938 kB / 1.225 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.3415, allocations: 4 kB / 1.225 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.3415, allocations: 7.938 kB / 1.225 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.3416, allocations: 51.97 kB / 1.225 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000818/0.3424, allocations: 468.4 kB / 1.225 GB, free: 9 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.3426, allocations: 74.55 kB / 1.225 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.541e-05/0.3427, allocations: 36.84 kB / 1.225 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.3427, allocations: 7.922 kB / 1.225 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001686/0.3429, allocations: 95.38 kB / 1.226 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 2.184e-06/0.3429, allocations: 0 / 1.226 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.0003068/0.3432, allocations: 153.8 kB / 1.226 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.3432, allocations: 51.41 kB / 1.226 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.3434, allocations: 203.4 kB / 1.226 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.649e-05/0.3435, allocations: 33.7 kB / 1.226 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.4e-05/0.3436, allocations: 120.5 kB / 1.226 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/0.3436, allocations: 35.69 kB / 1.226 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.911e-05/0.3437, allocations: 57.67 kB / 1.226 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.3438, allocations: 330.8 kB / 1.226 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.432e-05/0.3439, allocations: 31.98 kB / 1.226 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002327/0.3441, allocations: 124.5 kB / 1.227 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.3443, allocations: 108.1 kB / 1.227 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.3443, allocations: 4 kB / 1.227 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002439/0.3445, allocations: 141.4 kB / 1.227 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.3445, allocations: 8 kB / 1.227 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.3445, allocations: 3.938 kB / 1.227 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.3446, allocations: 8.156 kB / 1.227 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.3447, allocations: 19.94 kB / 1.227 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.3447, allocations: 7.984 kB / 1.227 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/0.3449, allocations: 15.89 kB / 1.227 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.3449, allocations: 8 kB / 1.227 GB, free: 7.223 MB / 0.9825 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.0001217/0.3451, allocations: 138.3 kB / 1.227 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/0.3451, allocations: 15.91 kB / 1.227 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002259/0.3453, allocations: 139.1 kB / 1.227 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.3453, allocations: 4 kB / 1.227 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3453, allocations: 0 / 1.227 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3454, allocations: 0 / 1.227 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000537/0.3459, allocations: 454.3 kB / 1.228 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3459, allocations: 0 / 1.228 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.029e-05/0.346, allocations: 4 kB / 1.228 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.289e-06/0.346, allocations: 4 kB / 1.228 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.346, allocations: 8 kB / 1.228 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.346, allocations: 7.984 kB / 1.228 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.346, allocations: 3.938 kB / 1.228 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002169/0.3462, allocations: 220.3 kB / 1.228 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.353e-05/0.3463, allocations: 100.9 kB / 1.228 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/0.3463, allocations: 4 kB / 1.228 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.3465, allocations: 11.98 kB / 1.228 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.684e-05/0.3465, allocations: 7.984 kB / 1.228 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.3465, allocations: 19.92 kB / 1.228 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001148/0.3467, allocations: 143.1 kB / 1.228 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3467, allocations: 0 / 1.228 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000311/0.347, allocations: 36 kB / 1.228 GB, free: 5.82 MB / 0.9825 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.0006925/0.3477, allocations: 0.823 MB / 1.229 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002183/0.3479, allocations: 92.03 kB / 1.229 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3479, allocations: 0 / 1.229 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.048e-05/0.348, allocations: 39.92 kB / 1.229 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003887/0.3484, allocations: 52.75 kB / 1.229 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002003/0.3504, allocations: 1.852 MB / 1.231 GB, free: 2.859 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/0.3507, allocations: 0.7202 MB / 1.232 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.756e-05/0.3508, allocations: 25.52 kB / 1.232 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.53e-05/0.3509, allocations: 51.41 kB / 1.232 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3509, allocations: 0 / 1.232 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02279/0.3737, allocations: 5.112 MB / 1.237 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.032/8.405, allocations: 15.55 kB / 1.237 GB, free: 13.03 MB / 0.9981 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 & python3 -m fmpy simulate --output-file Buildings_latest_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_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.csv","/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