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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001285/0.001285, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 194.5 kB / 16.53 MB, free: 6.664 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.351/1.351, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.607/2.607, allocations: 461.9 MB / 0.7346 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 63.36 kB / 0.8992 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3291, allocations: 157.4 MB / 1.053 GB, free: 8.316 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003583/0.3327, allocations: 1.784 MB / 1.055 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00123/0.3339, allocations: 0.601 MB / 1.055 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.3341, allocations: 0 / 1.055 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002068/0.3343, allocations: 27.73 kB / 1.055 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004132/0.3347, allocations: 119.4 kB / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003998/0.3351, allocations: 151.7 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003114/0.3354, allocations: 227.5 kB / 1.056 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.3356, allocations: 41.52 kB / 1.056 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001522/0.3358, allocations: 103.7 kB / 1.056 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004663/0.3404, allocations: 0.7944 MB / 1.057 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.19e-05/0.3405, allocations: 16 kB / 1.057 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.3406, allocations: 40 kB / 1.057 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.572e-05/0.3407, allocations: 51.75 kB / 1.057 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.3408, allocations: 83.58 kB / 1.057 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003188/0.3411, allocations: 199.4 kB / 1.057 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.3412, allocations: 4 kB / 1.057 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3412, allocations: 0 / 1.057 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.3412, allocations: 0 / 1.057 GB, free: 4.266 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.0007795/0.342, allocations: 0.5412 MB / 1.058 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.342, allocations: 12.62 kB / 1.058 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.857e-05/0.3421, allocations: 42.73 kB / 1.058 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.038e-05/0.3421, allocations: 16.75 kB / 1.058 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002944/0.3424, allocations: 244.3 kB / 1.058 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.3425, allocations: 8 kB / 1.058 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.593e-05/0.3425, allocations: 15.98 kB / 1.058 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.3427, allocations: 99.47 kB / 1.058 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.3427, allocations: 0 / 1.058 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.3427, allocations: 4 kB / 1.058 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.3427, allocations: 7.938 kB / 1.058 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.3429, allocations: 55.97 kB / 1.058 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008231/0.3437, allocations: 468.4 kB / 1.058 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/0.3439, allocations: 74.55 kB / 1.059 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.192e-05/0.3439, allocations: 32.84 kB / 1.059 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.3439, allocations: 3.984 kB / 1.059 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001816/0.3441, allocations: 99.22 kB / 1.059 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=14): time 1.623e-06/0.3441, allocations: 0 / 1.059 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14): time 0.0003184/0.3445, allocations: 149.6 kB / 1.059 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.3445, allocations: 63.34 kB / 1.059 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.3447, allocations: 186.9 kB / 1.059 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.3447, allocations: 33.7 kB / 1.059 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.69e-05/0.3448, allocations: 128.3 kB / 1.059 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.212e-05/0.3449, allocations: 35.55 kB / 1.059 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.549e-05/0.345, allocations: 57.66 kB / 1.059 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.961e-05/0.3451, allocations: 326.8 kB / 1.06 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.194e-05/0.3451, allocations: 35.98 kB / 1.06 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002291/0.3454, allocations: 129.7 kB / 1.06 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.3455, allocations: 99.92 kB / 1.06 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3455, allocations: 3.938 kB / 1.06 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002394/0.3458, allocations: 149.4 kB / 1.06 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.3458, allocations: 8 kB / 1.06 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.3458, allocations: 4.094 kB / 1.06 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.3458, allocations: 8 kB / 1.06 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.463e-05/0.3459, allocations: 19.92 kB / 1.06 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.3459, allocations: 0 / 1.06 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001987/0.3461, allocations: 27.83 kB / 1.06 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.3462, allocations: 4 kB / 1.06 GB, free: 0.832 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.0001188/0.3463, allocations: 137.8 kB / 1.06 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.108e-05/0.3463, allocations: 19.81 kB / 1.06 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002116/0.3465, allocations: 135.1 kB / 1.06 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3465, allocations: 0 / 1.06 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3466, allocations: 0 / 1.06 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.716e-06/0.3466, allocations: 0 / 1.06 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005269/0.3471, allocations: 454.2 kB / 1.061 GB, free: 32 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3471, allocations: 0 / 1.061 GB, free: 32 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.122e-05/0.3472, allocations: 8 kB / 1.061 GB, free: 24 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.044e-06/0.3472, allocations: 0 / 1.061 GB, free: 24 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.3472, allocations: 11.92 kB / 1.061 GB, free: 12 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.3472, allocations: 4 kB / 1.061 GB, free: 8 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3472, allocations: 0 / 1.061 GB, free: 8 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00023/0.3474, allocations: 213.4 kB / 1.061 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.644e-05/0.3475, allocations: 100.8 kB / 1.061 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.769e-05/0.3476, allocations: 7.984 kB / 1.061 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.3477, allocations: 4 kB / 1.061 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.201e-05/0.3477, allocations: 27.97 kB / 1.061 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/0.3478, allocations: 4 kB / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001077/0.3479, allocations: 140.4 kB / 1.061 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3479, allocations: 4 kB / 1.061 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003127/0.3482, allocations: 36 kB / 1.061 GB, free: 15.45 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.0007093/0.3489, allocations: 0.8183 MB / 1.062 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002833/0.3492, allocations: 103.8 kB / 1.062 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.3492, allocations: 0 / 1.062 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.536e-05/0.3493, allocations: 46.92 kB / 1.062 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000458/0.3498, allocations: 60.66 kB / 1.062 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002515/0.3523, allocations: 1.843 MB / 1.064 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.3526, allocations: 0.7202 MB / 1.065 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001049/0.3528, allocations: 25.53 kB / 1.065 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.3529, allocations: 47.41 kB / 1.065 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of SimCode: time 4.71e-07/0.3529, allocations: 4 kB / 1.065 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02425/0.3771, allocations: 5.048 MB / 1.07 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.306/7.683, allocations: 4.766 kB / 1.07 GB, free: 6.699 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