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.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.00142/0.00142, allocations: 99.64 kB / 18.95 MB, free: 2.836 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.001747/0.001747, allocations: 213.9 kB / 22.24 MB, free: 5.113 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.505/1.505, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.386/3.386, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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"}) [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.002134/0.002134, allocations: 63.91 kB / 1.186 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3833/0.3855, allocations: 181.9 MB / 1.363 GB, free: 14.13 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.00342/0.3889, allocations: 1.772 MB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001391/0.3903, allocations: 0.5822 MB / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.255e-05/0.3904, allocations: 7.938 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002173/0.3906, allocations: 31.7 kB / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003939/0.391, allocations: 119.4 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003828/0.3914, allocations: 155.6 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003181/0.3917, allocations: 231.4 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.3918, allocations: 33.95 kB / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001383/0.392, allocations: 107.7 kB / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006054/0.398, allocations: 0.7912 MB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.809e-05/0.3981, allocations: 16 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.3982, allocations: 43.97 kB / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.21e-05/0.3983, allocations: 39.84 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001289/0.3984, allocations: 75.62 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004494/0.3989, allocations: 211.1 kB / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.3989, allocations: 0 / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.944e-06/0.3989, allocations: 0 / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.378e-06/0.3989, allocations: 4 kB / 1.367 GB, free: 10.09 MB / 1.061 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.0009938/0.3999, allocations: 473 kB / 1.368 GB, free: 9.59 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.689e-05/0.3999, allocations: 8.031 kB / 1.368 GB, free: 9.582 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.98e-05/0.4, allocations: 50.73 kB / 1.368 GB, free: 9.523 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.801e-05/0.4001, allocations: 24.8 kB / 1.368 GB, free: 9.5 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003471/0.4004, allocations: 186.5 kB / 1.368 GB, free: 9.289 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/0.4005, allocations: 12 kB / 1.368 GB, free: 9.277 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.877e-05/0.4005, allocations: 16 kB / 1.368 GB, free: 9.262 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002187/0.4007, allocations: 99.7 kB / 1.368 GB, free: 9.16 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.4007, allocations: 3.984 kB / 1.368 GB, free: 9.156 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.4007, allocations: 4 kB / 1.368 GB, free: 9.152 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.4008, allocations: 11.88 kB / 1.368 GB, free: 9.141 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/0.4009, allocations: 51.97 kB / 1.368 GB, free: 9.09 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008745/0.4018, allocations: 399.5 kB / 1.369 GB, free: 8.656 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.4019, allocations: 74.55 kB / 1.369 GB, free: 8.574 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.382e-05/0.402, allocations: 28.84 kB / 1.369 GB, free: 8.543 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.402, allocations: 4 kB / 1.369 GB, free: 8.539 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001927/0.4022, allocations: 87.38 kB / 1.369 GB, free: 8.441 MB / 1.061 GB Notification: Performance of pre-optimization done (n=14): time 1.844e-06/0.4022, allocations: 0 / 1.369 GB, free: 8.441 MB / 1.061 GB Notification: Performance of matching and sorting (n=14): time 0.0003503/0.4025, allocations: 160.9 kB / 1.369 GB, free: 8.281 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/0.4026, allocations: 59.39 kB / 1.369 GB, free: 8.211 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002261/0.4028, allocations: 191.9 kB / 1.369 GB, free: 8.016 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.512e-05/0.4029, allocations: 29.7 kB / 1.369 GB, free: 7.98 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.403, allocations: 116.5 kB / 1.369 GB, free: 7.863 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.125e-05/0.403, allocations: 47.69 kB / 1.369 GB, free: 7.816 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.847e-05/0.4031, allocations: 53.67 kB / 1.37 GB, free: 7.758 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001736/0.4033, allocations: 326.8 kB / 1.37 GB, free: 7.43 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.066e-05/0.4033, allocations: 27.98 kB / 1.37 GB, free: 7.402 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003184/0.4036, allocations: 243.2 kB / 1.37 GB, free: 7.109 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/0.4038, allocations: 105.2 kB / 1.37 GB, free: 6.988 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.4038, allocations: 8 kB / 1.37 GB, free: 6.98 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002578/0.4041, allocations: 149.4 kB / 1.37 GB, free: 6.828 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.4041, allocations: 4 kB / 1.37 GB, free: 6.824 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.4041, allocations: 3.938 kB / 1.37 GB, free: 6.82 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.4041, allocations: 4 kB / 1.37 GB, free: 6.816 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.4042, allocations: 23.92 kB / 1.37 GB, free: 6.793 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.4042, allocations: 4 kB / 1.37 GB, free: 6.789 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001795/0.4044, allocations: 15.89 kB / 1.37 GB, free: 6.773 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.4044, allocations: 16.16 kB / 1.37 GB, free: 6.758 MB / 1.061 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.0001485/0.4046, allocations: 133.6 kB / 1.371 GB, free: 6.617 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.124e-05/0.4046, allocations: 23.8 kB / 1.371 GB, free: 6.594 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002423/0.4049, allocations: 127 kB / 1.371 GB, free: 6.457 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.4049, allocations: 0 / 1.371 GB, free: 6.457 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/0.4049, allocations: 4 kB / 1.371 GB, free: 6.453 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.4049, allocations: 0 / 1.371 GB, free: 6.453 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005988/0.4055, allocations: 420.1 kB / 1.371 GB, free: 5.996 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.4055, allocations: 0 / 1.371 GB, free: 5.996 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.32e-05/0.4055, allocations: 19.98 kB / 1.371 GB, free: 5.977 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.4055, allocations: 4 kB / 1.371 GB, free: 5.973 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.948e-06/0.4055, allocations: 0 / 1.371 GB, free: 5.973 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.4055, allocations: 0 / 1.371 GB, free: 5.973 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.4055, allocations: 0 / 1.371 GB, free: 5.973 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002528/0.4058, allocations: 215.3 kB / 1.371 GB, free: 5.746 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.371e-05/0.4059, allocations: 27.88 kB / 1.371 GB, free: 5.719 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.4059, allocations: 4 kB / 1.371 GB, free: 5.715 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.805e-05/0.406, allocations: 4 kB / 1.371 GB, free: 5.711 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.103e-05/0.406, allocations: 24.02 kB / 1.371 GB, free: 5.688 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.378e-05/0.4061, allocations: 11.98 kB / 1.371 GB, free: 5.676 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001483/0.4062, allocations: 139.4 kB / 1.372 GB, free: 5.539 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.4062, allocations: 0 / 1.372 GB, free: 5.539 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003098/0.4065, allocations: 51.92 kB / 1.372 GB, free: 5.488 MB / 1.061 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.0008689/0.4074, allocations: 0.8185 MB / 1.372 GB, free: 4.668 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002262/0.4076, allocations: 87.91 kB / 1.372 GB, free: 4.582 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.4076, allocations: 0 / 1.372 GB, free: 4.582 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.364e-05/0.4077, allocations: 46.28 kB / 1.373 GB, free: 4.539 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004094/0.4081, allocations: 52.03 kB / 1.373 GB, free: 4.492 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002375/0.4105, allocations: 1.846 MB / 1.374 GB, free: 2.535 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001146/0.4106, allocations: 111.4 kB / 1.374 GB, free: 2.402 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.304e-05/0.4107, allocations: 25.47 kB / 1.375 GB, free: 2.379 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.522e-05/0.4108, allocations: 51.41 kB / 1.375 GB, free: 2.332 MB / 1.061 GB Notification: Performance of SimCode: time 6.41e-07/0.4108, allocations: 0 / 1.375 GB, free: 2.332 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03701/0.4478, allocations: 5.939 MB / 1.38 GB, free: 12.58 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.07, allocations: 15.08 kB / 1.38 GB, free: 12.57 MB / 1.076 GB " [Timeout remaining time 288] (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 800 --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) [Timeout 840.0] 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) [Timeout 300] "Error: Could not read variable sca.y[1] in file Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter_res.csv. Warning: Get data of variable sca.y[1] from file Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.392605094239116]