Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001694/0.001694, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001945/0.001945, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.634/1.634, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.749/2.749, allocations: 476.7 MB / 0.7629 GB, free: 15.13 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Utilities.Plotters.Examples.Scatter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 71.89 kB / 1.107 GB, free: 4.598 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.019/1.02, allocations: 168.7 MB / 1.272 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003607/1.024, allocations: 1.81 MB / 1.274 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001134/1.025, allocations: 0.6081 MB / 1.274 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.561e-05/1.025, allocations: 6.125 kB / 1.274 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001963/1.025, allocations: 21.91 kB / 1.274 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003716/1.026, allocations: 123.6 kB / 1.274 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003342/1.026, allocations: 156.5 kB / 1.275 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002937/1.026, allocations: 224.5 kB / 1.275 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/1.027, allocations: 26 kB / 1.275 GB, free: 6 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/1.027, allocations: 112.4 kB / 1.275 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006163/1.033, allocations: 0.8053 MB / 1.276 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.407e-05/1.033, allocations: 17.19 kB / 1.276 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001626/1.033, allocations: 40.36 kB / 1.276 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.971e-05/1.033, allocations: 38.03 kB / 1.276 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000146/1.033, allocations: 92.89 kB / 1.276 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004767/1.034, allocations: 207.7 kB / 1.276 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/1.034, allocations: 0.9062 kB / 1.276 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.284e-06/1.034, allocations: 0 / 1.276 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.193e-06/1.034, allocations: 0 / 1.276 GB, free: 5.551 MB / 0.9981 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.0008513/1.035, allocations: 0.5472 MB / 1.277 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/1.035, allocations: 9.688 kB / 1.277 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.881e-05/1.035, allocations: 21.03 kB / 1.277 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002913/1.035, allocations: 248.1 kB / 1.277 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/1.035, allocations: 10.84 kB / 1.277 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.109e-05/1.035, allocations: 15.58 kB / 1.277 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002243/1.035, allocations: 94.42 kB / 1.277 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/1.035, allocations: 4 kB / 1.277 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/1.035, allocations: 9.016 kB / 1.277 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/1.035, allocations: 6.812 kB / 1.277 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000125/1.036, allocations: 57.19 kB / 1.277 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008116/1.036, allocations: 474.2 kB / 1.278 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/1.037, allocations: 70.25 kB / 1.278 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.367e-05/1.037, allocations: 27.98 kB / 1.278 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.824e-05/1.037, allocations: 1.188 kB / 1.278 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001865/1.037, allocations: 90.67 kB / 1.278 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=14): time 1.393e-06/1.037, allocations: 0 / 1.278 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14): time 0.0003523/1.037, allocations: 152.8 kB / 1.278 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/1.037, allocations: 58.05 kB / 1.278 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/1.037, allocations: 195.2 kB / 1.278 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/1.037, allocations: 35.03 kB / 1.278 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.42e-05/1.038, allocations: 125.8 kB / 1.278 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.94e-05/1.038, allocations: 36.17 kB / 1.278 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.044e-05/1.038, allocations: 53.39 kB / 1.278 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.266e-05/1.038, allocations: 327.9 kB / 1.279 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.578e-05/1.038, allocations: 36.83 kB / 1.279 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002302/1.038, allocations: 131.3 kB / 1.279 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/1.038, allocations: 106.5 kB / 1.279 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/1.038, allocations: 0.875 kB / 1.279 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000256/1.038, allocations: 151.1 kB / 1.279 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/1.038, allocations: 5.625 kB / 1.279 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/1.038, allocations: 2.062 kB / 1.279 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/1.038, allocations: 9.625 kB / 1.279 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/1.039, allocations: 19.98 kB / 1.279 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/1.039, allocations: 2.75 kB / 1.279 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001809/1.039, allocations: 20.19 kB / 1.279 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/1.039, allocations: 5.188 kB / 1.279 GB, free: 3.133 MB / 0.9981 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.0001066/1.039, allocations: 133.6 kB / 1.279 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.223e-05/1.039, allocations: 19.98 kB / 1.279 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002373/1.039, allocations: 135.6 kB / 1.279 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/1.039, allocations: 5.719 kB / 1.279 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/1.039, allocations: 0 / 1.279 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/1.039, allocations: 1.5 kB / 1.279 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005113/1.04, allocations: 457.5 kB / 1.28 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/1.04, allocations: 0 / 1.28 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.077e-05/1.04, allocations: 11.03 kB / 1.28 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/1.04, allocations: 0.9688 kB / 1.28 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/1.04, allocations: 3.766 kB / 1.28 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/1.04, allocations: 0 / 1.28 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/1.04, allocations: 4.812 kB / 1.28 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002015/1.04, allocations: 219.3 kB / 1.28 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.272e-05/1.04, allocations: 104.7 kB / 1.28 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/1.04, allocations: 2.078 kB / 1.28 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/1.04, allocations: 10.7 kB / 1.28 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.058e-05/1.04, allocations: 16.28 kB / 1.28 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.736e-05/1.04, allocations: 11.06 kB / 1.28 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000121/1.04, allocations: 142.1 kB / 1.28 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.04, allocations: 0 / 1.28 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003218/1.041, allocations: 42.67 kB / 1.28 GB, free: 2.148 MB / 0.9981 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.0004043/1.041, allocations: 166.1 kB / 1.281 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002639/1.041, allocations: 93.42 kB / 1.281 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/1.041, allocations: 0.5625 kB / 1.281 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.495e-05/1.041, allocations: 37.03 kB / 1.281 GB, free: 2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000403/1.042, allocations: 54.75 kB / 1.281 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006294/1.042, allocations: 297.8 kB / 1.281 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001666/1.043, allocations: 0.7185 MB / 1.282 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.249e-05/1.043, allocations: 29.59 kB / 1.282 GB, free: 1.066 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.699e-05/1.043, allocations: 25.22 kB / 1.282 GB, free: 1.055 MB / 0.9981 GB Notification: Performance of SimCode: time 4.81e-07/1.043, allocations: 0.5938 kB / 1.282 GB, free: 1.055 MB / 0.9981 GB Notification: Performance of Templates: time 0.008145/1.051, allocations: 3.356 MB / 1.285 GB, free: 0.7461 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.sim & ./Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Examples_Scatter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.166908885352314]