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.001297/0.001297, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00149/0.00149, allocations: 214.6 kB / 22.25 MB, free: 5.078 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.503/1.503, allocations: 230.6 MB / 256 MB, free: 8.023 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.392/3.392, allocations: 0.505 GB / 0.8101 GB, free: 22.07 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.002142/0.002142, allocations: 75.44 kB / 1.177 GB, free: 17.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3896/0.3918, allocations: 180.2 MB / 1.353 GB, free: 8.559 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003315/0.3951, allocations: 1.804 MB / 1.355 GB, free: 6.738 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.3963, allocations: 0.6167 MB / 1.355 GB, free: 6.121 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.163e-05/0.3964, allocations: 3.938 kB / 1.355 GB, free: 6.117 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001923/0.3966, allocations: 27.73 kB / 1.355 GB, free: 6.09 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003671/0.3969, allocations: 123.4 kB / 1.355 GB, free: 5.969 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003833/0.3973, allocations: 155.7 kB / 1.355 GB, free: 5.816 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003157/0.3976, allocations: 231.4 kB / 1.356 GB, free: 5.59 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.3978, allocations: 33.89 kB / 1.356 GB, free: 5.559 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001686/0.3979, allocations: 103.7 kB / 1.356 GB, free: 5.457 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006117/0.4041, allocations: 0.8098 MB / 1.357 GB, free: 4.832 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.507e-05/0.4041, allocations: 16 kB / 1.357 GB, free: 4.816 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.4042, allocations: 40 kB / 1.357 GB, free: 4.777 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.723e-05/0.4043, allocations: 39.83 kB / 1.357 GB, free: 4.738 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.4045, allocations: 91.52 kB / 1.357 GB, free: 4.648 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004223/0.4049, allocations: 207.2 kB / 1.357 GB, free: 4.445 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.4049, allocations: 0 / 1.357 GB, free: 4.445 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.844e-06/0.4049, allocations: 4 kB / 1.357 GB, free: 4.441 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.509e-05/0.4049, allocations: 0 / 1.357 GB, free: 4.441 MB / 1.045 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.0008564/0.4058, allocations: 480.8 kB / 1.357 GB, free: 3.93 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.4058, allocations: 8.031 kB / 1.357 GB, free: 3.922 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.306e-05/0.4059, allocations: 42.75 kB / 1.358 GB, free: 3.871 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.625e-05/0.4059, allocations: 24.8 kB / 1.358 GB, free: 3.848 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003145/0.4063, allocations: 178.7 kB / 1.358 GB, free: 3.645 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.427e-05/0.4063, allocations: 15.98 kB / 1.358 GB, free: 3.629 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.202e-05/0.4063, allocations: 12 kB / 1.358 GB, free: 3.617 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002252/0.4065, allocations: 102.3 kB / 1.358 GB, free: 3.512 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.4066, allocations: 0 / 1.358 GB, free: 3.512 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.4066, allocations: 0 / 1.358 GB, free: 3.512 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.4066, allocations: 7.938 kB / 1.358 GB, free: 3.504 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.4067, allocations: 55.91 kB / 1.358 GB, free: 3.449 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009203/0.4076, allocations: 443.4 kB / 1.358 GB, free: 2.973 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.4078, allocations: 70.55 kB / 1.358 GB, free: 2.895 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.563e-05/0.4079, allocations: 24.86 kB / 1.358 GB, free: 2.867 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.951e-05/0.4079, allocations: 7.984 kB / 1.358 GB, free: 2.859 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002046/0.4081, allocations: 102.6 kB / 1.359 GB, free: 2.75 MB / 1.045 GB Notification: Performance of pre-optimization done (n=14): time 1.362e-06/0.4081, allocations: 3.938 kB / 1.359 GB, free: 2.746 MB / 1.045 GB Notification: Performance of matching and sorting (n=14): time 0.0003494/0.4084, allocations: 153.7 kB / 1.359 GB, free: 2.59 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.475e-05/0.4085, allocations: 51.41 kB / 1.359 GB, free: 2.527 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/0.4087, allocations: 195 kB / 1.359 GB, free: 2.328 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.893e-05/0.4088, allocations: 29.7 kB / 1.359 GB, free: 2.293 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.4089, allocations: 116.5 kB / 1.359 GB, free: 2.176 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.15e-05/0.4089, allocations: 39.72 kB / 1.359 GB, free: 2.137 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.032e-05/0.409, allocations: 57.69 kB / 1.359 GB, free: 2.074 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.4091, allocations: 330.8 kB / 1.359 GB, free: 1.742 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.425e-05/0.4092, allocations: 35.94 kB / 1.359 GB, free: 1.707 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002322/0.4094, allocations: 126.5 kB / 1.36 GB, free: 1.555 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.4096, allocations: 109.1 kB / 1.36 GB, free: 1.43 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.4096, allocations: 0 / 1.36 GB, free: 1.43 MB / 1.045 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002497/0.4099, allocations: 155.8 kB / 1.36 GB, free: 1.273 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.4099, allocations: 4 kB / 1.36 GB, free: 1.27 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.4099, allocations: 3.938 kB / 1.36 GB, free: 1.266 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.4099, allocations: 4 kB / 1.36 GB, free: 1.262 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.41, allocations: 15.94 kB / 1.36 GB, free: 1.246 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.41, allocations: 4 kB / 1.36 GB, free: 1.242 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/0.4102, allocations: 23.88 kB / 1.36 GB, free: 1.219 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.4102, allocations: 8 kB / 1.36 GB, free: 1.211 MB / 1.045 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.0001588/0.4104, allocations: 145.8 kB / 1.36 GB, free: 1.059 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.524e-05/0.4104, allocations: 15.91 kB / 1.36 GB, free: 1.043 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002429/0.4106, allocations: 127 kB / 1.36 GB, free: 0.9062 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.4106, allocations: 0 / 1.36 GB, free: 0.9062 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.4106, allocations: 0 / 1.36 GB, free: 0.9062 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.4107, allocations: 4 kB / 1.36 GB, free: 0.9023 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006028/0.4113, allocations: 429.3 kB / 1.361 GB, free: 444 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4113, allocations: 0 / 1.361 GB, free: 444 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.746e-05/0.4113, allocations: 8.031 kB / 1.361 GB, free: 436 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.4113, allocations: 11.92 kB / 1.361 GB, free: 424 kB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.4113, allocations: 8 kB / 1.361 GB, free: 416 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4113, allocations: 3.938 kB / 1.361 GB, free: 412 kB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.4113, allocations: 3.938 kB / 1.361 GB, free: 408 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002428/0.4116, allocations: 220.3 kB / 1.361 GB, free: 172 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.427e-05/0.4116, allocations: 23.89 kB / 1.361 GB, free: 148 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/0.4116, allocations: 0 / 1.361 GB, free: 148 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.4117, allocations: 15.98 kB / 1.361 GB, free: 132 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.59e-05/0.4118, allocations: 7.984 kB / 1.361 GB, free: 124 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.704e-05/0.4118, allocations: 15.98 kB / 1.361 GB, free: 108 kB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001492/0.412, allocations: 140.3 kB / 1.361 GB, free: 15.97 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.01e-07/0.412, allocations: 0 / 1.361 GB, free: 15.97 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000325/0.4123, allocations: 39.94 kB / 1.361 GB, free: 15.93 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.0007946/0.4131, allocations: 0.8189 MB / 1.362 GB, free: 15.11 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002194/0.4133, allocations: 96.64 kB / 1.362 GB, free: 15.01 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4133, allocations: 0 / 1.362 GB, free: 15.01 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.06e-05/0.4134, allocations: 42.67 kB / 1.362 GB, free: 14.97 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.4138, allocations: 44.66 kB / 1.362 GB, free: 14.93 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002181/0.416, allocations: 1.856 MB / 1.364 GB, free: 12.97 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.4163, allocations: 0.7203 MB / 1.365 GB, free: 12.22 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.73e-05/0.4164, allocations: 29.41 kB / 1.365 GB, free: 12.19 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.628e-05/0.4165, allocations: 55.34 kB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of SimCode: time 6.71e-07/0.4165, allocations: 0 / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03388/0.4504, allocations: 5.309 MB / 1.37 GB, free: 6.973 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.64, allocations: 8.531 kB / 1.37 GB, free: 6.969 MB / 1.061 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: 18.917501900999923]