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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.008891/0.008891, allocations: 99.34 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.00213/0.00213, allocations: 199.6 kB / 16.68 MB, free: 5.961 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.458/1.458, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.902/2.902, allocations: 482.6 MB / 0.755 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 64.12 kB / 1.083 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3282, allocations: 162.3 MB / 1.242 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003643/0.3319, allocations: 1.767 MB / 1.244 GB, free: 8.055 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001301/0.3332, allocations: 0.6044 MB / 1.244 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.4e-05/0.3333, allocations: 4 kB / 1.244 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002223/0.3336, allocations: 27.73 kB / 1.244 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004018/0.334, allocations: 123.4 kB / 1.244 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003925/0.3344, allocations: 147.7 kB / 1.244 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003187/0.3347, allocations: 223.4 kB / 1.245 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000169/0.3349, allocations: 45.52 kB / 1.245 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001395/0.335, allocations: 99.73 kB / 1.245 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005951/0.341, allocations: 0.8102 MB / 1.246 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.782e-05/0.3411, allocations: 16 kB / 1.246 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.3412, allocations: 39.94 kB / 1.246 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.703e-05/0.3413, allocations: 39.83 kB / 1.246 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.3414, allocations: 83.58 kB / 1.246 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003865/0.3418, allocations: 211.1 kB / 1.246 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.3418, allocations: 0 / 1.246 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3419, allocations: 4 kB / 1.246 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.3419, allocations: 0 / 1.246 GB, free: 5.777 MB / 0.9981 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.0008131/0.3427, allocations: 0.541 MB / 1.246 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.3427, allocations: 8.031 kB / 1.246 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.324e-05/0.3428, allocations: 42.75 kB / 1.247 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.585e-05/0.3428, allocations: 24.8 kB / 1.247 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002962/0.3431, allocations: 244.4 kB / 1.247 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.3432, allocations: 16 kB / 1.247 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.296e-05/0.3432, allocations: 16 kB / 1.247 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.3434, allocations: 93.64 kB / 1.247 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.3434, allocations: 0 / 1.247 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.3435, allocations: 7.938 kB / 1.247 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.3435, allocations: 7.938 kB / 1.247 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.3436, allocations: 51.97 kB / 1.247 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008164/0.3444, allocations: 476.3 kB / 1.247 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.3446, allocations: 82.48 kB / 1.248 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.942e-05/0.3446, allocations: 24.86 kB / 1.248 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.3447, allocations: 4 kB / 1.248 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001908/0.3449, allocations: 103.3 kB / 1.248 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=14): time 1.583e-06/0.3449, allocations: 0 / 1.248 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14): time 0.0003133/0.3452, allocations: 149.6 kB / 1.248 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/0.3453, allocations: 55.62 kB / 1.248 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001957/0.3455, allocations: 186.4 kB / 1.248 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001168/0.3456, allocations: 37.64 kB / 1.248 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.3457, allocations: 124.4 kB / 1.248 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.77e-05/0.3457, allocations: 39.72 kB / 1.248 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.3458, allocations: 53.69 kB / 1.248 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.346, allocations: 330.8 kB / 1.249 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.245e-05/0.3461, allocations: 31.94 kB / 1.249 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00024/0.3463, allocations: 120.5 kB / 1.249 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.3465, allocations: 115.6 kB / 1.249 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3465, allocations: 0 / 1.249 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002467/0.3467, allocations: 149.5 kB / 1.249 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.3468, allocations: 4 kB / 1.249 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.3468, allocations: 7.938 kB / 1.249 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.3468, allocations: 0 / 1.249 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.336e-05/0.3469, allocations: 16 kB / 1.249 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.3469, allocations: 7.938 kB / 1.249 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001801/0.3471, allocations: 19.92 kB / 1.249 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.3471, allocations: 15.98 kB / 1.249 GB, free: 2.328 MB / 0.9981 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.0001322/0.3472, allocations: 133.9 kB / 1.249 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/0.3473, allocations: 15.91 kB / 1.249 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002412/0.3475, allocations: 135 kB / 1.249 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3475, allocations: 4 kB / 1.249 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3475, allocations: 0 / 1.249 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.3476, allocations: 4 kB / 1.249 GB, free: 2.023 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000561/0.3481, allocations: 457.4 kB / 1.25 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3481, allocations: 0 / 1.25 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.51e-05/0.3482, allocations: 8 kB / 1.25 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.3482, allocations: 4 kB / 1.25 GB, free: 1.512 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.3482, allocations: 7.938 kB / 1.25 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3482, allocations: 0 / 1.25 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.3482, allocations: 0 / 1.25 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002309/0.3484, allocations: 231.2 kB / 1.25 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.258e-05/0.3485, allocations: 104.9 kB / 1.25 GB, free: 1.141 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.3486, allocations: 0 / 1.25 GB, free: 1.141 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.3487, allocations: 15.98 kB / 1.25 GB, free: 1.125 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.191e-05/0.3487, allocations: 15.98 kB / 1.25 GB, free: 1.109 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.199e-05/0.3488, allocations: 7.984 kB / 1.25 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001239/0.3489, allocations: 137.5 kB / 1.25 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3489, allocations: 0 / 1.25 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002949/0.3492, allocations: 43.98 kB / 1.25 GB, free: 0.9258 MB / 0.9981 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.0007946/0.35, allocations: 0.8194 MB / 1.251 GB, free: 108 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002058/0.3502, allocations: 91.88 kB / 1.251 GB, free: 16 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3502, allocations: 0 / 1.251 GB, free: 16 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.5593/0.9096, allocations: 36.14 kB / 1.251 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005643/0.9102, allocations: 51.53 kB / 1.251 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002103/0.9123, allocations: 1.851 MB / 1.253 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001714/0.9125, allocations: 0.7206 MB / 1.254 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001016/0.9126, allocations: 22.47 kB / 1.254 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.958e-05/0.9127, allocations: 52.14 kB / 1.254 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of SimCode: time 9.32e-07/0.9127, allocations: 1.25 kB / 1.254 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5176/1.43, allocations: 5.112 MB / 1.259 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.634/10.06, allocations: 12.62 kB / 1.259 GB, free: 12.13 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 & /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=400 --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