Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001961/0.001961, allocations: 107.1 kB / 16.45 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002345/0.002345, allocations: 210.4 kB / 19.43 MB, free: 3.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.513/1.513, allocations: 230.6 MB / 252.8 MB, free: 8.949 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.112/3.112, allocations: 476.7 MB / 0.7672 GB, free: 5.203 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 63.89 kB / 1.112 GB, free: 1.539 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.048/1.05, allocations: 169.9 MB / 1.278 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003556/1.053, allocations: 1.805 MB / 1.28 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001256/1.055, allocations: 0.6021 MB / 1.281 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.207e-05/1.055, allocations: 0 / 1.281 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002135/1.055, allocations: 27.72 kB / 1.281 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004193/1.055, allocations: 123.4 kB / 1.281 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003809/1.056, allocations: 155.1 kB / 1.281 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003155/1.056, allocations: 223.5 kB / 1.281 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/1.056, allocations: 27.38 kB / 1.281 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/1.056, allocations: 115.7 kB / 1.281 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006275/1.063, allocations: 0.8007 MB / 1.282 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.887e-05/1.063, allocations: 16 kB / 1.282 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/1.063, allocations: 39.98 kB / 1.282 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.833e-05/1.063, allocations: 51.77 kB / 1.282 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001212/1.063, allocations: 83.56 kB / 1.282 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004057/1.063, allocations: 207.2 kB / 1.282 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/1.063, allocations: 4 kB / 1.282 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.733e-06/1.063, allocations: 0 / 1.282 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.214e-06/1.063, allocations: 0 / 1.282 GB, free: 9.309 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.0008171/1.064, allocations: 0.5449 MB / 1.283 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/1.064, allocations: 12.03 kB / 1.283 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.461e-05/1.064, allocations: 42.73 kB / 1.283 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.885e-05/1.064, allocations: 16.84 kB / 1.283 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003345/1.065, allocations: 252.9 kB / 1.283 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/1.065, allocations: 8 kB / 1.283 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.685e-05/1.065, allocations: 16 kB / 1.283 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/1.065, allocations: 96.66 kB / 1.283 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/1.065, allocations: 0 / 1.283 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/1.065, allocations: 11.98 kB / 1.283 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/1.065, allocations: 7.922 kB / 1.283 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/1.065, allocations: 51.97 kB / 1.283 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008969/1.066, allocations: 476.3 kB / 1.284 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001911/1.066, allocations: 70.5 kB / 1.284 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.548e-05/1.066, allocations: 28.84 kB / 1.284 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.532e-05/1.066, allocations: 224 / 1.284 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002148/1.067, allocations: 99.3 kB / 1.284 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/1.067, allocations: 4 kB / 1.284 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.0003436/1.067, allocations: 149.7 kB / 1.284 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/1.067, allocations: 55.34 kB / 1.284 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002201/1.067, allocations: 196.7 kB / 1.284 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.049e-05/1.067, allocations: 37.69 kB / 1.284 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/1.067, allocations: 124.4 kB / 1.285 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.247e-05/1.067, allocations: 31.73 kB / 1.285 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.992e-05/1.067, allocations: 57.67 kB / 1.285 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001561/1.068, allocations: 330.8 kB / 1.285 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.456e-05/1.068, allocations: 27.98 kB / 1.285 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002496/1.068, allocations: 126.6 kB / 1.285 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/1.068, allocations: 107.7 kB / 1.285 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/1.068, allocations: 0 / 1.285 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002815/1.068, allocations: 153.3 kB / 1.285 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/1.068, allocations: 8 kB / 1.285 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/1.068, allocations: 8.094 kB / 1.285 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/1.068, allocations: 7.984 kB / 1.285 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/1.068, allocations: 16 kB / 1.285 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/1.068, allocations: 4 kB / 1.285 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001956/1.069, allocations: 19.88 kB / 1.285 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/1.069, allocations: 8 kB / 1.285 GB, free: 5.863 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.0001399/1.069, allocations: 140 kB / 1.286 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/1.069, allocations: 11.91 kB / 1.286 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002418/1.069, allocations: 140.8 kB / 1.286 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/1.069, allocations: 0 / 1.286 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/1.069, allocations: 0 / 1.286 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/1.069, allocations: 3.984 kB / 1.286 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006337/1.07, allocations: 454.3 kB / 1.286 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/1.07, allocations: 3.938 kB / 1.286 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.433e-05/1.07, allocations: 7.984 kB / 1.286 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/1.07, allocations: 0 / 1.286 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/1.07, allocations: 8 kB / 1.286 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/1.07, allocations: 4 kB / 1.286 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.07, allocations: 0 / 1.286 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002439/1.07, allocations: 221.1 kB / 1.286 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.414e-05/1.07, allocations: 100.9 kB / 1.287 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/1.07, allocations: 4 kB / 1.287 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/1.07, allocations: 15.92 kB / 1.287 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.269e-05/1.07, allocations: 7.984 kB / 1.287 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-05/1.07, allocations: 16 kB / 1.287 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001322/1.07, allocations: 140.3 kB / 1.287 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/1.07, allocations: 0 / 1.287 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003179/1.071, allocations: 43.94 kB / 1.287 GB, free: 4.461 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.0008701/1.072, allocations: 0.8151 MB / 1.288 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002307/1.072, allocations: 92.41 kB / 1.288 GB, free: 3.551 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/1.072, allocations: 0 / 1.288 GB, free: 3.551 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001024/1.072, allocations: 43.91 kB / 1.288 GB, free: 3.508 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003975/1.072, allocations: 44.44 kB / 1.288 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002264/1.075, allocations: 1.847 MB / 1.29 GB, free: 1.516 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/1.075, allocations: 0.728 MB / 1.29 GB, free: 0.7617 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.794e-05/1.075, allocations: 25.47 kB / 1.29 GB, free: 0.7383 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.884e-05/1.075, allocations: 51.42 kB / 1.29 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/1.075, allocations: 0 / 1.29 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03222/1.107, allocations: 5.139 MB / 1.295 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.413/9.521, allocations: 0 / 1.295 GB, free: 11.66 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Utilities_Plotters_Examples_Scatter.fmu > Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Examples_Scatter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable sca.y[1] in file Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter_res.csv. Warning: Get data of variable sca.y[1] from file Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.07959843496792]