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.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.001632/0.001632, allocations: 85.45 kB / 19.76 MB, free: 1.871 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.00192/0.00192, allocations: 162.8 kB / 23.01 MB, free: 4.594 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.517/1.517, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.649/2.649, allocations: 359.1 MB / 0.6044 GB, free: 14.93 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: 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: 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.002061/0.002061, allocations: 73.47 kB / 0.9515 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2869, allocations: 169.9 MB / 1.117 GB, free: 2.668 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003169/0.29, allocations: 1.78 MB / 1.119 GB, free: 0.8711 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001143/0.2912, allocations: 0.5928 MB / 1.12 GB, free: 284 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.646e-05/0.2912, allocations: 3.938 kB / 1.12 GB, free: 280 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001667/0.2914, allocations: 27.72 kB / 1.12 GB, free: 252 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003416/0.2917, allocations: 115.5 kB / 1.12 GB, free: 136 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000359/0.2921, allocations: 159.6 kB / 1.12 GB, free: 15.98 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002942/0.2924, allocations: 227.4 kB / 1.12 GB, free: 15.75 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.2925, allocations: 21.8 kB / 1.12 GB, free: 15.73 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.2926, allocations: 107.7 kB / 1.12 GB, free: 15.63 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006149/0.2988, allocations: 0.7985 MB / 1.121 GB, free: 15.02 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.573e-05/0.2988, allocations: 16 kB / 1.121 GB, free: 15 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 9.34e-05/0.2989, allocations: 47.97 kB / 1.121 GB, free: 14.95 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.609e-05/0.299, allocations: 35.84 kB / 1.121 GB, free: 14.92 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.2991, allocations: 71.69 kB / 1.121 GB, free: 14.85 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003134/0.2994, allocations: 211.1 kB / 1.121 GB, free: 14.64 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.2994, allocations: 4 kB / 1.122 GB, free: 14.64 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2994, allocations: 0 / 1.122 GB, free: 14.64 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.2994, allocations: 0 / 1.122 GB, free: 14.64 MB / 1.076 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.0007539/0.3002, allocations: 484.9 kB / 1.122 GB, free: 14.12 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.3002, allocations: 8.031 kB / 1.122 GB, free: 14.11 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.451e-05/0.3003, allocations: 20.84 kB / 1.122 GB, free: 14.09 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002896/0.3006, allocations: 190.7 kB / 1.122 GB, free: 13.88 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.985e-05/0.3006, allocations: 15.98 kB / 1.122 GB, free: 13.86 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.222e-05/0.3006, allocations: 12 kB / 1.122 GB, free: 13.85 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.3008, allocations: 97.59 kB / 1.122 GB, free: 13.75 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.3008, allocations: 0 / 1.122 GB, free: 13.75 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.3008, allocations: 4 kB / 1.122 GB, free: 13.75 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.3009, allocations: 11.94 kB / 1.122 GB, free: 13.73 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.301, allocations: 55.91 kB / 1.122 GB, free: 13.68 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007729/0.3017, allocations: 372.2 kB / 1.123 GB, free: 13.29 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.3019, allocations: 70.48 kB / 1.123 GB, free: 13.21 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.197e-05/0.302, allocations: 28.84 kB / 1.123 GB, free: 13.18 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.302, allocations: 4 kB / 1.123 GB, free: 13.17 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001622/0.3021, allocations: 91.38 kB / 1.123 GB, free: 13.07 MB / 1.076 GB Notification: Performance of pre-optimization done (n=14): time 1.383e-06/0.3021, allocations: 0 / 1.123 GB, free: 13.07 MB / 1.076 GB Notification: Performance of matching and sorting (n=14): time 0.0003733/0.3025, allocations: 157.6 kB / 1.123 GB, free: 12.91 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.3026, allocations: 59.33 kB / 1.123 GB, free: 12.84 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/0.3028, allocations: 190.4 kB / 1.123 GB, free: 12.64 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.434e-05/0.3028, allocations: 33.64 kB / 1.123 GB, free: 12.61 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 9.944e-05/0.3029, allocations: 124.5 kB / 1.123 GB, free: 12.48 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.692e-05/0.3029, allocations: 35.73 kB / 1.123 GB, free: 12.45 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.908e-05/0.303, allocations: 57.67 kB / 1.124 GB, free: 12.38 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.3032, allocations: 326.8 kB / 1.124 GB, free: 12.05 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.184e-05/0.3032, allocations: 31.98 kB / 1.124 GB, free: 12.02 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003112/0.3035, allocations: 241.7 kB / 1.124 GB, free: 11.73 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.3037, allocations: 103.8 kB / 1.124 GB, free: 11.62 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3037, allocations: 0 / 1.124 GB, free: 11.62 MB / 1.076 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002583/0.304, allocations: 153.5 kB / 1.124 GB, free: 11.46 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.304, allocations: 8.219 kB / 1.124 GB, free: 11.45 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.304, allocations: 0 / 1.124 GB, free: 11.45 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.304, allocations: 7.938 kB / 1.124 GB, free: 11.45 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.3041, allocations: 27.86 kB / 1.124 GB, free: 11.42 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.3041, allocations: 4 kB / 1.124 GB, free: 11.41 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001851/0.3043, allocations: 11.95 kB / 1.124 GB, free: 11.4 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.3043, allocations: 11.98 kB / 1.124 GB, free: 11.39 MB / 1.076 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.0001404/0.3044, allocations: 137.8 kB / 1.125 GB, free: 11.25 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.701e-05/0.3045, allocations: 15.97 kB / 1.125 GB, free: 11.23 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002358/0.3047, allocations: 135 kB / 1.125 GB, free: 11.09 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.3047, allocations: 3.938 kB / 1.125 GB, free: 11.09 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.3047, allocations: 0 / 1.125 GB, free: 11.09 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3047, allocations: 0 / 1.125 GB, free: 11.09 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005349/0.3053, allocations: 389.4 kB / 1.125 GB, free: 10.67 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.3053, allocations: 7.938 kB / 1.125 GB, free: 10.66 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.124e-05/0.3053, allocations: 4 kB / 1.125 GB, free: 10.66 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3053, allocations: 0 / 1.125 GB, free: 10.66 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.3053, allocations: 4 kB / 1.125 GB, free: 10.66 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3053, allocations: 4 kB / 1.125 GB, free: 10.65 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.3053, allocations: 0 / 1.125 GB, free: 10.65 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002435/0.3056, allocations: 227.3 kB / 1.125 GB, free: 10.41 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.93e-05/0.3056, allocations: 31.78 kB / 1.125 GB, free: 10.38 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.3056, allocations: 0 / 1.125 GB, free: 10.38 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.3057, allocations: 7.984 kB / 1.125 GB, free: 10.38 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.791e-05/0.3058, allocations: 19.97 kB / 1.125 GB, free: 10.36 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.99e-05/0.3058, allocations: 4 kB / 1.125 GB, free: 10.35 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001333/0.306, allocations: 146.1 kB / 1.126 GB, free: 10.21 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/0.306, allocations: 0 / 1.126 GB, free: 10.21 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003123/0.3063, allocations: 36 kB / 1.126 GB, free: 10.18 MB / 1.076 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.0003688/0.3066, allocations: 183.7 kB / 1.126 GB, free: 10.01 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002212/0.3069, allocations: 83.84 kB / 1.126 GB, free: 9.93 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3069, allocations: 0 / 1.126 GB, free: 9.93 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 8.253e-05/0.3069, allocations: 39.92 kB / 1.126 GB, free: 9.891 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003911/0.3073, allocations: 58 kB / 1.126 GB, free: 9.84 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005999/0.3079, allocations: 294.8 kB / 1.126 GB, free: 9.527 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000111/0.308, allocations: 107.6 kB / 1.126 GB, free: 9.402 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 7.335e-05/0.3081, allocations: 29.41 kB / 1.126 GB, free: 9.375 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.813e-05/0.3082, allocations: 20.48 kB / 1.126 GB, free: 9.355 MB / 1.076 GB Notification: Performance of SimCode: time 3.71e-07/0.3082, allocations: 4 kB / 1.126 GB, free: 9.352 MB / 1.076 GB Notification: Performance of Templates: time 0.007747/0.3159, allocations: 3.535 MB / 1.13 GB, free: 5.879 MB / 1.076 GB " [Timeout remaining time 300] 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 -s ida -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/jenkins1/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: 8.281919672968797]