Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_9_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.001218/0.001218, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001245/0.001245, allocations: 191.1 kB / 16.25 MB, free: 6.625 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.238/1.238, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.136/2.136, allocations: 390.3 MB / 0.6644 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 63.91 kB / 0.8122 GB, free: 14.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6809/0.6822, allocations: 140.4 MB / 0.9492 GB, free: 9.059 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.002967/0.6852, allocations: 1.927 MB / 0.9511 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009579/0.6862, allocations: 0.6456 MB / 0.9517 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.067e-05/0.6863, allocations: 0.9375 kB / 0.9517 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001756/0.6864, allocations: 29.17 kB / 0.9518 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002821/0.6867, allocations: 97.62 kB / 0.9519 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002801/0.687, allocations: 137 kB / 0.952 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002341/0.6873, allocations: 230.1 kB / 0.9522 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.6874, allocations: 38.16 kB / 0.9522 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.6875, allocations: 102.1 kB / 0.9523 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009891/0.6974, allocations: 0.8017 MB / 0.9531 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.013e-05/0.6975, allocations: 15.84 kB / 0.9531 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001403/0.6976, allocations: 34.62 kB / 0.9532 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.549e-05/0.6977, allocations: 37.25 kB / 0.9532 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.6978, allocations: 89.22 kB / 0.9533 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002919/0.6981, allocations: 210.4 kB / 0.9535 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.6982, allocations: 0 / 0.9535 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.435e-06/0.6982, allocations: 0 / 0.9535 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.6982, allocations: 0 / 0.9535 GB, free: 6.07 MB / 0.7169 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.0007154/0.6989, allocations: 0.5408 MB / 0.954 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.699, allocations: 9.156 kB / 0.954 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.587e-05/0.699, allocations: 42.38 kB / 0.9541 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.846e-05/0.6991, allocations: 23.28 kB / 0.9541 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.6993, allocations: 242.7 kB / 0.9543 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.6993, allocations: 10.5 kB / 0.9543 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.328e-05/0.6994, allocations: 21.88 kB / 0.9544 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.6995, allocations: 95.23 kB / 0.9544 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.6996, allocations: 4 kB / 0.9544 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.6996, allocations: 5.312 kB / 0.9545 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.6996, allocations: 5.312 kB / 0.9545 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.6997, allocations: 53.94 kB / 0.9545 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007553/0.7005, allocations: 479.3 kB / 0.955 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.7006, allocations: 78.42 kB / 0.955 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.158e-05/0.7007, allocations: 27.95 kB / 0.9551 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/0.7007, allocations: 5.391 kB / 0.9551 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001603/0.7009, allocations: 102.4 kB / 0.9552 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 1.423e-06/0.7009, allocations: 0 / 0.9552 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.000402/0.7013, allocations: 146.2 kB / 0.9553 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.7014, allocations: 55.34 kB / 0.9554 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.7015, allocations: 190.7 kB / 0.9555 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.07e-05/0.7016, allocations: 33.23 kB / 0.9556 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.992e-05/0.7017, allocations: 118.1 kB / 0.9557 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.886e-05/0.7017, allocations: 32.61 kB / 0.9557 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.678e-05/0.7018, allocations: 50.56 kB / 0.9558 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.468e-05/0.7019, allocations: 335.2 kB / 0.9561 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.316e-05/0.702, allocations: 29.23 kB / 0.9561 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002559/0.7022, allocations: 128.2 kB / 0.9562 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001668/0.7024, allocations: 103.1 kB / 0.9563 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.7024, allocations: 1.125 kB / 0.9563 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002681/0.7027, allocations: 146.6 kB / 0.9565 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.7027, allocations: 8.406 kB / 0.9565 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.7028, allocations: 10.09 kB / 0.9565 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.7028, allocations: 2.25 kB / 0.9565 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.7029, allocations: 20.19 kB / 0.9565 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.7029, allocations: 3.344 kB / 0.9565 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002343/0.7031, allocations: 21.11 kB / 0.9565 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.7032, allocations: 9.594 kB / 0.9565 GB, free: 3.352 MB / 0.7169 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.00013/0.7033, allocations: 138 kB / 0.9567 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.04e-05/0.7033, allocations: 19.59 kB / 0.9567 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002447/0.7036, allocations: 136 kB / 0.9568 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.7036, allocations: 1.312 kB / 0.9568 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.7036, allocations: 0 / 0.9568 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.7036, allocations: 1.406 kB / 0.9568 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005661/0.7042, allocations: 458.1 kB / 0.9573 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.7042, allocations: 0 / 0.9573 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.126e-05/0.7043, allocations: 17.34 kB / 0.9573 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.7043, allocations: 1.125 kB / 0.9573 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.7043, allocations: 1.5 kB / 0.9573 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.7043, allocations: 5.156 kB / 0.9573 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.7043, allocations: 0 / 0.9573 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002147/0.7045, allocations: 225.5 kB / 0.9575 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.074e-05/0.7046, allocations: 96.66 kB / 0.9576 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.635e-05/0.7047, allocations: 1.406 kB / 0.9576 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.892e-05/0.7048, allocations: 15.8 kB / 0.9576 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.35e-05/0.7049, allocations: 14.89 kB / 0.9576 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.85e-05/0.7049, allocations: 9.859 kB / 0.9576 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001058/0.705, allocations: 138.1 kB / 0.9578 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.705, allocations: 0 / 0.9578 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003217/0.7053, allocations: 51.39 kB / 0.9578 GB, free: 2.262 MB / 0.7169 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.0007081/0.7061, allocations: 0.8234 MB / 0.9586 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002565/0.7063, allocations: 105.3 kB / 0.9587 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.7063, allocations: 1.375 kB / 0.9587 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.673e-05/0.7064, allocations: 43.42 kB / 0.9588 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004239/0.7069, allocations: 42.78 kB / 0.9588 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002522/0.7094, allocations: 1.878 MB / 0.9606 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004246/0.7099, allocations: 0.7239 MB / 0.9613 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000121/0.71, allocations: 26.45 kB / 0.9614 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.7101, allocations: 51.98 kB / 0.9614 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of SimCode: time 4.51e-07/0.7101, allocations: 0 / 0.9614 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01691/0.727, allocations: 4.885 MB / 0.9662 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002533/0.7273, allocations: 240.3 kB / 0.9664 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.847/2.574, allocations: 1.062 kB / 0.9664 GB, free: 12.36 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Plotters_Examples_Scatter_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Plotters_Examples_Scatter.fmu > Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Examples_Scatter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches