Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001948/0.001948, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.002305/0.002305, allocations: 217.7 kB / 22.25 MB, free: 5.102 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 / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.247/3.247, allocations: 0.49 GB / 0.7951 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_12_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.002216/0.002216, allocations: 64.95 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.3707, allocations: 176.1 MB / 1.326 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003132/0.3738, allocations: 1.778 MB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00119/0.375, allocations: 0.5811 MB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.943e-05/0.3751, allocations: 3.938 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001727/0.3753, allocations: 31.73 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003544/0.3756, allocations: 127.4 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003433/0.376, allocations: 151.6 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002994/0.3763, allocations: 227.5 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.3764, allocations: 33.95 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001349/0.3765, allocations: 111.6 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00613/0.3827, allocations: 0.8014 MB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.521e-05/0.3827, allocations: 23.94 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.421e-05/0.3828, allocations: 28 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.771e-05/0.3829, allocations: 39.91 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001338/0.383, allocations: 79.56 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000354/0.3834, allocations: 215.2 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.3834, allocations: 0 / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3834, allocations: 4 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.3834, allocations: 0 / 1.33 GB, free: 13.48 MB / 1.029 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.0008005/0.3842, allocations: 480.8 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.3842, allocations: 12.03 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.574e-05/0.3843, allocations: 38.75 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.924e-05/0.3844, allocations: 20.84 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003081/0.3847, allocations: 186.6 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.3847, allocations: 15.98 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.511e-05/0.3847, allocations: 12 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/0.3849, allocations: 98.91 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.3849, allocations: 0 / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.385, allocations: 4 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.385, allocations: 3.938 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001164/0.3851, allocations: 51.97 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008295/0.3859, allocations: 411.5 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.3861, allocations: 70.55 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.334e-05/0.3861, allocations: 24.86 kB / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.3861, allocations: 0 / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002011/0.3863, allocations: 107.5 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of pre-optimization done (n=14): time 1.593e-06/0.3863, allocations: 3.938 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=14): time 0.0003425/0.3867, allocations: 145.7 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.3867, allocations: 59.41 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/0.3869, allocations: 194.4 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.917e-05/0.387, allocations: 29.7 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.3871, allocations: 128.4 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.865e-05/0.3871, allocations: 27.75 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.3872, allocations: 61.67 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.3874, allocations: 322.8 kB / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.411e-05/0.3874, allocations: 27.98 kB / 1.332 GB, free: 10.79 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003118/0.3877, allocations: 244.6 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.3879, allocations: 112.1 kB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3879, allocations: 0 / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002605/0.3881, allocations: 149.5 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.3882, allocations: 4 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.3882, allocations: 7.938 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.3882, allocations: 4.141 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.3883, allocations: 23.94 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.3883, allocations: 0 / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/0.3885, allocations: 27.88 kB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.3885, allocations: 4 kB / 1.333 GB, free: 10.15 MB / 1.029 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.000137/0.3886, allocations: 146.1 kB / 1.333 GB, free: 9.996 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.296e-05/0.3887, allocations: 15.91 kB / 1.333 GB, free: 9.98 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002313/0.3889, allocations: 123.1 kB / 1.333 GB, free: 9.848 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.3889, allocations: 4 kB / 1.333 GB, free: 9.844 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.3889, allocations: 0 / 1.333 GB, free: 9.844 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.3889, allocations: 7.984 kB / 1.333 GB, free: 9.836 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005756/0.3895, allocations: 420.5 kB / 1.334 GB, free: 9.379 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3895, allocations: 0 / 1.334 GB, free: 9.379 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.055e-05/0.3895, allocations: 11.94 kB / 1.334 GB, free: 9.367 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3895, allocations: 3.938 kB / 1.334 GB, free: 9.363 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.3895, allocations: 4 kB / 1.334 GB, free: 9.359 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.094e-05/0.3896, allocations: 4 kB / 1.334 GB, free: 9.355 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3896, allocations: 0 / 1.334 GB, free: 9.355 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.3898, allocations: 215.4 kB / 1.334 GB, free: 9.129 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.91e-05/0.3898, allocations: 23.89 kB / 1.334 GB, free: 9.105 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.3899, allocations: 4 kB / 1.334 GB, free: 9.102 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.39, allocations: 11.98 kB / 1.334 GB, free: 9.09 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.341e-05/0.39, allocations: 11.97 kB / 1.334 GB, free: 9.078 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.709e-05/0.3901, allocations: 12 kB / 1.334 GB, free: 9.066 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001277/0.3902, allocations: 140.3 kB / 1.334 GB, free: 8.93 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3902, allocations: 0 / 1.334 GB, free: 8.93 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003321/0.3905, allocations: 43.89 kB / 1.334 GB, free: 8.887 MB / 1.029 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.0008669/0.3914, allocations: 0.8319 MB / 1.335 GB, free: 8.055 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002153/0.3916, allocations: 89.78 kB / 1.335 GB, free: 7.969 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.3916, allocations: 4 kB / 1.335 GB, free: 7.965 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.067e-05/0.3917, allocations: 39.98 kB / 1.335 GB, free: 7.926 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/0.3921, allocations: 47.47 kB / 1.335 GB, free: 7.883 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002276/0.3944, allocations: 1.861 MB / 1.337 GB, free: 5.914 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.3945, allocations: 111.6 kB / 1.337 GB, free: 5.781 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.375e-05/0.3946, allocations: 25.42 kB / 1.337 GB, free: 5.758 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.3947, allocations: 59.34 kB / 1.337 GB, free: 5.699 MB / 1.029 GB Notification: Performance of SimCode: time 4.21e-07/0.3947, allocations: 0 / 1.337 GB, free: 5.699 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03456/0.4292, allocations: 5.985 MB / 1.343 GB, free: 15.91 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.63, allocations: 6.469 kB / 1.343 GB, free: 15.91 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Plotters_Examples_Scatter_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Plotters_Examples_Scatter.fmu > Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Examples_Scatter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.710648714011768]