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.001389/0.001389, allocations: 103.6 kB / 18.95 MB, free: 2.812 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.001603/0.001603, allocations: 213.6 kB / 22.25 MB, free: 5.105 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.698/1.698, allocations: 230.6 MB / 256 MB, free: 7.824 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.459/3.459, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 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: translateModel(Buildings.Utilities.Plotters.Examples.Scatter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sca.y.1.|sca1.y.1.|sca1.y.2.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter") translateModel(Buildings.Utilities.Plotters.Examples.Scatter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sca.y.1.|sca1.y.1.|sca1.y.2.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter") [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.00204/0.00204, allocations: 73.08 kB / 1.186 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3832/0.3853, allocations: 181.9 MB / 1.364 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003139/0.3884, allocations: 1.771 MB / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00146/0.3899, allocations: 0.5939 MB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.267e-05/0.3899, allocations: 3.938 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002318/0.3902, allocations: 35.72 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000455/0.3906, allocations: 115.5 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004476/0.3911, allocations: 147.7 kB / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003584/0.3914, allocations: 231.4 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.3916, allocations: 25.67 kB / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000161/0.3918, allocations: 111.7 kB / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005916/0.3977, allocations: 0.8086 MB / 1.368 GB, free: 9.938 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.944e-05/0.3977, allocations: 20 kB / 1.368 GB, free: 9.918 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.3978, allocations: 35.98 kB / 1.368 GB, free: 9.883 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.208e-05/0.3979, allocations: 35.84 kB / 1.368 GB, free: 9.848 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.398, allocations: 83.56 kB / 1.368 GB, free: 9.766 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003454/0.3984, allocations: 207.2 kB / 1.368 GB, free: 9.562 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3984, allocations: 0 / 1.368 GB, free: 9.562 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3984, allocations: 0 / 1.368 GB, free: 9.562 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.3984, allocations: 0 / 1.368 GB, free: 9.562 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.0008484/0.3992, allocations: 484.8 kB / 1.368 GB, free: 9.047 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.3993, allocations: 12.03 kB / 1.368 GB, free: 9.035 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.2e-05/0.3994, allocations: 20.8 kB / 1.368 GB, free: 9.016 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003001/0.3997, allocations: 182.8 kB / 1.369 GB, free: 8.809 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.3997, allocations: 12 kB / 1.369 GB, free: 8.797 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.617e-05/0.3997, allocations: 12 kB / 1.369 GB, free: 8.785 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/0.3999, allocations: 103.6 kB / 1.369 GB, free: 8.68 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.3999, allocations: 0 / 1.369 GB, free: 8.68 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.3999, allocations: 4 kB / 1.369 GB, free: 8.676 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.3999, allocations: 7.938 kB / 1.369 GB, free: 8.668 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.4001, allocations: 55.97 kB / 1.369 GB, free: 8.613 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007586/0.4008, allocations: 380.1 kB / 1.369 GB, free: 8.211 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.401, allocations: 70.55 kB / 1.369 GB, free: 8.133 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.318e-05/0.401, allocations: 28.84 kB / 1.369 GB, free: 8.102 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.4011, allocations: 0 / 1.369 GB, free: 8.102 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001755/0.4012, allocations: 95.31 kB / 1.369 GB, free: 7.996 MB / 1.061 GB Notification: Performance of pre-optimization done (n=14): time 1.263e-06/0.4012, allocations: 4 kB / 1.369 GB, free: 7.992 MB / 1.061 GB Notification: Performance of matching and sorting (n=14): time 0.0003137/0.4015, allocations: 141.8 kB / 1.369 GB, free: 7.848 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.079e-05/0.4016, allocations: 59.34 kB / 1.37 GB, free: 7.777 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.4018, allocations: 199.8 kB / 1.37 GB, free: 7.574 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.962e-05/0.4018, allocations: 33.7 kB / 1.37 GB, free: 7.535 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.265e-05/0.4019, allocations: 116.7 kB / 1.37 GB, free: 7.418 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.277e-05/0.402, allocations: 35.69 kB / 1.37 GB, free: 7.383 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.029e-05/0.4021, allocations: 61.61 kB / 1.37 GB, free: 7.316 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.4022, allocations: 330.8 kB / 1.37 GB, free: 6.984 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.159e-05/0.4023, allocations: 27.98 kB / 1.37 GB, free: 6.957 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002975/0.4026, allocations: 241.3 kB / 1.371 GB, free: 6.668 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.4027, allocations: 105.1 kB / 1.371 GB, free: 6.547 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.4027, allocations: 0 / 1.371 GB, free: 6.547 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002493/0.403, allocations: 155.4 kB / 1.371 GB, free: 6.391 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.403, allocations: 8.156 kB / 1.371 GB, free: 6.383 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.403, allocations: 4 kB / 1.371 GB, free: 6.379 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.403, allocations: 4 kB / 1.371 GB, free: 6.375 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.513e-05/0.4031, allocations: 19.88 kB / 1.371 GB, free: 6.355 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.4031, allocations: 0 / 1.371 GB, free: 6.355 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.4033, allocations: 27.88 kB / 1.371 GB, free: 6.328 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.4033, allocations: 4 kB / 1.371 GB, free: 6.324 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.0001446/0.4034, allocations: 138.5 kB / 1.371 GB, free: 6.18 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.95e-05/0.4035, allocations: 19.86 kB / 1.371 GB, free: 6.16 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002286/0.4037, allocations: 127.1 kB / 1.371 GB, free: 6.023 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.4037, allocations: 7.938 kB / 1.371 GB, free: 6.016 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.4037, allocations: 4 kB / 1.371 GB, free: 6.012 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.4037, allocations: 0 / 1.371 GB, free: 6.012 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000522/0.4042, allocations: 384.6 kB / 1.371 GB, free: 5.602 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.176e-05/0.4042, allocations: 3.938 kB / 1.371 GB, free: 5.598 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.699e-05/0.4043, allocations: 11.98 kB / 1.371 GB, free: 5.586 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.4043, allocations: 0 / 1.371 GB, free: 5.586 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.4043, allocations: 4 kB / 1.371 GB, free: 5.582 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.4043, allocations: 7.938 kB / 1.372 GB, free: 5.574 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.4043, allocations: 0 / 1.372 GB, free: 5.574 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000231/0.4045, allocations: 219.4 kB / 1.372 GB, free: 5.344 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.532e-05/0.4046, allocations: 23.89 kB / 1.372 GB, free: 5.32 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.262e-05/0.4046, allocations: 0 / 1.372 GB, free: 5.32 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.4047, allocations: 15.92 kB / 1.372 GB, free: 5.305 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.695e-05/0.4048, allocations: 7.984 kB / 1.372 GB, free: 5.297 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.4048, allocations: 15.98 kB / 1.372 GB, free: 5.281 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001286/0.4049, allocations: 135.4 kB / 1.372 GB, free: 5.148 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.4049, allocations: 0 / 1.372 GB, free: 5.148 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003001/0.4052, allocations: 43.92 kB / 1.372 GB, free: 5.105 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.0004271/0.4056, allocations: 168.6 kB / 1.372 GB, free: 4.953 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000226/0.4059, allocations: 94.84 kB / 1.372 GB, free: 4.863 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.4059, allocations: 0 / 1.372 GB, free: 4.863 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.709e-05/0.406, allocations: 39.92 kB / 1.372 GB, free: 4.824 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003752/0.4063, allocations: 60.69 kB / 1.372 GB, free: 4.77 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006375/0.407, allocations: 294.8 kB / 1.373 GB, free: 4.457 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.4071, allocations: 111.8 kB / 1.373 GB, free: 4.328 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.425e-05/0.4072, allocations: 25.45 kB / 1.373 GB, free: 4.305 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.878e-05/0.4072, allocations: 23.42 kB / 1.373 GB, free: 4.281 MB / 1.061 GB Notification: Performance of SimCode: time 5.31e-07/0.4072, allocations: 0 / 1.373 GB, free: 4.281 MB / 1.061 GB Notification: Performance of Templates: time 0.007782/0.415, allocations: 3.624 MB / 1.376 GB, free: 0.7148 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Examples_Scatter.csv","/var/lib/jenkins/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: 9.46618209220469]