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.001575/0.001575, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001778/0.001778, allocations: 215.2 kB / 23.01 MB, free: 4.609 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 8.055 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.293/3.293, allocations: 0.505 GB / 0.8108 GB, free: 22.1 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.002035/0.002035, allocations: 62.81 kB / 1.178 GB, free: 16.94 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3905/0.3925, allocations: 180.2 MB / 1.354 GB, free: 8.012 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003534/0.396, allocations: 1.81 MB / 1.356 GB, free: 6.188 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001271/0.3973, allocations: 0.6128 MB / 1.356 GB, free: 5.574 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.215e-05/0.3974, allocations: 7.938 kB / 1.356 GB, free: 5.566 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002219/0.3976, allocations: 27.72 kB / 1.356 GB, free: 5.539 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003863/0.398, allocations: 119.5 kB / 1.357 GB, free: 5.422 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004366/0.3984, allocations: 162.6 kB / 1.357 GB, free: 5.266 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003223/0.3988, allocations: 227.4 kB / 1.357 GB, free: 5.043 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.3989, allocations: 37.61 kB / 1.357 GB, free: 5.008 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/0.399, allocations: 103.7 kB / 1.357 GB, free: 4.906 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00607/0.4051, allocations: 0.8027 MB / 1.358 GB, free: 4.285 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.997e-05/0.4052, allocations: 16 kB / 1.358 GB, free: 4.27 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.4053, allocations: 35.98 kB / 1.358 GB, free: 4.234 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.918e-05/0.4054, allocations: 47.83 kB / 1.358 GB, free: 4.188 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001393/0.4055, allocations: 87.52 kB / 1.358 GB, free: 4.102 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004731/0.406, allocations: 203.2 kB / 1.358 GB, free: 3.902 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.406, allocations: 4 kB / 1.358 GB, free: 3.898 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.384e-06/0.406, allocations: 0 / 1.358 GB, free: 3.898 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.032e-05/0.406, allocations: 0 / 1.358 GB, free: 3.898 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.0009612/0.407, allocations: 476.9 kB / 1.359 GB, free: 3.391 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.407, allocations: 8.031 kB / 1.359 GB, free: 3.383 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.4071, allocations: 24.8 kB / 1.359 GB, free: 3.359 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003278/0.4075, allocations: 186.8 kB / 1.359 GB, free: 3.148 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.4075, allocations: 16 kB / 1.359 GB, free: 3.133 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.868e-05/0.4075, allocations: 19.98 kB / 1.359 GB, free: 3.113 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002269/0.4077, allocations: 95.7 kB / 1.359 GB, free: 3.016 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.587e-06/0.4078, allocations: 0 / 1.359 GB, free: 3.016 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.4078, allocations: 4 kB / 1.359 GB, free: 3.012 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.4078, allocations: 7.938 kB / 1.359 GB, free: 3.004 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.4079, allocations: 51.91 kB / 1.359 GB, free: 2.953 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009377/0.4088, allocations: 451.4 kB / 1.36 GB, free: 2.469 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001706/0.409, allocations: 66.5 kB / 1.36 GB, free: 2.395 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.686e-05/0.4091, allocations: 32.84 kB / 1.36 GB, free: 2.359 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.4091, allocations: 0 / 1.36 GB, free: 2.359 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002213/0.4093, allocations: 103.5 kB / 1.36 GB, free: 2.246 MB / 1.045 GB Notification: Performance of pre-optimization done (n=14): time 1.443e-06/0.4093, allocations: 0 / 1.36 GB, free: 2.246 MB / 1.045 GB Notification: Performance of matching and sorting (n=14): time 0.000383/0.4097, allocations: 153.6 kB / 1.36 GB, free: 2.09 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.4097, allocations: 55.41 kB / 1.36 GB, free: 2.023 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002173/0.41, allocations: 187 kB / 1.36 GB, free: 1.832 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.776e-05/0.41, allocations: 33.7 kB / 1.36 GB, free: 1.793 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.4101, allocations: 120.5 kB / 1.36 GB, free: 1.672 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.87e-05/0.4102, allocations: 35.73 kB / 1.36 GB, free: 1.637 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.39e-05/0.4102, allocations: 57.67 kB / 1.36 GB, free: 1.574 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.4104, allocations: 326.8 kB / 1.361 GB, free: 1.246 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.246e-05/0.4105, allocations: 31.94 kB / 1.361 GB, free: 1.215 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002672/0.4107, allocations: 130.7 kB / 1.361 GB, free: 1.059 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.4109, allocations: 110.6 kB / 1.361 GB, free: 0.9336 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.4109, allocations: 0 / 1.361 GB, free: 0.9336 MB / 1.045 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002586/0.4112, allocations: 156.4 kB / 1.361 GB, free: 0.7773 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.4112, allocations: 6.031 kB / 1.361 GB, free: 0.7734 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.4112, allocations: 4 kB / 1.361 GB, free: 0.7695 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.4112, allocations: 7.922 kB / 1.361 GB, free: 0.7617 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.882e-05/0.4113, allocations: 19.94 kB / 1.361 GB, free: 0.7422 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.4113, allocations: 0 / 1.361 GB, free: 0.7422 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001736/0.4115, allocations: 27.88 kB / 1.361 GB, free: 0.7148 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.4115, allocations: 4 kB / 1.361 GB, free: 0.7109 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.0001504/0.4116, allocations: 141.8 kB / 1.361 GB, free: 0.5625 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/0.4117, allocations: 15.91 kB / 1.361 GB, free: 0.5469 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002427/0.4119, allocations: 131 kB / 1.361 GB, free: 416 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.4119, allocations: 4 kB / 1.361 GB, free: 412 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.4119, allocations: 0 / 1.361 GB, free: 412 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.4119, allocations: 3.984 kB / 1.361 GB, free: 408 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005988/0.4125, allocations: 425.4 kB / 1.362 GB, free: 15.93 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.4125, allocations: 0 / 1.362 GB, free: 15.93 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.452e-05/0.4126, allocations: 19.98 kB / 1.362 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.4126, allocations: 0 / 1.362 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.4126, allocations: 3.938 kB / 1.362 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.4126, allocations: 4 kB / 1.362 GB, free: 15.9 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.4126, allocations: 0 / 1.362 GB, free: 15.9 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002442/0.4128, allocations: 223.2 kB / 1.362 GB, free: 15.67 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.311e-05/0.4129, allocations: 23.94 kB / 1.362 GB, free: 15.64 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.84e-05/0.4129, allocations: 7.984 kB / 1.362 GB, free: 15.64 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.782e-05/0.413, allocations: 11.94 kB / 1.362 GB, free: 15.62 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.59e-05/0.4131, allocations: 19.97 kB / 1.362 GB, free: 15.61 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.213e-05/0.4131, allocations: 7.984 kB / 1.362 GB, free: 15.6 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001359/0.4132, allocations: 136.3 kB / 1.362 GB, free: 15.46 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4132, allocations: 0 / 1.362 GB, free: 15.46 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003048/0.4135, allocations: 47.92 kB / 1.362 GB, free: 15.42 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.000416/0.414, allocations: 151.8 kB / 1.362 GB, free: 15.29 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002296/0.4142, allocations: 104.9 kB / 1.363 GB, free: 15.18 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.4142, allocations: 0 / 1.363 GB, free: 15.18 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.594e-05/0.4143, allocations: 39.92 kB / 1.363 GB, free: 15.14 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003919/0.4147, allocations: 46.52 kB / 1.363 GB, free: 15.1 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007549/0.4154, allocations: 328.5 kB / 1.363 GB, free: 14.75 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004134/0.4158, allocations: 0.7204 MB / 1.364 GB, free: 14 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.455e-05/0.4159, allocations: 23.42 kB / 1.364 GB, free: 13.98 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/0.4159, allocations: 0 / 1.364 GB, free: 13.98 MB / 1.061 GB Notification: Performance of Templates: time 0.005978/0.4219, allocations: 3.031 MB / 1.367 GB, free: 10.96 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/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: 12.247218306001741]