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.001621/0.001621, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002172/0.002172, allocations: 220.7 kB / 22.26 MB, free: 5.121 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.548/1.548, allocations: 230.6 MB / 256 MB, free: 7.973 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.518/3.518, allocations: 0.505 GB / 0.8101 GB, free: 22.19 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.002025/0.002025, allocations: 63.48 kB / 1.177 GB, free: 17.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3851/0.3871, allocations: 180.2 MB / 1.353 GB, free: 8.512 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.00396/0.3911, allocations: 1.815 MB / 1.355 GB, free: 6.68 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001348/0.3925, allocations: 0.6128 MB / 1.355 GB, free: 6.066 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.3926, allocations: 3.938 kB / 1.355 GB, free: 6.062 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.00022/0.3928, allocations: 31.72 kB / 1.355 GB, free: 6.031 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.000462/0.3933, allocations: 123.5 kB / 1.355 GB, free: 5.91 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000456/0.3937, allocations: 149.3 kB / 1.355 GB, free: 5.766 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004402/0.3942, allocations: 231.4 kB / 1.356 GB, free: 5.539 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.3943, allocations: 37.89 kB / 1.356 GB, free: 5.504 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001845/0.3945, allocations: 103.7 kB / 1.356 GB, free: 5.402 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006191/0.4007, allocations: 0.8017 MB / 1.357 GB, free: 4.785 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.879e-05/0.4007, allocations: 16 kB / 1.357 GB, free: 4.77 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.4009, allocations: 39.98 kB / 1.357 GB, free: 4.73 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.721e-05/0.4009, allocations: 39.83 kB / 1.357 GB, free: 4.691 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.4011, allocations: 83.58 kB / 1.357 GB, free: 4.609 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003941/0.4015, allocations: 211.1 kB / 1.357 GB, free: 4.402 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.4015, allocations: 4 kB / 1.357 GB, free: 4.398 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4015, allocations: 0 / 1.357 GB, free: 4.398 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.413e-06/0.4015, allocations: 3.938 kB / 1.357 GB, free: 4.395 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.0008761/0.4023, allocations: 469 kB / 1.357 GB, free: 3.895 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.4024, allocations: 12.03 kB / 1.357 GB, free: 3.883 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.759e-05/0.4024, allocations: 46.73 kB / 1.358 GB, free: 3.828 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.189e-05/0.4025, allocations: 28.8 kB / 1.358 GB, free: 3.801 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003289/0.4029, allocations: 186.6 kB / 1.358 GB, free: 3.59 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.063e-05/0.4029, allocations: 11.98 kB / 1.358 GB, free: 3.578 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.317e-05/0.4029, allocations: 12 kB / 1.358 GB, free: 3.566 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002171/0.4031, allocations: 97.64 kB / 1.358 GB, free: 3.465 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.4032, allocations: 0 / 1.358 GB, free: 3.465 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.4032, allocations: 4 kB / 1.358 GB, free: 3.461 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.393e-06/0.4032, allocations: 7.875 kB / 1.358 GB, free: 3.453 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001247/0.4033, allocations: 55.97 kB / 1.358 GB, free: 3.398 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009457/0.4042, allocations: 443.4 kB / 1.358 GB, free: 2.922 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001675/0.4044, allocations: 66.55 kB / 1.358 GB, free: 2.848 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.624e-05/0.4045, allocations: 29.06 kB / 1.358 GB, free: 2.816 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.4045, allocations: 7.938 kB / 1.358 GB, free: 2.809 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001965/0.4047, allocations: 95.33 kB / 1.359 GB, free: 2.703 MB / 1.045 GB Notification: Performance of pre-optimization done (n=14): time 1.393e-06/0.4047, allocations: 0 / 1.359 GB, free: 2.703 MB / 1.045 GB Notification: Performance of matching and sorting (n=14): time 0.0003717/0.4051, allocations: 160.8 kB / 1.359 GB, free: 2.543 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.4051, allocations: 55.41 kB / 1.359 GB, free: 2.477 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000236/0.4054, allocations: 195 kB / 1.359 GB, free: 2.277 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.907e-05/0.4054, allocations: 25.7 kB / 1.359 GB, free: 2.246 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.4055, allocations: 124.5 kB / 1.359 GB, free: 2.121 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.358e-05/0.4055, allocations: 39.72 kB / 1.359 GB, free: 2.082 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.664e-05/0.4056, allocations: 53.67 kB / 1.359 GB, free: 2.023 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002099/0.4059, allocations: 326.8 kB / 1.359 GB, free: 1.695 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.564e-05/0.4059, allocations: 35.94 kB / 1.359 GB, free: 1.66 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002655/0.4062, allocations: 132.5 kB / 1.36 GB, free: 1.5 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.4064, allocations: 101.1 kB / 1.36 GB, free: 1.383 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.4064, allocations: 0 / 1.36 GB, free: 1.383 MB / 1.045 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002688/0.4066, allocations: 149.5 kB / 1.36 GB, free: 1.23 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.4066, allocations: 8 kB / 1.36 GB, free: 1.223 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.4067, allocations: 3.938 kB / 1.36 GB, free: 1.219 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.4067, allocations: 4 kB / 1.36 GB, free: 1.215 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.4068, allocations: 19.92 kB / 1.36 GB, free: 1.195 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.4068, allocations: 4 kB / 1.36 GB, free: 1.191 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.407, allocations: 23.88 kB / 1.36 GB, free: 1.168 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.407, allocations: 4.156 kB / 1.36 GB, free: 1.164 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.0001486/0.4071, allocations: 137.8 kB / 1.36 GB, free: 1.02 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.133e-05/0.4072, allocations: 19.84 kB / 1.36 GB, free: 1 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002367/0.4074, allocations: 133.7 kB / 1.36 GB, free: 0.8594 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.4074, allocations: 0 / 1.36 GB, free: 0.8594 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.4074, allocations: 0 / 1.36 GB, free: 0.8594 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.4074, allocations: 0 / 1.36 GB, free: 0.8594 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006068/0.408, allocations: 437.2 kB / 1.361 GB, free: 392 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.408, allocations: 4 kB / 1.361 GB, free: 388 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.695e-05/0.4081, allocations: 8 kB / 1.361 GB, free: 380 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.4081, allocations: 0 / 1.361 GB, free: 380 kB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.4081, allocations: 8 kB / 1.361 GB, free: 372 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.4081, allocations: 7.984 kB / 1.361 GB, free: 364 kB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4081, allocations: 0 / 1.361 GB, free: 364 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002475/0.4083, allocations: 215.3 kB / 1.361 GB, free: 132 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.594e-05/0.4084, allocations: 27.88 kB / 1.361 GB, free: 104 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.4084, allocations: 4 kB / 1.361 GB, free: 100 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.4085, allocations: 15.98 kB / 1.361 GB, free: 84 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.927e-05/0.4086, allocations: 11.97 kB / 1.361 GB, free: 72 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.41e-05/0.4086, allocations: 8 kB / 1.361 GB, free: 64 kB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000151/0.4088, allocations: 140.3 kB / 1.361 GB, free: 15.93 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4088, allocations: 0 / 1.361 GB, free: 15.93 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003159/0.4091, allocations: 47.88 kB / 1.361 GB, free: 15.88 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.0009562/0.41, allocations: 0.8208 MB / 1.362 GB, free: 15.05 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002393/0.4103, allocations: 89.53 kB / 1.362 GB, free: 14.97 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.4103, allocations: 0 / 1.362 GB, free: 14.97 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.226e-05/0.4104, allocations: 39.92 kB / 1.362 GB, free: 14.93 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004033/0.4108, allocations: 44.27 kB / 1.362 GB, free: 14.89 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002409/0.4132, allocations: 1.859 MB / 1.364 GB, free: 12.93 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004309/0.4136, allocations: 0.7242 MB / 1.365 GB, free: 12.17 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.96e-05/0.4137, allocations: 21.47 kB / 1.365 GB, free: 12.15 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.4138, allocations: 55.41 kB / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of SimCode: time 5.51e-07/0.4138, allocations: 0 / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03551/0.4493, allocations: 5.319 MB / 1.37 GB, free: 6.922 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.82, allocations: 2.188 kB / 1.37 GB, free: 6.922 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 & /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 --stepSize=0.004 --timeout=800 --tolerance=1e-06 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.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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.068478683941066]