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.001364/0.001364, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002396/0.002396, allocations: 220.4 kB / 22.25 MB, free: 4.852 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.543/1.543, allocations: 230.6 MB / 256 MB, free: 7.805 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.471/3.471, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 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.002093/0.002093, allocations: 70.56 kB / 1.186 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3976/0.3997, allocations: 181.9 MB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003614/0.4033, allocations: 1.768 MB / 1.365 GB, free: 12.33 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001278/0.4046, allocations: 0.5899 MB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.589e-05/0.4046, allocations: 4 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001824/0.4048, allocations: 31.73 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003717/0.4052, allocations: 123.4 kB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004071/0.4056, allocations: 147.7 kB / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003975/0.406, allocations: 231.4 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.4061, allocations: 33.95 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.4063, allocations: 111.6 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006094/0.4124, allocations: 0.7954 MB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.722e-05/0.4124, allocations: 16 kB / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001275/0.4126, allocations: 36 kB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.607e-05/0.4126, allocations: 43.84 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.4128, allocations: 79.61 kB / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003824/0.4131, allocations: 207.2 kB / 1.367 GB, free: 10.08 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.4131, allocations: 0 / 1.367 GB, free: 10.08 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4131, allocations: 3.938 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.4131, allocations: 0 / 1.367 GB, free: 10.07 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.0009686/0.4141, allocations: 480.9 kB / 1.368 GB, free: 9.562 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.4142, allocations: 8.031 kB / 1.368 GB, free: 9.555 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.01e-05/0.4142, allocations: 42.75 kB / 1.368 GB, free: 9.504 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.655e-05/0.4143, allocations: 24.83 kB / 1.368 GB, free: 9.48 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003221/0.4146, allocations: 186.5 kB / 1.368 GB, free: 9.27 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.4146, allocations: 12 kB / 1.368 GB, free: 9.258 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.61e-05/0.4147, allocations: 12 kB / 1.368 GB, free: 9.246 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002112/0.4149, allocations: 94.97 kB / 1.368 GB, free: 9.148 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.4149, allocations: 0 / 1.368 GB, free: 9.148 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.4149, allocations: 7.984 kB / 1.368 GB, free: 9.141 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.4149, allocations: 7.938 kB / 1.368 GB, free: 9.133 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.415, allocations: 51.97 kB / 1.368 GB, free: 9.082 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008805/0.4159, allocations: 407.5 kB / 1.369 GB, free: 8.641 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.4161, allocations: 70.55 kB / 1.369 GB, free: 8.562 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.3e-05/0.4161, allocations: 25.08 kB / 1.369 GB, free: 8.535 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.537e-05/0.4162, allocations: 11.86 kB / 1.369 GB, free: 8.523 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002101/0.4164, allocations: 94.38 kB / 1.369 GB, free: 8.422 MB / 1.061 GB Notification: Performance of pre-optimization done (n=14): time 1.342e-06/0.4164, allocations: 0 / 1.369 GB, free: 8.422 MB / 1.061 GB Notification: Performance of matching and sorting (n=14): time 0.0003495/0.4167, allocations: 153.7 kB / 1.369 GB, free: 8.266 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.355e-05/0.4168, allocations: 55.41 kB / 1.369 GB, free: 8.199 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002271/0.417, allocations: 191.9 kB / 1.369 GB, free: 8.004 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.671e-05/0.4171, allocations: 33.7 kB / 1.369 GB, free: 7.965 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.4172, allocations: 120.5 kB / 1.369 GB, free: 7.844 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.243e-05/0.4172, allocations: 35.69 kB / 1.369 GB, free: 7.809 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.651e-05/0.4173, allocations: 57.69 kB / 1.37 GB, free: 7.746 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000172/0.4175, allocations: 330.8 kB / 1.37 GB, free: 7.414 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.17e-05/0.4176, allocations: 27.98 kB / 1.37 GB, free: 7.387 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003783/0.4179, allocations: 233.1 kB / 1.37 GB, free: 7.105 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.4181, allocations: 109.1 kB / 1.37 GB, free: 6.98 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.4181, allocations: 7.938 kB / 1.37 GB, free: 6.973 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003232/0.4184, allocations: 152.6 kB / 1.37 GB, free: 6.82 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.4184, allocations: 8 kB / 1.37 GB, free: 6.812 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.4184, allocations: 3.938 kB / 1.37 GB, free: 6.809 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.4185, allocations: 8.156 kB / 1.37 GB, free: 6.801 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.4186, allocations: 15.94 kB / 1.37 GB, free: 6.785 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.4186, allocations: 4 kB / 1.37 GB, free: 6.781 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/0.4188, allocations: 23.88 kB / 1.37 GB, free: 6.758 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.4188, allocations: 4 kB / 1.37 GB, free: 6.754 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.0001603/0.4189, allocations: 145.5 kB / 1.371 GB, free: 6.602 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.845e-05/0.419, allocations: 15.86 kB / 1.371 GB, free: 6.586 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002353/0.4192, allocations: 127.1 kB / 1.371 GB, free: 6.449 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.4192, allocations: 7.922 kB / 1.371 GB, free: 6.441 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.4192, allocations: 4 kB / 1.371 GB, free: 6.438 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.4192, allocations: 0 / 1.371 GB, free: 6.438 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000631/0.4198, allocations: 425.4 kB / 1.371 GB, free: 5.973 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.4198, allocations: 0 / 1.371 GB, free: 5.973 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.859e-05/0.4199, allocations: 7.938 kB / 1.371 GB, free: 5.965 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.4199, allocations: 0 / 1.371 GB, free: 5.965 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.4199, allocations: 11.98 kB / 1.371 GB, free: 5.953 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.4199, allocations: 0 / 1.371 GB, free: 5.953 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4199, allocations: 0 / 1.371 GB, free: 5.953 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000272/0.4202, allocations: 213.9 kB / 1.371 GB, free: 5.73 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.448e-05/0.4202, allocations: 27.89 kB / 1.371 GB, free: 5.703 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.4203, allocations: 0 / 1.371 GB, free: 5.703 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.4204, allocations: 11.98 kB / 1.371 GB, free: 5.691 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.87e-05/0.4204, allocations: 19.97 kB / 1.371 GB, free: 5.672 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/0.4205, allocations: 7.938 kB / 1.371 GB, free: 5.664 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001344/0.4206, allocations: 139.4 kB / 1.372 GB, free: 5.527 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4206, allocations: 0 / 1.372 GB, free: 5.527 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003142/0.4209, allocations: 47.89 kB / 1.372 GB, free: 5.48 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.0009507/0.4219, allocations: 0.8207 MB / 1.372 GB, free: 4.66 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002358/0.4221, allocations: 91.91 kB / 1.372 GB, free: 4.57 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.4221, allocations: 4 kB / 1.372 GB, free: 4.566 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000166/0.4223, allocations: 39.92 kB / 1.373 GB, free: 4.527 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004032/0.4227, allocations: 58.25 kB / 1.373 GB, free: 4.473 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002592/0.4253, allocations: 1.849 MB / 1.374 GB, free: 2.516 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001439/0.4254, allocations: 111.7 kB / 1.374 GB, free: 2.383 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.489e-05/0.4255, allocations: 21.48 kB / 1.375 GB, free: 2.363 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.4256, allocations: 55.41 kB / 1.375 GB, free: 2.312 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/0.4256, allocations: 0 / 1.375 GB, free: 2.312 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04159/0.4672, allocations: 5.938 MB / 1.38 GB, free: 12.56 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/12.02, allocations: 4 kB / 1.38 GB, free: 12.56 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 & /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.401115683373064]