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.001099/0.001099, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001816/0.002915, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001094/0.001094, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001586/0.002681, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9351/0.9351, allocations: 177.2 MB / 189.8 MB, free: 5.223 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08665/1.022, allocations: 53.67 MB / 243.4 MB, free: 15.47 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.878/1.878, allocations: 378.4 MB / 0.6079 GB, free: 7.676 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4664/2.344, allocations: 123.3 MB / 0.7283 GB, free: 5.695 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: translateModel(Buildings.Utilities.Plotters.Examples.Scatter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sca.y.[0-9,]+.|sca1.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter") translateModel(Buildings.Utilities.Plotters.Examples.Scatter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sca.y.[0-9,]+.|sca1.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 0.7296 GB, free: 4.414 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.144e-05/1.261e-05, allocations: 3.375 kB / 0.7296 GB, free: 4.41 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.002463/0.002475, allocations: 1.879 MB / 0.7315 GB, free: 2.547 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002899/0.005374, allocations: 0.619 MB / 0.7321 GB, free: 1.93 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.587e-05/0.00544, allocations: 0.6875 kB / 0.7321 GB, free: 1.93 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001117/0.005551, allocations: 29.42 kB / 0.7321 GB, free: 1.902 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002309/0.005782, allocations: 113.6 kB / 0.7322 GB, free: 1.801 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000268/0.00605, allocations: 161.8 kB / 0.7324 GB, free: 1.645 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002443/0.006295, allocations: 232.5 kB / 0.7326 GB, free: 1.43 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.861e-05/0.006393, allocations: 26.39 kB / 0.7326 GB, free: 1.402 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01318/0.01957, allocations: 2.377 MB / 0.7349 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003176/0.02274, allocations: 96.39 kB / 0.735 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.236e-05/0.02278, allocations: 12 kB / 0.735 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.621e-05/0.02285, allocations: 37.66 kB / 0.7351 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.037e-05/0.0229, allocations: 31.86 kB / 0.7351 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.045e-05/0.02296, allocations: 35.94 kB / 0.7351 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002333/0.0232, allocations: 151.4 kB / 0.7353 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.09e-05/0.02321, allocations: 0 / 0.7353 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.01e-07/0.02321, allocations: 0.9375 kB / 0.7353 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.224e-05/0.02322, allocations: 0 / 0.7353 GB, free: 15.61 MB / 0.7136 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.0007218/0.02394, allocations: 488.2 kB / 0.7357 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.02398, allocations: 8.75 kB / 0.7357 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.226e-05/0.02403, allocations: 16.92 kB / 0.7358 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/0.02421, allocations: 171.1 kB / 0.7359 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.082e-05/0.02424, allocations: 16.55 kB / 0.7359 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.897e-05/0.02427, allocations: 20.47 kB / 0.736 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.857e-05/0.02437, allocations: 70.8 kB / 0.736 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.02438, allocations: 3.938 kB / 0.736 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.02439, allocations: 4 kB / 0.736 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.0244, allocations: 5.031 kB / 0.736 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.54e-05/0.02444, allocations: 30.3 kB / 0.7361 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000444/0.02488, allocations: 276.8 kB / 0.7363 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.781e-05/0.02497, allocations: 55.7 kB / 0.7364 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.45e-05/0.025, allocations: 16.86 kB / 0.7364 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.02501, allocations: 8.891 kB / 0.7364 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.22e-05/0.02511, allocations: 71.36 kB / 0.7365 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.322e-06/0.02511, allocations: 0.75 kB / 0.7365 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0001488/0.02526, allocations: 93.59 kB / 0.7366 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.02529, allocations: 60.02 kB / 0.7366 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.02544, allocations: 185.1 kB / 0.7368 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.02546, allocations: 34.45 kB / 0.7368 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.003059/0.02852, allocations: 108.5 kB / 0.7369 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.729e-05/0.02855, allocations: 45.17 kB / 0.737 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.828e-05/0.02861, allocations: 53.66 kB / 0.737 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.021e-05/0.02869, allocations: 330.7 kB / 0.7373 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.103e-05/0.02872, allocations: 8 kB / 0.7374 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.02889, allocations: 233.6 kB / 0.7376 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.861e-05/0.02897, allocations: 87.86 kB / 0.7377 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.02898, allocations: 0 / 0.7377 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001342/0.02911, allocations: 109 kB / 0.7378 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.02912, allocations: 4 kB / 0.7378 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.02913, allocations: 8.203 kB / 0.7378 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.02914, allocations: 0 / 0.7378 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.074e-05/0.02923, allocations: 35.86 kB / 0.7378 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.02924, allocations: 4 kB / 0.7378 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.679e-05/0.02933, allocations: 21.38 kB / 0.7378 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.487e-06/0.02934, allocations: 8 kB / 0.7378 GB, free: 12.75 MB / 0.7136 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 7.778e-05/0.02942, allocations: 128.5 kB / 0.738 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.999e-05/0.02944, allocations: 17.02 kB / 0.738 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/0.02956, allocations: 93.56 kB / 0.7381 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.113e-06/0.02956, allocations: 1.094 kB / 0.7381 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.02956, allocations: 0 / 0.7381 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.02956, allocations: 0 / 0.7381 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000277/0.02984, allocations: 300 kB / 0.7384 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.02984, allocations: 0 / 0.7384 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.529e-05/0.02987, allocations: 8 kB / 0.7384 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.758e-05/0.02989, allocations: 15.89 kB / 0.7384 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.145e-06/0.0299, allocations: 6.75 kB / 0.7384 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.02991, allocations: 8.047 kB / 0.7384 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.02991, allocations: 7.875 kB / 0.7384 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.02991, allocations: 3.984 kB / 0.7384 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001784/0.03009, allocations: 171.5 kB / 0.7386 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.03011, allocations: 4 kB / 0.7386 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.633e-05/0.03017, allocations: 10.11 kB / 0.7386 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.363e-05/0.03022, allocations: 19.91 kB / 0.7386 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.03023, allocations: 4 kB / 0.7386 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.518e-05/0.03028, allocations: 49.86 kB / 0.7387 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.03028, allocations: 4 kB / 0.7387 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002318/0.03051, allocations: 39.92 kB / 0.7387 GB, free: 11.83 MB / 0.7136 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.0003289/0.03084, allocations: 176.4 kB / 0.7389 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001227/0.03096, allocations: 62.28 kB / 0.7389 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/0.03097, allocations: 4 kB / 0.7389 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.608e-05/0.03102, allocations: 49.83 kB / 0.739 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.03134, allocations: 336.5 kB / 0.7393 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003587/0.03493, allocations: 290.4 kB / 0.7396 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.638e-05/0.03497, allocations: 71.98 kB / 0.7396 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.369e-05/0.03503, allocations: 22.75 kB / 0.7397 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/0.03519, allocations: 105.3 kB / 0.7398 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of SimCode: time 7.91e-07/0.03519, allocations: 1.125 kB / 0.7398 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of Templates: time 0.008993/0.04418, allocations: 3.677 MB / 0.7434 GB, free: 7.195 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter/Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.9182422095909715]